Good morning
I use the SPI0, without any interrupt, I have this effect.
It will never go out of the while loop, even after a clear.
Is there an explanation ????
DSPI_HAL_ClearStatusFlag( baseAddr, kDspiRxFifoDrainRequest );
while( DSPI_HAL_GetStatusFlag( baseAddr, kDspiRxFifoDrainRequest ) )
{
uint32_t b = DSPI_HAL_ReadData( baseAddr );
}
Thank You
Pietro