Can anyone help with low voltage detection for MPC5775B?
I need a sample code.
I wrote a code like this, but it doesn't work, what am I doing wrong?
How do you test it? This sequence seems to be correct.
Firstly, at what voltage range does LVD operate? Is it 5V, 1.2V, or 3.3V?
Secondly, the VLD_ISR function shown in the images I provided never seems to work. When we cut off the power to the board by connecting an oscilloscope probe to the PTF pin, we didn't see any voltage fluctuations on the PTF pin.
If you would cut the power, this would not cause LVD issue, but POR. What you enabling, it is core voltage LVD event, that is 1.2V supply rail. This could happen in case attached external 1.2 voltage goes below LVD limits what normally does not happen when core voltage is internally regulated.