2020-07-02 01:49 PM
When I used buffers between CPU and SPI peripherals I got problems. There were no Pull-ups.
Bare GPIO pins with pull ups work. So do SPI pins float between transfers?
CPU happens to be STM32H750/STM32F746 if it matters.
2020-07-02 02:05 PM
Yes, if you switch SPI off by clearing SPI_CR1.SPE.
JW
2020-07-02 02:55 PM
If I use hal, I wonder what happens after each HAL_SPI_Transmit or HAL_SPI_TransmitReceive
2020-07-02 03:04 PM
Cube/HAL is open source, you can/should look it up yourself.
JW
2020-07-02 03:23 PM
SPI pins floating is typically not a problem since they are ignored when CS is inactive.
HAL disables the peripheral between transfers. But as jan said, no need to wonder, it's easy to check stuff like that.
You could enable pullups/downs if you don't want them to float.