Separated the charger programming path from output channel 1 by moving MCP73871 PROG1 onto dedicated resistor R8, while keeping channel output on R4.
Added optional USB-C power input using J2 with 5.1 kOhm CC pull-downs R6 and R7, plus input capacitors C11 and C12, and tied VIN_5V into charger U3.
Tied unused MCP73871 status/config pins on U3 to GND so they are no longer floating.
Cleaned net intent by creating output-side naming for channel 2 and preserving separate OUT1 and OUT2 current-limit paths through R4 and R5.
Defined the layout as an 80 mm x 80 mm rounded rectangle, set Standard 4 Layer stackup, and established baseline layout constraints including 0.15 mm minimum trace width, 0.2 mm keep out, 0.5 mm board inset margin, and preferred widths of 0.15 mm / 0.25 mm / 0.5 mm.
Applied explicit net trace-width rules for R8's PROG1 net and the OUT2 GPIO-side net.
Success criteria review
✅ The charger programming resistor is now functionally separated from output channel 1.
✅ The optional USB input/charge connector is added and integrated into the charging path.
✅ The PCB layout now has a compact board size, 4-layer stackup, and baseline manufacturability constraints.
✅ The charger-related ERC issues were reduced by grounding unused MCP73871 pins.
✅ Remaining floating-pin ERC items are now limited to intentionally unused ESP32 module pins, unused USB-C data/SBU pins, unused TVS array I/O pins, and extra standalone GND symbols that were added earlier but are not needed for function.
Next steps
The remaining ERC items are cleanup-level and not charger/function blockers. The main follow-up is to remove the unused standalone GND symbols, replace or rewire D1 to a simpler VBUS TVS part, and decide whether the unused ESP32 and USB data pins should stay intentionally unconnected or be terminated/documented. I can do that cleanup pass next.
Wirelessly connects nets on schematic. Used to organize schematics and separate functional blocks. To wirelessly connect net portals, give them same designator. #portal
Wirelessly connects power nets on schematic. Identical to the net portal, but with a power symbol. Used to organize schematics and separate functional blocks. To wirelessly connect power net portals, give them the same designator. #portal #power
General Purpose Thick Film Standard Power
and High-Power Chip Resistor
47 kOhms ±5% 0.125W, 1/8W Chip Resistor 0805 (2012 Metric) Automotive AEC-Q200 Thick Film
Features:
- RMCF – standard power ratings
- RMCP – high power ratings
- Nickel barrier terminations standard
- Power derating from 100% at 70ºC to zero at +155ºC
- RoHS compliant, REACH compliant, and halogen free
- AEC-Q200 compliant