Files
klipper/src/stm32
Kevin O'Connor 99d55185a2 stm32: Wait for transmission to complete before returning from spi_transfer()
It's possible for the SCLK pin to still be updating even after the
last byte of data has been read from the receive pin.  (In particular
in spi mode 0 and 1.)  Exiting early from spi_transfer() in this case
could result in the CS pin being raised before the final updates to
SCLK pin.

Add an additional wait at the end of spi_transfer() to avoid this
issue.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-10 17:27:55 -05:00
..
2021-04-07 13:06:13 -04:00
2021-12-30 12:18:05 -05:00
2019-11-02 11:35:27 -04:00
2021-12-30 12:18:05 -05:00
2021-12-30 12:18:05 -05:00
2021-12-24 19:27:04 -05:00
2021-12-30 12:18:05 -05:00
2021-12-30 12:18:05 -05:00
2021-12-30 12:18:05 -05:00
2021-12-30 12:18:05 -05:00
2021-12-23 22:15:26 -05:00
2021-11-21 08:12:32 -05:00