Skip to main content
MSimm.15
Visitor II
Mar 31, 2021 6:23 PM UTC
Solved

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?

..

This topic has been closed for replies.
Kurtnelle
KurtnelleBest answer
Associate II
Apr 6, 2021 5:18 AM UTC

"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.

3 replies

Kurtnelle
KurtnelleBest answer
Associate II
Apr 6, 2021 5:18 AM UTC

"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
Apr 6, 2021 10:40 AM UTC

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
Apr 16, 2021 10:19 AM UTC

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