cancel
Showing results for 
Search instead for 
Did you mean: 

ST67W61 SPI communication for AT command protocol

jiwony_pitchlab
Visitor

 

Hello, I write this post because I have a question while using the ST67W61 chip.

 

First,

I tested soft-AP function with a NUCLEO-H563ZI board and an X-NUCLEO-67W61M1 board.

I used sdk example project ST67W6X_CLI of x-cube-st67w61-v1.0.0.

It worked well.

 

And then,

I tested AT command with a NUCLEO-H723ZG board and an X-NUCLEO-67W61M1 board.

I received some report. -- ①

MOSI : 0x00  0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  0x00 0x00 0x00 0x00 0x00

MISO : 0xAA 0x55 0x09 0x00 0x00 0x00 0x00 0x00 0x0D 0x0A 0x72 0x65 0x61 0x64 0x79 0x0D 0x0A 0x00 0x00

I understood this report as ready st67 chip.

and,

I sent AT command.

MOSI : 0x41 0x54 0x0D 0x0A 0x00 0x00 0x00 0x00 0x00  0x00  0x00  0x00

MISO : 0xAA 0x55 0x00 0x00 0x00 0x00 0x00 0x00 0xDD 0xCC 0xBB 0xAA

after I send this AT command, there was no longer report from st67 chip.

 

so, I checked SPI signal with NUCLEO-H563ZI and X-NUCLEO-67W61M1, sdk.

First, it received same ① report.

 

and, 563ZI sent AT command.

MOSI : 0x8A 0x55 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x41  0x00  0x0C  0x0A

MISO : 0xAA 0x55 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0xDD 0xCC 0xBB 0xAA

 

and, received

MOSI : 0x8A 0x40 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  0x00 0x00 0x00 0x00 0x00 0x00

MISO : 0xAA 0x55 0x00 0x00 0x00 0x00 0x00 0x00 0x0D 0x0A 0x4F 0x4B 0x0D 0x0A 0x00 0x00

 

I couldn't understand this communication protocol, and I couldn't find docs about this protocol.

I was wondering why the master board sent 0x8A 0x55 and why there was 0x8A 0x40 when I received the data from the slave.

 

Thank you.

 

0 REPLIES 0