Power Management Subsystem Design


Please create a new modular section on the schematic for the main microcontroller and the AFE inter-board connector. Implement the following:
  1. Microcontroller Core: Add an ESP32-S3R8 IC. Connect all VDD, VDDA, and VDD3P3_RTC pins to the '3V3_DIGITAL' net. Connect all GND and exposed pad pins to 'GND'.
  2. MCU Decoupling: Place a 0.1uF C0G ceramic capacitor on every VDD/VDDA pin to GND. Add one 10uF bulk capacitor on the 3V3_DIGITAL rail near the MCU.
  3. Auto-Program Circuit: Add two tactile push buttons — one connecting EN to GND (labeled SW_RESET), one connecting GPIO0 to GND (labeled SW_BOOT). Add a 10kΩ pull-up resistor from EN to 3V3_DIGITAL. Add a 1uF capacitor from EN to GND for power-on reset delay.
  4. Strapping pins: Add 10kΩ pull-up resistors on GPIO45 and GPIO46 to 3V3_DIGITAL. GPIO0 is handled by SW_BOOT above.
  5. Inter-Board Connector: Add a 2x6 2.54mm pitch male pin header labeled 'J_AFE_BRIDGE' with the following net assignments:
  • Pin 1: 5V0_ANALOG
  • Pin 2: AGND (label as AGND — this is a separate analog ground net, not connected to GND on this board)
  • Pin 3: 3V3_DIGITAL
  • Pin 4: GND
  • Pin 5: SPI2_MOSI (connect to ESP32 GPIO35)
  • Pin 6: SPI2_MISO (connect to ESP32 GPIO37)
  • Pin 7: SPI2_SCLK (connect to ESP32 GPIO36)
  • Pin 8: SPI2_CS (connect to ESP32 GPIO34)
  • Pin 9: AFE_DRDY (connect to ESP32 GPIO33)
  • Pin 10: AFE_START (connect to ESP32 GPIO4)
  • Pin 11: AFE_PWDN (connect to ESP32 GPIO6)
  • Pin 12: AFE_RESET (connect to ESP32 GPIO5)
Add a schematic note on AGND: "AGND connects to DGND at single star point on AFE board only."
I’ll add the ESP32-S3 core and AFE bridge as a new schematic section, wire the specified rails/GPIOs, then run ERC on the new work.
Note: GPIO45/GPIO46 pull-ups conflict with ESP32-S3 boot-strap guidance, where those pins are normally held LOW/floating for reliable boot/download. I’ll implement your requested pull-ups, but this should be reviewed before fabrication.
Implemented the new ESP32-S3R8 MCU + AFE bridge schematic section, including per-power-pin decoupling, reset/boot controls, strap resistors, and the 2x6 J_AFE_BRIDGE pinout. I also created firmware starter documentation: firmware-starter-esp32-s3r8.
Open items:
  • ERC still flags 12 floating ESP32 bare-chip support pins: RF antenna input, main crystal pins, and flash/PSRAM SPI pins; these require the RF/crystal/flash subsystem before the bare ESP32-S3R8 can boot.
  • GPIO45/GPIO46 pull-ups were implemented as requested, but they conflict with ESP32-S3 boot-strapping guidance and should be reviewed.
Suggested next steps:
  1. Add the ESP32-S3 RF antenna/matching network, 40 MHz crystal, and external flash support.
  2. Revisit GPIO45/GPIO46 strap polarity before fabrication.
  3. Place and route the MCU/AFE connector section with short decoupling paths and clear AGND isolation.
Add RF crystal
Fix strapping pins
Run full review
Start PCB placement
Update firmware file

Power Management Subsystem
Designed for Neuroclear as a modular microcontroller-board power subsystem.
Functional Sections
  1. Battery Charging & Protection: USB-C input feeds TP4056 charger. DW01A + FS8205A implements single-cell LiPo protection. Protected battery output net is V_BATT; common board return is GND; raw cell negative/service node is BATT_NEG.
  2. Digital Power Rail: AP2112K-3.3TRG1 LDO takes V_BATT and generates 3V3_DIGITAL, with 10uF and 0.1uF input/output decoupling.
  3. Clean Analog Power Rail: TPS61023DRLR boosts V_BATT to BOOST_5V5; TPS7A2050PDBVR filters/regulates this to 5V0_ANALOG with 4.7uF input and 10uF output capacitors.
