Closed Akira25 closed 1 month ago
From the description and the debug output, the SX1268 is behaving very strange. It seems to be randomly triggering frequency synthesis and Tx modes even before startTransmit
gets called, and after that, it gets stuck at command execution failure. The -2 error code can be returned by startTransmit
only if the SPI starts returning 0xFF or 0x00.
Comparing your pinout and schematic, you seem to have swapped DIO1 and BUSY pin, so I would start by fixing that.
Closed due to inactivity.
General symptoms
We are using an SX1268-based radio module by EBYTE (E22 400M33S) on a ESP32-S3 development board (own PCB). When adjusting the PingPong Sketch to our setup, the Module will fail to send LoRa-Packets.
The log states, there would have been transmitted a packet once (which we weren't able to capture on another radio). After that, every other try will result in transmission failure code
-2
. After some tries, the ESP32 will crash. This happens in arbitrary amount of time.When enabling the SPI-Debugging, the Programm seems to get stuck on a position before sending the packet.
We would highly appreciate any hints in how we could resolve this issue.
Sketch that is causing the module fail
Hardware setup
Please refer to the pdf-schematic attached below.
Debug mode output
This is debug output with
-DRADIOLIB_DEBUG_BASIC=1
and-DRADIOLIB_DEBUG_PROTOCOL=1
enabled.This one shows all three enabled:
Additional info (please complete):
output.pdf