Tool/software: Code Composer Studio
Hi,
I am working on a project wherein, I need to use both cores of the MCU. I am having few doubts regarding the programming. Please correct me If I am wrong.
- All the Initialization needs to be done by core 1 only.
- If I am using a peripheral in Core -2 then, I have to use "GPIO_setMasterCore" API to that Pin number to specify the core.
- If using Both Cores, I have to specify "GPIO_setMasterCore" for all the IO's on Core 1 and Core 2 or only for Core 2 IO's/Peripherals?
- Both CPU's Have Timer 0, 1, & 2. And If All the initialization needs to be done in core 1 then, How will I differentiate Between Core 1 and Core 2 Timers? Or CPU 2 timers initialization needs to be done in core 2 only?
Regards
Vishal