Hi,
In the documentation for the nPM1100, in the section "Charging indication (CHG) and charging error indication (ERR)", there is a schematic for connecting ERR/CHG to LEDs, and there's a schematic for connecting to GPIO:


However, if you want a combination of the two (connected to LEDs AND to a host), it says:
"To configure both LED indication and connection to a host, the GPIO input voltage range tolerance must be met, or an external circuit may be required. See Reference circuitry."
However, the reference circuitry does not include an example of this at all. All reference circuitry uses a LED-only setup. I also downloaded the zip with reference circuitry but it's the same 3 LED-only examples.
For me this part is missing some details, and raises some questions. What would the circuit look like? What is the voltage of ERR/CHG?
Is there an example of how to connect ERR and CHG to LEDS AND to an external microcontroller at the same time?
Thank you!