S32K146 Low Voltage Detect

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K146 Low Voltage Detect

Jump to solution
768 Views
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 Kudos
1 Solution
687 Views
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

View solution in original post

2 Replies
688 Views
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

687 Views
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 Kudos