S32144-LOC

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

S32144-LOC

跳至解决方案
703 次查看
Junkie
Contributor I

May I ask if the S32K144 software does not operate properly and triggers SOSCERR to be set when the SOSC clock monitor is turned on? I tried entering (all) low power modes after turning on the clock monitor, and I can see that SOSC becomes invalid (SOSCVLD=0) but no SOSCERR is generated.

0 项奖励
1 解答
661 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Well, I can't see simple way how to inject this error by software. As you mentioned, for test purposes such error is usually injected by shorting of OSC circuit in hardware.

Regards,

Lukas

在原帖中查看解决方案

0 项奖励
4 回复数
671 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I'm not sure if I can understand the question but clock monitors should not be used in low power modes:

lukaszadrapa_0-1660033659856.png

Regards,

Lukas

0 项奖励
666 次查看
Junkie
Contributor I

Yes, it is mentioned in the reference manual that SOSC monitor cannot be used in low power mode. But my purpose is to cause a LOC error to reset the MCU, I caused the LOC error by shorting the external SOSC crystal to ground, but is there a way to use software? I've tried going into low power mode to cause the LOC error but it doesn't work.

0 项奖励
662 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Well, I can't see simple way how to inject this error by software. As you mentioned, for test purposes such error is usually injected by shorting of OSC circuit in hardware.

Regards,

Lukas

0 项奖励
596 次查看
Junkie
Contributor I
OK, thank you very much.
0 项奖励