AnsweredAssumed Answered

How to detect end of SPI transmission?

Question asked by Toby on Dec 20, 2017
Latest reply on Dec 21, 2017 by Toby

STM32F030.

 

I am transmitting multiple words via spi to some shift registers and need to latch the shift registers when the transmission of the last word is finished. The latch signal is GPIO. Device is master.

I don't want to block or poll for SPI busy.

 

The only way I can think to do this is to to use duplex and count (and discard) the receive bytes. Is there a better way?

 

TIA.

Toby

Outcomes