cancel
Showing results for 
Search instead for 
Did you mean: 

SPI RXFIFO - Debugging

mikemillernow
Associate II
Posted on April 01, 2014 at 00:37

The original post was too long to process during our migration. Please click on the attachment to read the original post.
This discussion is locked. Please start a new topic to ask your question.
10 REPLIES 10
stm322399
Senior
Posted on April 01, 2014 at 20:24

one way to do that is:

#define SPI1_RXDR8  *((unsigned char*)&SPI1->DR)

Then

        received[0] = SPI1_RXDR8;                  

        received[1] = SPI1_RXDR8;                  

        received[2] = SPI1_RXDR8;                

        received[3] = SPI1_RXDR8;

etc ...