Question
How to detect end of SPI transmission?
Posted on December 20, 2017 at 13:27
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
#stm32f030-spi #transmission #spi