lpcware

HELP SPI

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by marcos_naut on Wed Nov 07 04:35:14 MST 2012
I need clear the SPI's buffer i used soft bellowbut not clear full???

for ( i = 0; i < FIFOSIZE; i++ )
{
  Dummy = LPC_SSP1->DR;/* clear the RxFIFO */
}

Outcomes