[MPC5748G][S32DS] FreeRTOS on 2nd Z4 core

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[MPC5748G][S32DS] FreeRTOS on 2nd Z4 core

Jump to solution
1,655 Views
travis_kuo
Contributor III

Hi,

I am using S32DS with SDk version S32_SDK_MPC574xx_RTM_1.0.0. Our HW platform is MPC5748G EVK.

If we use FreeRTOS component on 1st z4 core, there's no issue. However, if I use FreeRTOS component in 2nd z4 core and keep 1st z4 baremetal code, the OS tick on 2nd z4 core doesn't work at all.

Any comment about FreeRTOS support on 2nd z4 core of MPC5748G? Attached my code.

Or any multi-core FreeRTOS example available?

1 Solution
1,264 Views
travis_kuo
Contributor III

Already solved. For 2nd core, manually modify 

SDK\rtos\FreeRTOS_C55\Source\portable\GCC\PowerPC_Z4\cpu_defines.h

#define INTC_CPR_ADDR 0xFC040010
#define INTC_IACKR_PRC_ADDR 0xFC040020
#define INTC_EOIR_PRC_ADDR 0xFC040030

To

#define INTC_CPR_ADDR 0xFC040014
#define INTC_IACKR_PRC_ADDR 0xFC040024
#define INTC_EOIR_PRC_ADDR 0xFC040034

View solution in original post

1 Reply
1,265 Views
travis_kuo
Contributor III

Already solved. For 2nd core, manually modify 

SDK\rtos\FreeRTOS_C55\Source\portable\GCC\PowerPC_Z4\cpu_defines.h

#define INTC_CPR_ADDR 0xFC040010
#define INTC_IACKR_PRC_ADDR 0xFC040020
#define INTC_EOIR_PRC_ADDR 0xFC040030

To

#define INTC_CPR_ADDR 0xFC040014
#define INTC_IACKR_PRC_ADDR 0xFC040024
#define INTC_EOIR_PRC_ADDR 0xFC040034