Skip to content
Commit 9b1ac989 authored by Andriy Gelman's avatar Andriy Gelman Committed by Benjamin Cabé
Browse files

drivers: spi_xmc4xxx: Add delay when changing clock polarity



The passive level of the clock does not change instanteneously when
it's set using function XMC_SPI_CH_ConfigureShiftClockOutput().
This means that the passive level of the clock can be in the wrong
state when the chip select goes low.

Fix this by adding a small delay when the polarity changes to allow
the clock to return to the proper level.

Signed-off-by: default avatarAndriy Gelman <andriy.gelman@gmail.com>
parent 5ae9f448
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment