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.

RTI DMA MIBSPI RM48x

Hello all,

 

Do you know if it possible on the RM48x Hercules microcontroller to use the RTI to trigger the DMA that will trigger the MIBSPI?

I know that the MIBSPI can actually trigger the DMA so that the data to transmit is put in the Transfer group and the data received can be put in a buffer.

I know that the RTI can trigger the DMA.

But I don’t know if actually for instance every 1 ms the RTI trigger a DMA channel which can itself trigger the transmission of data through SPI?

If my question is not clear, please let me know.

Thank you for your help.

Best Regards,

  • Yes, if the SPI is in master mode. You can use a DMA channel that is triggered by the RTI to write to the SPI Transmit data register, SPIDAT0. That starts an SPI transfer. When the transfer is complete, the SPI RX_DMA_REQ can initiate another DMA channel to copy from the SPI Receive Buffer Register. If you need to transfer more than 16 bits, the process is more complicated, but can still be done.
  • I want to transfer an array of byte (for instance 100 bytes). Is it the same process for the MIBSPI? I see in your reply that it is for the SPI