Hi, I am puzzled by the example.
Is there anyone who can expain it? Here are my questions:
First, how can an interrupt occur when we just loop here? As is shown in the second question, data is sent in the interrupt function and I think nothing has been done in the loop. I am a little confused about SPI interrupt in FIFO mode.
Second, why the data is written to SPITXBUF rather than TXFIFO? Or how can I write data to TXFIFO?
Thanks in advance.