This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DMA



请问static void spiParseRx(void)里面spiRxBuf[ ]数据是怎么得到的?

数据已经接收到UxDBUF然后DMA才从 UxDBUF把数据取出来吗?但是数据又是怎么接收到UxDBUF的呢

  • lily,

    如果是DMA,那么就像你说的,DMA控制器会自动把数据从UART 的fifo UxDBUF 中搬到你指定的内存空间里面去。

    至于UxDBUF 里面的数据,那是UART硬件,RX,自动收数据的时候往里面填的。