I’ve been adding the LN151 to the current LoRaMac-node codebase, mostly so I can get AU915 working.
It’s ~working, at least in ABP mode, but I have encountered a few issues:
In the example code for the STM32CubeIDE, that uses a variation of a forked version of the LoRaMac-node codebase, the NSS pin is not used (it passes NC aka Not Connected). The LN151 pinout diagram says it is connected (to PA4) but when I pass in PA4…it fails to initialise the module (sits waiting for RESET forever? I really need an oscilloscope).
Timers and low-power mode. I’m still working on this, it seems to never really sleep right now which is a bit of an issue for duty-cycle compliance. Next thing to fix.
a. Has anyone got the NSS pin working?
b. Are all the DIO pins really connected too?
c. Is the User button connected to a pin? Which one?