SPI activity during serial RX

Started by MLH, January 15, 2018, 10:20:20 PM

MLH

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   

Felix

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?

MLH

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