I have had several issues getting the MicroMod LoRa function board to start. I feel like I’m doing something obviously wrong because the example peer-to-peer code provided in the hookup guide (1W LoRa MicroMod Function Board Hookup Guide - SparkFun Learn) will not compile on 2 of the 3 processors I’ve tried:
ESP32: Compilation error: ‘PIN_SPI_SS’ was not declared in this scope
SAMD51: Compilation error: ‘PIN_SPI_SS’ was not declared in this scope
Teensy: Example code compiles
After researching the error I tried manually adding the SPI.h library to the sketch with no luck. I then manually defined the PIN_SPI_SS value for the ESP32 and SAMD51, trying both pins 5 and 10. After fixing the compilation error, the serial console throws the same error across all 3 boards:
[SX1278] Initializing … failed, code -2
After this I tried the RadioLib SX127x examples. They examples would compile but I’m still getting a -2 error code.
I even went as far as to try a fresh install of the Arduino IDE just to eliminate any library conflicts, but at this point I’ve exhausted my troubleshooting steps and would appreciate any help.
Edit: I am using the Single function MicroMod Main Board