LowPowerLab Forum

Hardware support => Moteino => Topic started by: MLH on January 15, 2018, 10:20:20 PM

Title: SPI activity during serial RX
Post by: MLH on January 15, 2018, 10:20:20 PM
I'm curious as to activity on SPI pins 10,11,12 & 13 during over the air RX of serial data on a LoRa Moteino.  I have a fair amount of non-Moteino LoRa module experience and don't understand why the need for refreshing the registers in the absence of a power reset.

Mike   
Title: Re: SPI activity during serial RX
Post by: Felix on January 16, 2018, 11:45:00 AM
It will be library specific. SPI is used to interact with the module at various times. In packet mode data will be buffered in the module then RX flags are raised to inform the MCU of the receipt.
I am not entirely familiar with the way RadioHead does that though, if that's the lib you're using.

Quote from: MLH on January 15, 2018, 10:20:20 PM
why the need for refreshing the registers in the absence of a power reset.

Can you expand on this? And in what context/library is this?
Title: Re: SPI activity during serial RX
Post by: MLH on January 16, 2018, 02:00:44 PM
Felix,

Thanks for the explanation.  I mistakenly thought that the SPI interface was exclusively used for initial configuration of the LoRa registers and not for other ongoing functions. 

My reason for investigating the SPI bus was to sort out an issue with a LoRa Mega for which I will create a separate post.

Mike