mke04 Reset signal

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

mke04 Reset signal

3,012 次查看
MaxWood
Contributor I

Hello everyone,
I would like to start using a controller from the mke04 series in my projects but I encounter a problem when I turn it on:
the Reset pin keeps changing from 1 to 0 quickly (about every 120µS).
The Reset pin is simply connected to a 10k pullup resistor..
What am I doing wrong?

 

标记 (1)
0 项奖励
回复
12 回复数

2,747 次查看
MaxWood
Contributor I

Hi Celeste_Liu,
I have lost all hope of using this micro.. I have checked everything but I can't find anything wrong (also because there are only two power pins and two ground pins).
At this point I hypothesize two possible reasons: either both components that I purchased from Mouser are part of a defective batch or the reset behavior is regular because waiting for a first connection with USBDM...

0 项奖励
回复

2,861 次查看
MaxWood
Contributor I

Hi Celeste Liu
the reset keeps changing state as soon as I power the mcu with a perfectly clean stable power... without connecting the SWD port of the USBDM.
Could it be that, since the mcu are new, this happens while waiting for a connection with the SWD port?

0 项奖励
回复

2,755 次查看
Celeste_Liu
NXP Employee
NXP Employee

We also have EMC Design Tips for Kinetis E Family  for your reference. 

0 项奖励
回复

2,855 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hi MaxWood,

Could it be that, since the mcu are new, this happens while waiting for a connection with the SWD port?

-> I don't think this is the case. 

0 项奖励
回复

2,878 次查看
MaxWood
Contributor I

Hi Celeste_Liu,
first of all thank you for your availability..
The Reset pin is connected via the 10K resistor R2 to pin 1 which is connected to +5 and in fact pin 9 is connected to ground because it appears to me to be connected to ground on the USBDM circuit.
The problem is that the Reset continues to change level as soon as I power the micro, without any software loaded as I have used new devices and have never been able to program them. Unfortunately I really don't know what to do as I have tried two new printed circuit boards and two new mcu just purchased (2 from Digikey and 2 from Mouser).
The interesting thing is that, the reset pin changes state in a coherent cyclic manner (about every 220mS) as if there was something inside the micro that intervened cyclically. I had thought about the intervention of the LVD device but it doesn't make sense because the supply voltage on the relative pins is exactly 5.05 V...

0 项奖励
回复

2,865 次查看
Celeste_Liu
NXP Employee
NXP Employee

According to your description, I think it's a hardware problem. Considering reliability, I still recommend that the reset_b use a separate pull-up power, instead of sharing the pull-up power supply with the SWD_DIO. This may bring about some stability issues. When the SWD is communicating, it may cause power fluctuations. If the pull-up is shared, it might lead to an unexpected reset.

0 项奖励
回复

2,980 次查看
MaxWood
Contributor I

Thanks Celeste,
I discovered a broken reset capacitor and replaced it!
Now it works..
Thanks a lot

0 项奖励
回复

2,968 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello,

You are very welcome, glad to help! Any new issues, welcome to create the new post.

BRs,

Celeste

0 项奖励
回复

2,994 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @MaxWood ,

Thanks for your post. The standard practice for the RESET Pin is to use a 0.1uF cap along with a 10K pull-up resistor. Just like the following picture.

Celeste_Liu_0-1743587793850.png

Please try again to see if the problem will still occur after adding the cap.

 

BRs,

Celeste

-----------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
-----------------------------------------------------------------------------------------------------------------

0 项奖励
回复

2,931 次查看
MaxWood
Contributor I

Good morning everyone,
here I am again with my usual problem: Reset signal of the MKE04Z128.
I thought I had solved it by replacing the capacitor but I was wrong...
My circuit does not want to work. The Reset pin continues to go from 5V to 0 remaining at an average value of 2.6V and therefore I cannot use the mcu.
I think I connected everything correctly, I also replaced the microcontroller with a new one and on another printed circuit board but the result does not change. I attach the diagram relating to my project so maybe you can understand better.
Can someone please help me?
Thanks in advance, greetings to everyone

0 项奖励
回复

2,902 次查看
Celeste_Liu
NXP Employee
NXP Employee

And please double check your schematic about SWD part. I have doubts about the two yellow marked parts below and think they need to be modified. First, the RESET_pin should not be connected to pin1 of the SWD. Second, pin9 of the SWD should not be grounded. 

Celeste_Liu_0-1744108672954.png

You can refer to the schematic of our FRDM-KE04. The schematic will be attached.

Celeste_Liu_1-1744108934082.png

Have a nice day.

0 项奖励
回复

2,905 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @MaxWood ,

I'm sorry to hear that. You mean that abnormal resets occur without pressing the reset pin. Does this happen after power  on or during program execution? If it occurs during program execution, it might be a software issue. Please refer to section "6.2.2 System reset sources" in the RM, and check them one by one(from 6.2.2.1 External pin reset (RESET) to 6.2.2.8 MDM-AP system reset request).

Celeste_Liu_0-1744107608536.png

Hope it can help you.

BRs,

Celeste

0 项奖励
回复