I am currently designing a PCB based on the ESP32-C3, and I need help integrating a Li-ion cell for power management and controlling the Vext pin for switching between external and battery power. I am a bit unsure how to properly design the circuitry for:
1- Safely charging the Li-ion cell while using the ESP32-C3.
2- Managing power switching between the cell and an external power source (Vext control).
3- Monitoring cell State of Charge level to ensure proper power management.
Could anyone provide some guidance or examples on how to integrate the Li-ion charging circuit with the ESP32-C3 and manage the Vext control? Any help or references to similar designs would be much appreciated.