I am running AT-Commands over SPI on the DA16600 module. Some of the AT-Commands don't work.
AT+WFMODE=0, AT+WFSTA, AT+WFSCAN and other network related commands do not work.
I am sending;
AT+VER, AT+TMRFNOINIT=0, AT+WFSCAN, AT+WFMODE=0 and, AT+WFSTA [in order]. I have enabled 'DEBUG_ATCMD' from the SDK and this is the output I see,
There is no AT-Command executed after AT+TMRFNOINIT=0.
For AT+TMRFNOINIT=0 and rest, the response from buffer is overlapping the header message sent by the main MCU [refer the logic analyzer output].
What is going on here? how to fix this?
I have attached the logic analyzer file containing SPI signals for each command. [they are shown in order]
spi at command signal output.zip
Note: The modifications to the SDK are as per the documentations.
Hi There,Apologies for the delay.From the logic trace, we can see that the host is not reading the DA16200's response in time.Could you check if you are reading the response as soon as possible after the DA16200's SPI interrupt occrus?In the SDK, there is a 200ms timeout for reading the data from the host. If the MCU does not read the response from the DA16200 in time, it will be dropped.
This is described in section 3.2.2.3 Read Sequence and Structure from the UM-WI-003 DA16200 DA16600 Host Interface and AT Command User Manual (renesas.com)Best Regards,OV_Renesas
Hello,
previously, I made a mistake of assigning the SPI-interrupt to a non-IRQ pin on the main MCU [S7G2 in my case]. I made the hardware modifications and IRQ works as expected. But this AT-commands response issue persists.
I have attached the logic_trace and debug logs, please refer the same and advice on next steps.
F.Y.I. In the logic_trace, after 'AT+WFCC', I tried to send 'AT+WFMODE=0' and if we observe, there is no response from DA16600, the interrupt is not triggered.
Please give me an update on how to resolve this error.
The WiFi SDK firmware version: DA16200_DA16600_SDK_FreeRTOS_v3.2.8.1
Modifications to SDK: As suggested in the documentation [UM-WI-003], additional to this,
1. I have disabled all the examples
2. I have modified the pin_mux to fit our design
signal_trace and log.zip
Thank you.
Best Regards,
synd223
Hi Synd223,Thank you for the reply.I have escalated this to the Wi-Fi Support Team and I will get back to you as soon as possible.Note: For any other issues, please open/create a new ticket so we can follow up easier each issue separately.Best Regards,OV_Renesas