Skip to main content
MSimm.15
Visitor II
March 31, 2021
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?

  • March 31, 2021
  • 3 replies
  • 942 views

..

This topic has been closed for replies.
Best answer by Kurtnelle

"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
April 6, 2021

"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
April 6, 2021

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
April 16, 2021

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