AnsweredAssumed Answered

SPI read

Question asked by Pietro di Castri on Jun 19, 2015
Latest reply on Jun 23, 2015 by Pietro di Castri



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