Good day,
I have seen a few people asking about connecting the Nordic devices with the RFM95/Sx1276 modules. I understand that it is SPI driven, but I am a complete novice at this (moved recently from Arduino - to have access to the bigger ram and more powerful processors).
I had a look at the SPI example, and it shows how to write to an SPI device with a text string using nrf_drv_spi_transfer(). This, however, requires a Tx and an Rx buffer. Can you please explain why that is? Is it necessary to have both buffers? Or is there an SPI function I can call to send and receive separately? Furthermore, the documentation on the RFM95 module indicates that there are three access modes namely SIngle, Burst and FIFO. This seems to be controlled by the NSS pin ( how long it is high or low). How do you control this? Is there an easy way to implement the different modes mentioned previously?
My question is: is there someone who can help me with an example of how to set/read a register using SPI? and if I'm lucky maybe send data?? Or is someone managed to implement this for the RFM95/Sx1278 or maybe help me to understand how to port the code from the RAK813 (which I believe has the two modules in one package)?
Thank you for your time and any assistance in helping me start my journey in the embedded C programming world
Much appreciated,
Darius