SPRUJ79A November 2024 – December 2025 F29H850TU , F29H859TU-Q1
FILE: rtdma_ex1_basic_cpu1_cpu2_multi_c29x1.c
This example uses an RTDMA2 channel to transfer data from a buffer to another buffer in RAM. The example first disables Lock-step to use the RTDMA2 channels. RTDMA2 global settings and RTDMA2 MPU are configured by CPU1 application. The data to be transmitted is written by CPU1 application. This data is in an MPU region to which RTDMA2 channel has only read access.
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 linker cmd file is generated using the Memory Allocator tool in SysConfig.
When using CCS for debugging this Multi-core example, after launching the debug session,
In FLASH configuration, the CPU2 application code is loaded to CPU1 FLASH. At runtime, CPU1 copies it to RAM for CPU2 to execute.
External Connections
Watch Variables