S32K312 PLL_LOL Problem

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

S32K312 PLL_LOL Problem

跳至解决方案
1,172 次查看
zhengjianfei1
Contributor III

Hi NXP,

    We found S32K312 will reset while  doing (ESD)Air discharge ±15kV test. And we found reset reason is PLL_LOL. Then we use NXP S32K312EVB-Q172 to do the same test, it will reset too.

   We try to change GM_SET register to improve crystal diver strength,but it has no improvement. And we try to set DCMRWP3[9] to 1, S32K will not reset when PLL_LOL,but mcu will stop, only reset can recover it.

   We need S32K3 keep running while the ESD test. Can cpu clock switch to FIRC while PLL_LOL? Could you give me some suggestions,Thanks!

0 项奖励
1 解答
1,121 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

What do you mean by higher-power oscillator?

Did you disable the automatic level controller (FXOSC_CTRL[ALC_D] = 0)?

 

BR, Daniel

在原帖中查看解决方案

0 项奖励
4 回复数
1,155 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @zhengjianfei1,

Are you sure the FXOSC is that cause of the PLL Loss of Lock? Do you have the FXOSC clock monitor enabled?

It could be just the PLL. Is the lastmile regulator enabled?

You could try to change the system clock back to FIRC within the interrupt.

MUX_0_CSC[SAFE_SW] = 1

 

Regards,

Daniel

 

 

 

0 项奖励
1,136 次查看
zhengjianfei1
Contributor III

Hi @danielmartynek ,

  Thanks for your reply. CMU is disable and I am sure the reset reason is PLL Loss of Lock. When PLL LOL,MCU will reset. When set DCMRWP3[9] to 1, mcu will not reset while PLL LOL but mcu will stop running. Thus we cannot change the system clock back to FIRC when PLL LOL. We try to replace the Crystal Oscillator with a higher-power one, it seems better.

0 项奖励
1,122 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

What do you mean by higher-power oscillator?

Did you disable the automatic level controller (FXOSC_CTRL[ALC_D] = 0)?

 

BR, Daniel

0 项奖励
1,102 次查看
zhengjianfei1
Contributor III

Hi Daniel,

    Thanks,disable automatic level controller can slove this problem.