Skip to content
Commit 081e2d5a authored by Francois Ramu's avatar Francois Ramu Committed by Maureen Helm
Browse files

drivers: spi: stm32 driver with dma checking spi busy status flag



Defines a function to control the spi busy state during DMA transfer.
After the DMA Tx, the spi might still have some data to Transmit.
The driver must wait for the SPI Tx before sending the next packet.
This is not required for the Rx part as the DMA Rx is already done.
Some mcus like stm32H7 have a TX complete bit, other must wait for the
TXE and BSY line.

Signed-off-by: default avatarFrancois Ramu <francois.ramu@st.com>
parent 0ec7af9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment