Hello Radek,
Thank you very much for the explanation and suggestions. Really in details, I do appreciate.
Here is what I can confirme:
1. We are using a chip S9ZVLA128, I checked the register for CPMUVREGCTL_VREG5VEN=1;
2. I have checked the register for CPMULVCTL_LVIE =1, but I didn't find how to "clear I bit in CCR register (macro EnableInterrupts)", please let me know how to do it if you think it is necessary to clear this register;
3. I can also confirm the LVI vector address is 0x00FE0104, which is the same as the datasheet specifies;
4. I have enabled the BATS module and used ADC to sample the internal channel for Vsup, my BATS interrupt can be triggered at Voltage level VLBI1 when Vsup is around 5.6V, which I could know the chip could work at that voltage level.
This is what I don't understand, please let me know if you have any suggestion:
1. I took a measurement on the Vsup, VDDA and VDDX pin of the chip:
when Vsup is around 6V, the VDDA and VDDX are 5.08V, which will not trigger the LVI;
when Vsup is 4.23V, the VDDA and VDDX are also 4.23V, which shall trigger the LVI but didn't;
But it is different according to what you tell me that "But around 6V at VSUP sounds reasonable. When you decrease VSUP at 4.23V, the voltage at VDDX will be already below low voltage reset value (around 3V). "
2. I am thinking the way to decrease the voltage on VDDA is not effective, so I short-circuit the VDDA with VSSA since those two pins are next to each other, but the LVI still didn't trigger, the toggle pin I put in the interrupt is not working. So could you please let me know if there is any other way you guys test the LVI?
Thank you,
Junxi