SPRUJ79A November 2024 – December 2025 F29H850TU , F29H859TU-Q1
FILE: led_ex3_blinky_cpu1_cpu3_multi_ra_c29x1.c
This example demonstrates how to blink a LED using CPU1 and blink another LED using CPU3 (led_ex3_blinky_cpu1_cpu3_multi_ra_c29x3.c).
The Resources i.e. GPIOs are assigned to CPU1 and CPU3 in the led_ex3_blinky_cpu1_cpu3_multi_ra.syscfg file. This generates a resourceAllocation.json file at led_ex3_blinky_cpu1_cpu3_multi_ra/RA/syscfg folder. The individual CPU specific syscfg file further configures its pre-allocated GPIO. The individual CPU projects can be built independent of each other.
When using CCS for debugging this Multi-core example, after launching the debug session,
When importing the Project in CCS 20.3.0, do verify if the Resource allocation specific flags are set. If not, update the Project Properties -> Build -> Tools -> SysConfig -> Miscellaneous -> Other flags to include the appropriate flag. For projects having the .syscfg file in "Define Resource Allocations" mode, add the following flag: enableResourceAllocationSetup For CPUx projects having .syscfg files in "Configure using Predefined
Resource Allocations" mode, add the following flag: resourceAllocation <path to resourceAllocation.json file> for example, resourceAllocation ....\led_ex3_blinky_cpu1_cpu3_multi_ra\RA\syscfg\resourceAllocation.json
External Connections
Watch Variables