Ezequiel Paolinelli

SPI doubt

Discussion created by Ezequiel Paolinelli on Apr 16, 2008
Latest reply on Apr 18, 2008 by Ezequiel Paolinelli
Hi I am trying to make an SPI interphase wihtout interrupts. When i send one byte I just check the SPSCR register until the flag SPRF goes high
 
WAIT:         BRCLR        #7,SPSCR,WAIT
 
At that moment I know that i sent one byte. Now, I want to know if I can do the same thing to wait for response. And in this case, I check the SPRF flag or the SPTE flag? I can´t tell the difference between them.
 
Thanks
 
 

Outcomes