Hi @Harry_Zhang,
Thank you for your reply. The header and payload are being sent and received, but while the header is received correctly, the payload appears to be corrupted. The CS and SCLK signals look fine.
According to the user manual:
During startup, the module toggles DRDY to indicate that it is awake and polling the SPI interface.
After detecting toggling on DRDY, the host asserts CS and enables SCLK.
The module detects SCLK, enables the SPI interface, and sends a +STARTUP message, indicating readiness for AT commands over SPI.
However, in my case, I do not see any toggling on the DRDY pin during boot. Instead, I directly pull CS low, send the packet (BA, 15, 00, 04, 01, 02, 03, 04), and read the response.
The received packet still shows a corrupted payload:
BA, 15, 0F, 4F, 55, 50, D2, A4, 73.
Additionally, I am sending and receiving data every second task. While the header format appears correct, the payload corruption persists.
Could you confirm if my approach is correct? Do I need to ensure the DRDY pin toggles before proceeding with SPI communication? Also, should I send some dummy data initially to enable SCLK before reading the packet to receive the +STARTUP message?
BR
Nithin