Everything works great using the libraries listed below except for one thing, when I use the RadioHead library and call
Code: Select all
RH_RF69::send(...)
My first thought was that it has to be related to interrupts but I was wondering if anyone had experienced this and had any quick fix suggestions before I dive into more debugging.
The source code hasn't changed and when I plug the radio into the old nano it still works without any hangs so I'm assuming it's an issue related to the RadioHead library or me messing up with interrupts.
Any insight or suggestions are appreciated, thanks.
Libraries/platforms in use:
- PlatformIO
- https://github.com/stm32duino/Arduino_Core_STM32
- https://github.com/mcauser/RadioHead
Pinout diagram: https://docs.zephyrproject.org/2.5.0/_i ... inout1.png
Edit: I tested on a blank project with just the bare-minimum calls and it is still hanging on only the Blackpill, it still works on the Nano with no issues. I am using PB1 (19) for the RFM 69's IRQ pin on the Blackpill.
Edit2: After fixing all the wiring it hangs indefinitely when trying to switch RFM69 into transmit mode, the while loop that waits for a mode change hangs in RH_RF69::setOpMode.