7 years, 6 months ago.

Using STM Nucleo with M4. Any way to stall SPI clock?

I am using the STM Nucleo 32F401RE to communicate with some hardware that has a two wire SPI interface. It takes a command and then some data, but the documentation states that it needs to stall the SPI clock line between changes of command and data. I am using the `HAL_SPI_Transmit` functions right now, and it's not working the way I assume it should.

I've checked all the connections and hooked up a Logic Analyzer and found that the data is being transmitted correctly, but the device is just not execting these commands due to the non stalling SPI clock.

Be the first to answer this question.