Interfacing the nrf52840 dk with wm1302 lora

I am currently working on a project that requires communication between the NRF52840 DK development board and the WM1302 LoRaWAN gateway module. To establish this connection, I have chosen to utilize the Serial Peripheral Interface (SPI) protocol.

While I have some experience with SPI communication, I am facing challenges in correctly configuring and establishing communication between the NRF52840 DK and the WM1302 module. I have consulted the available documentation, including the datasheets and application notes for both devices, but I am still encountering difficulties in implementing the necessary SPI settings and properly exchanging data.

I would greatly appreciate your assistance in resolving the following queries and concerns:

  1. What are the recommended SPI settings for the NRF52840 DK and WM1302 module when establishing communication between the two?
  2. Are there any specific software libraries or code examples available that demonstrate SPI communication between the NRF52840 DK and WM1302 module?
  3. What steps should I take to properly configure the NRF52840 DK and WM1302 module for SPI communication?
  4. Are there any known issues or troubleshooting tips related to SPI communication with these devices that I should be aware of?

Any guidance, technical documentation, code snippets, or reference materials that you could provide to help me successfully interface the NRF52840 DK with the WM1302 module via SPI would be immensely valuable.