cancel
Showing results for 
Search instead for 
Did you mean: 

ST67W611M1 wrong data received through SPI

Archer69964
Visitor

Dear all,

 

I'm trying to control ST67W611M1 wifi module by using a linux host chip. After flashing the newest firmware I reset the module to SPI mode. Some logs can be received through the uart interface and the SPY_RDY pin is drived to high level. But I just receive 0xAA 0x55 0x09 through SPI, it seems not a 'Ready' signal.

 

I am sure that the SPI is configured as requested, which is confirmed by using a oscilloscope. What should I do to solve this problem? Besides, That would be great if a linux-based SDK can be provided.

 

Thanks

1 REPLY 1
EPASZ.1
ST Employee

Hello,

each transaction with the NCP starts with: "magic" keyword 0xAA55, length of data to be transmitted (2 bytes) and 4 empty (reserved) bytes. If the length is non-zero, there should be a follow-up transaction with the specified length.

So, during the initialization, you will get 0xAA 0x55 0x09 0x00 (5x) - this means that the NCP is ready to transmit 9 bytes. The host needs to provide the clock for 9 additional bytes and receive the data from NCP, as in the screenshot below.

EPASZ1_0-1759217778838.png