4 Detailed Operation

When the HLVD module is enabled, a comparator inside the HLVD module uses an internally generated voltage reference as the set point. The set point is compared with the trip point, where each node in the resistor divider represents a trip point voltage. The trip point voltage is the voltage level at which the device detects a high or low voltage event, depending on the configuration of the module. When the supply voltage is equal to the trip point, the voltage tapped from the resistor array is equal to the internal reference voltage generated by the voltage reference module. The comparator then generates an interrupt signal by setting the HLVDIF bit. The trip point voltage is software programmable to any of the 16 values. The trip point is selected by programming the SEL bits.

Table 4-1. HLVD Trip Point Settings
Sr. No.HLVDSELTrip Point Voltage (V)
Min.Typ.Max.
1HLVDSEL=b’0000’1.811.901.90
2HLVDSEL=b’0001’2.002.102.12
3HLVDSEL=b’0010’2.202.252.33
4HLVDSEL=b’0011’2.402.502.54
5HLVDSEL=b’0100’2.502.602.65
6HLVDSEL=b’0101’2.702.752.86
7HLVDSEL=b’0110’2.802.902.97
8HLVDSEL=b’0111’3.003.153.18
9HLVDSEL=b’1000’3.303.353.50
10HLVDSEL=b’1001’3.503.603.71
11HLVDSEL=b’1010’3.603.753.82
12HLVDSEL=b’1011’3.804.004.03
13HLVDSEL=b’1100’4.004.204.24
14HLVDSEL=b’1101’4.204.354.45
15HLVDSEL=b’1110’4.504.654.77
Note: Refer to the device data sheet for the typical Trip Point Voltage (V) settings and to the MPLAB® Code Configurator (MCC) configuration GUI of the HLVD peripheral for minimum and maximum Trip Point Voltage (V) settings.