Yesterday I spent half the night debugging why the SPI on my Black Pill (stm32f411) board behaved weirdly.
When checking with my oscilloscope I figured out that the MOSI line was set to high between bytes even with the mosi_idle_high feature enabled.
The solution was to set the phase in the Mode struct to CaptureOnSecondTransition.
Yesterday I spent half the night debugging why the SPI on my Black Pill (stm32f411) board behaved weirdly. When checking with my oscilloscope I figured out that the MOSI line was set to high between bytes even with the
mosi_idle_high
feature enabled.The solution was to set the
phase
in theMode
struct toCaptureOnSecondTransition
.This PR adds this information to the readme.