AnsweredAssumed Answered

SPI interrupt  BF592

Question asked by pbonneau on Jun 30, 2014
Latest reply on Aug 11, 2014 by VineethaThomas

I am using a BF592 and the interrupt flag is set immediately after I read the SPI0_RDBR.    The hardware reference manual says a read of the SPI0_RDBR starts the SPI transfer.

 

It seams that this flag (SPI0_STAT, RXS) should not be set immediately.

 

Here is my basic code:

register_handler(ik_ivg10, SPI0_ISR);
temp = *pSPI0_RDBR;    //read buffer register to start

I get an interrupt immediately after this instruct.

 

Thanks,

 

Paul

Outcomes