TIDUEZ4 May 2021
Two TPS22919 load switches are used as battery gauge as shown in Figure 2-22.
CC1352R MCU measures the battery voltage at regular intervals by enabling the VBAT_Meas switch. A resistor divider attenuates the battery voltage to match the input range of the ADC in the CC1352R MCU. CC1352R SW displays this sampled battery voltage on the UART terminal (pin 3 and 4 on the LaunchPad). This can be used to estimate remaining battery life in the SW. Once the measurement is complete, the load switch disconnects the resistor divider from the battery output for longer battery life.