RAKWireless / Evaluation_Boards

6 stars 3 forks source link

Radio Failed on RAK811 #3

Open mamanbudiman opened 4 years ago

mamanbudiman commented 4 years ago

I have tried the example program using AS923 frequency region. But, it is failed on Radio initialization. in the serial monitor, I see this message :

Starting LoRa...SPI Read ADDR: 42 DATA: 0 Failed Check your radio

Is there any other setup configuration to be done for the RAK811 module ? such as SPI pins map

The RAK811 module is worked properly using arduino-lmic library.

Regards,

RAKWireless commented 4 years ago

Hi,we have test arduino-lmic library and find some problems. It always fail to communicate with gateway. So we use a tinylora protocol now and plan to debug it later. If you can find the reason why fail in arduino-lmic library, we are happy to test and add it.

mamanbudiman commented 4 years ago

I have tested the arduino-lmic library, and it is OK. May be you forget to add this LMIC_setClockError(MAX_CLOCK_ERROR * 1 / 100);

after LMIC reset in setup

Regard,