Hi, I’ve been facing some issues with Wireless Stick Lite(V3) module in Zephyr (RTOS) ecosystem and I’m trying to find out what’s wrong. I’m trying to find some help here as maybe someone experienced something similar not necessarily on Zephyr, but perhaps using Arduino.
The problem is that whenever I use SPI frequency greater than 8MHz the module seems to behave unstable. E.g. I try to receive some data, and when my transmitter sends some data, the receiver indeed detects incoming transmission, raises an interrupt that is getting processed, but as soon as the library that processes interrupts (LoRa MAC Node) tries to clear interrupt flags by sending appropriate opcode, the next interrupt status read returns something that does not make sense, namely 0xFF00 interrupt status that does not correspond to something that would be reasonable. It happens only when I use SPI frequency higher than 8MHz. In theory it should work, as the SX126X is supposed to handle SPI frequency up to 16MHz. The ESP module does not issue commands towards SX126X too quickly as it uses busy pin every time it tries to read or write to SX126X registers.
Any idea what goes wrong here?
Perhaps somebody could verify if everything works correctly in Arduino ecosystem using SPI freq set to 10MHz or 16MHz?