![]() ![]() All weekend I was on this and still not resolved. I have done the Pin mapping below following the board branch shown here ’s%20manual.pdf:īut I still have the same error. Now it no longer puts \LMIC-Arduino\src\lmic\radio.c:689 but rather \MCCI_LoRaWAN_LMIC_library\src\lmic\oslmic.c:53. Sorry, that’s when I had the old version of LMIC. It has 54 digital input/output pins (of which 14 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. Or an Uno, which won’t have the space to run the LMIC but you can at least run the diagnostic library. The Arduino Mega 2560 is a microcontroller board based on the ATmega2560 (datasheet). If another SPI device won’t work, then I’d suspect the Mega or the other device. Arduino Mega 2560 is designed for your most ambitious projects which require additional pins and extra memory Based on the 8-bit AVR microcontroller ATmega2560. It that’s not able to talk to the radio I’d unplug the shield, try another SPI device to test that on the Mega and if that works, use jumper cables to link the shield to the Arduino. The thing to try after checking the pin matching when you plug it in if that doesn’t make it work is to scroll up this thread to the very top and use library to run some diagnostics. ![]() They are circled on the photo below, and marked GND on the board. ![]() The Arduino has an issue of some sort, it it’s broken On your Mega2560 are 5 ground pins (effectively equivalent because they are connected).The shield has an issue of some sort, ie it’s broken.The Mega 2560 has 16 analog inputs, each of which provide 10 bits of resolution (i.e. The shield is not plugged in quite right for the Mega - check that the pin numbers on the shield align with the pins on the Mega. See also the mapping Arduino Mega 2560 PIN diagram.Hmmmm, I wonder how you ended up with the older (deprecated) repro’s radio.c which you quoted above as it is the only one that has the assert on line 689.Īs this thread is getting rather protracted, the short version of your problem is that the code is requesting the version of the radio chip and not getting back the result it expects. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |