S32K146 Low Voltage Detect

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

S32K146 Low Voltage Detect

ソリューションへジャンプ
1,839件の閲覧回数
kun_wang
Contributor II

hi engineer

i do not find the demo about LVD in SDK. I donot know how to code to enable the LVD function.could you help me? thank you advance. 

0 件の賞賛
返信
1 解決策
1,758件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi kun.wang@nvrchina.com.cn,

It is not implemented in the SDK drivers.
If you just want to reset the MCU when VDD drops below the V_VLD threshold, you need to set the LVDRE bit.

pastedImage_1.png

pastedImage_3.png

If you need an interrupt instead of the reset.

A simple example is attached.

BR, Daniel

元の投稿で解決策を見る

2 返答(返信)
1,759件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi kun.wang@nvrchina.com.cn,

It is not implemented in the SDK drivers.
If you just want to reset the MCU when VDD drops below the V_VLD threshold, you need to set the LVDRE bit.

pastedImage_1.png

pastedImage_3.png

If you need an interrupt instead of the reset.

A simple example is attached.

BR, Daniel

1,758件の閲覧回数
kun_wang
Contributor II

thank you Daniel, it can work in my project.

i want use this function to store some important data in mcu flash.

0 件の賞賛
返信