MPC 5744P MBD Toolbox: Microcontroler Reset

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

MPC 5744P MBD Toolbox: Microcontroler Reset

1,247 次查看
Ekaitz
Contributor II

Hello,

I was doing one model to the microcontroler MPC 5744 in simulink.

I nedd to reset the micocontroler so I was thinkig to do a MATLAB Function to comand the reset whith the instructions:

MC_ME.MCTL = 23280;
MC_ME.MCTL = 42255;

But I can't get it?

Can someone help me to doing the reset?

0 项奖励
回复
2 回复数

1,181 次查看
Aaliyah
Contributor I

Short the bottom two pins of the six-pin (2x3) header footprint just below the microcontroller in your picture. It’s in a white silkscreen outline.

 

 

 

Kabosucoin
0 项奖励
回复

1,228 次查看
mariuslucianand
NXP Employee
NXP Employee

Hello @Ekaitz ,

If you want to access registers in MBDT, then we have dedicated blocks for that, called Write_Register.

mariuslucianand_0-1620151238923.png

I never reset the MCU in this method. I wonder if you need to use the Watchdog timer.

Regards,

Marius

 

0 项奖励
回复