Need Help with Locking Core 0 and Running Only Core 1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Need Help with Locking Core 0 and Running Only Core 1

1,341 次查看
Santhoshraj
Contributor I

Hi,

I am currently working on a project using the GHS (Green Hills Software) compiler where Core 0 is active. I need to lock Core 0 to prevent it from executing while I initialize and run Core 1. but I’m not sure if I'm implementing it correctly. Can someone provide an example of how to properly start core 1, or point me to relevant documentation

Thank you!

0 项奖励
回复
3 回复数

1,303 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I need to lock Core 0 to prevent it from executing while I initialize and run Core 1.

All you need to do in put it into halt state.

To do so you can execute wait instruction:

 asm(" wait");

or

asm ("halt");

This will stop execution of instructions on core. This is commonly used in the idle task of OS.

For more details please refer to core reference manual of e200z7.

Best regards,

Peter

0 项奖励
回复

1,317 次查看
Santhoshraj
Contributor I

Hi,

MPC5777C (Evaluation broad )  e200z759n3 Core in GHS compiler

Thank you!

0 项奖励
回复

1,318 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

before I will give any advice, could you please share which device (uC) you are using?

Best regards,

Peter

0 项奖励
回复