SPRUJ79 November 2024 F29H850TU , F29H859TU-Q1
FILE: rtdma_ex2_mem_transfer_mpu.c
This example uses one RTDMA channel to transfer data from a buffer to another buffer in RAM. The example triggers the DMA channel repeatedly until the transfer of 16 bursts (where each burst is 4 8-bit words) has been completed. When the whole transfer is complete it will trigger the DMA interrupt.
The RTDMA1 MPU is enabled in this example to configure a predefined region that dictates read and write access to the transmit buffer and receive buffer. When a DMA channel attempts to access data at an illegal address, MPU outputs a security violation. Any faults in the interface are communicated to the Error Aggregator module which are sent to the Error Signaling Module (ESM) where the errors are latched and RTDMA access is blocked.
Configured Address Ranges: MPU Region Start Address - 0x200E0000 MPU Region End Address - 0x200E0FFF TxData Start Address - 0x200E0100 TxData End Address - 0x200E013F
RxData Start Address - 0x200E0FDC RxData End Address - 0x200E101B