Component and Pin-Net List

Table


DesignatorExact part / valueFunctionPin connections
J1USB4515-GF-A / Type-C-2.0-6PinUSB-C inputVBUS A9/B9 → USB_VBUS; GND A12/B12/EH → GND; CC1 → USB_CC1; CC2 → USB_CC2
U1TP40561-cell LiPo chargerVCC, CE → USB_VBUS; GND, EP → GND; BAT → V_BATT; PROG → TP4056_PROG; CHRG/STDBY/TEMP → NC
U2DW01ALiPo protection controllerVDD → V_BATT; VSS → BATT_NEG; CSI → PROTECT_CS; OD → PROTECT_OD; OC → PROTECT_OC; NC → NC
Q1FS8205ADual N-MOSFET protection switchD1/D8 → PROTECT_CS; S1 pins 2/3 → BATT_NEG; S2 pins 6/7 → GND; G1 → PROTECT_OD; G2 → PROTECT_OC
J2Connector 01x06Battery/service connectorPin 1 duplicates + Pin 2 → V_BATT; Pin 3/4 → GND; Pin 5 → BATT_NEG; Pin 6 → NC
R15.1kΩ, 0603USB-C CC1 RdP1 → USB_CC1; P2 → GND
R25.1kΩ, 0603USB-C CC2 RdP1 → USB_CC2; P2 → GND
R31.2kΩ, 0603TP4056 charge-current programP1 → TP4056_PROG; P2 → GND
C110uF ceramic, 10V, 0603TP4056 input decouplingP1 → USB_VBUS; P2 → GND
C210uF ceramic, 10V, 0603Charger/battery output decouplingP1 → V_BATT; P2 → GND
U3AP2112K-3.3TRG13.3V digital LDOVIN, EN → V_BATT; GND → GND; VOUT → 3V3_DIGITAL; NC → NC
C310uF ceramic, 10V, 0603AP2112 input bulk capP1 → V_BATT; P2 → GND
C40.1uF ceramic, 10V, 0402AP2112 input HF capP1 → V_BATT; P2 → GND
C510uF ceramic, 10V, 0603AP2112 output bulk capP1 → 3V3_DIGITAL; P2 → GND
C60.1uF ceramic, 10V, 0402AP2112 output HF capP1 → 3V3_DIGITAL; P2 → GND
U4TPS61023DRLRBoost converter to 5.5VVIN, EN → V_BATT; SW → BOOST_SW; VOUT → BOOST_5V5; FB → BOOST_FB; GND → GND
L11.0uH, 4A, SMD_1008_2520MetricBoost inductorP1 → V_BATT; P2 → BOOST_SW
C710uF ceramic, 10V, 0603Boost input capacitorP1 → V_BATT; P2 → GND
C822uF ceramic, 10V, 0805Boost output capacitorP1 → BOOST_5V5; P2 → GND
R41.0MΩ, 0603TPS61023 feedback upper resistorP1 → BOOST_5V5; P2 → BOOST_FB
R5100kΩ, 0603TPS61023 feedback lower resistorP1 → BOOST_FB; P2 → GND
U5TPS7A2050PDBVRLow-noise fixed 5.0V analog LDOIN, EN → BOOST_5V5; GND → GND; OUT → 5V0_ANALOG; NC → NC
C94.7uF ceramic, 10V, 0603TPS7A20 input filter capacitorP1 → BOOST_5V5; P2 → GND
C1010uF ceramic, 10V, 0603TPS7A20 output capacitorP1 → 5V0_ANALOG; P2 → GND
Review Status
ERC/component review checks for floating pins, single-pin nets, power-pin issues, driver conflicts, MPNs, and datasheets returned no open warnings/errors after the final connection pass.
Notes for Layout
  • Keep the TPS61023 BOOST_SW loop short and away from analog output routing.
  • Place C9 and C10 tight to U5 for clean 5V0_ANALOG filtering.
  • Place USB-C, TP4056, and battery/protection parts as one charging/protection module; keep high-current battery and boost paths short/wide.
  • Functional Sections

  • Component and Pin-Net List

  • Review Status

  • Notes for Layout