Example MPC5777C Single ELF multi-core Pin Toggling - S32DS Power v1.2

File uploaded by stanish Employee on Oct 11, 2017
Version 1Show Document
  • View in full screen mode

This Example demonstrates an alternative way to multi-core projects. This is basically a single eclipse project that generates the single elf file for dual core MCU (MPC5777C)

See the project structure below where the sources for each core are separated into a core specific source folder:

Main core0 [e200z7_0] performs basic initialization (Clocks, ports..)

Each core initializes the interrupt controller in order to service interrupts generated by PIT (Periodic Interrupt Timer):

Core 0 (e200z7_0) services PIT channel 0 interrupts generated once per second.

Core 1 (e200z7_1) services PIT channel 2 interrupts generated once per two seconds.

Outcomes