cancel
Showing results for 
Search instead for 
Did you mean: 

The powerStep01 command may return 1-3 byte. When the chips are daisy chained does this mean that only one chip may be commanded in the chain until the return bytes are sent from that chip?

MSimm.15
Associate
 
1 ACCEPTED SOLUTION

Accepted Solutions
Kurtnelle
Associate III

"Does this mean that only one chip may be commanded in the chain until the return bytes are sent from that chip?" - No. You can command every chip in the daisy chain, even if the command lengths are different.

View solution in original post

3 REPLIES 3
Kurtnelle
Associate III

"Does this mean that only one chip may be commanded in the chain until the return bytes are sent from that chip?" - No. You can command every chip in the daisy chain, even if the command lengths are different.

Dario CUCCHI
ST Employee

Hi @MSimm.15​ ,

In case of multiple data response, you have to shift the bytes  (for example 3 bytes) through the different devices connected to the daisy chain, until all the bytes are received by the master.

However, while you are shifting the required data (the 3 bytes) you can load new commands in the chain.

When the needed data is shifted out and the new command are in “the right position�?, the CS is raised and all the commands present in the chain are executed by the different devices.

You can check this application note: AN4290, describing some details about SPI communication of the POWERSTEP01.

Have a good day !

Dario CUCCHI
ST Employee

Hi @MSimm.15​ , did you managed to send multiple commands in the daisy chain ? Did it work ?