SPWF04S stops to receiving command after ''AT+S.WIFI=0'' in SPI mode
Hi,
We are trying to communicate with SPWF04S over SPI interface. We can send commands to set or get wifi configurations.
Problem just happens when we try to send 'AT+S.WIFI=0'. In SPI mode, this command will be converted to
'0x02, 0x00, 0x04, 0x32, 0x01, 0x01, 0x30'.
SPWF04S detected this command and return 2 packages:
The first is:
'0x02, 0x32, 0x00, 0x00, 0x00'
Second is:
'0x02, 0x12, 0x31, 0x01, 0x00'
The second package shows there is 1 byte payload can be read but the SPI_IRQ pin is no longer pull to low after the second package, so we can't read this byte. If we try to read, response looks random data.
Worse thing is, we tried send another commands after that, SPI_IRQ is always high and look like SPWF04S couldn't detect these commands and stops response. Reset the module is needed in this case.
'AT+S.WIFI=0' works fine in UART mode.
Our SPI configurations should be OK since all other commands look OK.
Thank for your help!
