MPC5744P Reset

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MPC5744P Reset

2,121件の閲覧回数
Menna
Contributor I

I am trying to do a soft reset using these lines 

MC_ME. MCTL.R = 0x00005AF0; */ writes the key

MC_ME. MCTL.R = 0x0000A50F; /* the inverted key is written */

But it takes around 26 seconds. Do you know why?

0 件の賞賛
返信
5 返答(返信)

2,110件の閲覧回数
Menna
Contributor I

Okay, am I using wrong registers? 

0 件の賞賛
返信

2,101件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

No the registers are correct.

petervlna_0-1666680699688.png

I would check if there isnt anything external connected on reset pin, to hold it active. Since it is EVB there should be no issue.

But once you enter they keys the reset will happen immediately.

I wonder how you measure the reset line.

Best regards,

Peter

 

0 件の賞賛
返信

2,098件の閲覧回数
Menna
Contributor I

I power a led and initiate the reset after 500 msec. The led turns on again after 26 secs, which means the reset is taking 26 secs. I can attach you the model I am using if you want to double check.

Thanks in advance. 

0 件の賞賛
返信

2,093件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I power a led and initiate the reset after 500 msec. The led turns on again after 26 secs, which means the reset is taking 26 secs

Well, not exactly. This means, your routine which controls pin connected to LED change its state in SW after 26sec.

If you want to know how long reset takes, then measure by oscilloscope reset line on microcontroller.

Best regards,

Peter

 

0 件の賞賛
返信

2,112件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

From your description of issue is not able to tell you why. I expect the issue in in your execution / measurement.

The reset is hardwired from ME module to RGM module. So once you enter mode change to enter reset, it will be executed within one clock.

Best regards,

Peter

0 件の賞賛
返信