Power Circuit Design

  1. Power routing (order and widths)
  • 1.1 V24: J24V_IN:1 → U1:VIN (1.2 mm). Tee J24V_IN:1 → D1:1 (1.2 mm); D1:2 to nearest GND via (short path).
  • 1.2 Buck hot path: U1:SW → L1:P1 (0.6 mm); L1:P2 → buck output node → +5V (1.0 mm).
  • 1.3 +5V trunk: +5V node → TP_5V (0.8 mm, stub ≤ 5 mm). +5V node → U2:IN (0.6 mm).
  • 1.4 +3V3 distribution: U2:OUT → +3V3 trunk (0.6 mm) → J_SDCARD:P4, U_SDLS:Vcc, C19:P1, C20:P1, R6:P2, R7:P2, TP_3V3 (branch stubs 0.4 mm, ≤ 5 mm).
  1. SPI microSD routing (order, widths, ≤1 via/net)
  1. Stitching vias (placement order)
  • 3.1 Perimeter: add GND stitching vias every 12 mm around edges (start along right edge near J_SDCARD).
  • 3.2 Power zone: ring U1 and L1 with vias at 3–5 mm spacing; add 2–3 near U1 GND pins.
  • 3.3 LDO zone: place 4 vias tight around U2 (by IN, GND, OUT).
  • 3.4 Z3 fence: via fence between J_SDCARD, U_SDLS, U4 and board edge at 5 mm pitch.
  • 3.5 Tie any isolated top GND islands with at least two vias each.
  1. Critical DRC to-fix list
  • 4.1 Any +3V3/SD_CS/SD_CD nodes still tied to GND.
  • 4.2 Power widths: V24 1 via; any airwires on SCK/MOSI/MISO/CS/CD.
  • 4.4 SCK/MOSI/MISO length mismatch exceeding ±5 mm.
  • 4.5 Any via/copper in MCU crystal keep-out.
No edits were made.
Calculate trace widths
Define net classes
Buck converter routing order
SPI trace routing
Max branch stub length

Started implementing a plan

#Goal

- Reassign specific microSD interface pins from the ground net to the appropriate power (+3V3) and control nets (SD_CS and SD_CD) to eliminate shorts and align with design intent for a 2-layer board featuring the MEM2085 microSD socket, 74LVC125APW level shifter, ESD224DQA, and ATmega2560-16AU MCU.

#Implementation plan

1. Disconnect specified pins from the GND net:

1. Identify pins listed for modification (J_SDCARD:P4, TP_3V3, U_SDLS:Vcc, C19:P1, C20:P1, R6:P2, R7:P2 for +3V3; U_SDLS:3Y, J_SDCARD:P2, R6:P1 for SD_CS; J_SDCARD:CD, U3:PE4, TP_SD_CD, R7:P1 for SD_CD).

2. Sever their connection to the GND net in the schematic.

2. Connect pins to the +3V3 net:

1. Reassign J_SDCARD:P4, TP_3V3, U_SDLS:Vcc, C19:P1, C20:P1, R6:P2, and R7:P2 to the +3V3 net by creating net connections to +3V3.

3. Route SD control nets:

1. Connect SD_CS net by assigning U_SDLS:3Y, J_SDCARD:P2, and R6:P1 to SD_CS.

2. Connect SD_CD net by assigning J_SDCARD:CD, U3:PE4, TP_SD_CD, and R7:P1 to SD_CD.

4. Validate all changes:

1. Perform a quick ERC to ensure that no extra ground portals remain and that there are no connectivity errors.

2. Confirm that the netlist reflects the intended topology with the new power and control nets.

#Success criteria

- All specified pins are removed from the GND net and properly connected to either +3V3, SD_CS, or SD_CD as required.

- ERC passes without additional errors and the netlist accurately represents the desired connectivity changes.

J_SDCARD
U2 OUT - C8 P1
U3 PB2 - U_SDLS 2A
U2 OUT - C8 P1
U2 OUT - C8 P1
U3 PH1 - JUART2 3
J_DI 4 - U4 ~
U2 OUT - C8 P1
U1 SW - L1 P1
J_DI 4 - U4 ~
U1 SW - L1 P1
U1 SW - L1 P1
RY P2 - Y1 1
RY P2 - Y1 1
J_DI 2 - U4 ~
U3 PA2 - R13 P1
JICSP 1 - U3 PB3
J_DI 1 - P1 P2
J_SDCARD P3 - U3 PB2
J_DI 2 - U4 ~
U3 XTAL2 - Y1 2
U1 SW - L1 P1
U1 SW - L1 P1
J_DI 4 - U4 ~
U1 SW - L1 P1
J_DI 2 - U4 ~
J_DI 2 - U4 ~
J_SDCARD P5 - U3 PB1
U1 SW - L1 P1
U2 OUT - C8 P1
J_SDCARD P3 - U3 PB2
U3 PA2 - R13 P1
U_SDLS 3Y - J_SDCARD P2
U3 PB2 - U_SDLS 2A
U3 PA3 - R14 P1
U1 SW - L1 P1
U1 SW - L1 P1
U3 PB1 - U_SDLS 1A
U1 SW - L1 P1
U3 XTAL2 - Y1 2
U1 SW - L1 P1
U1 SW - L1 P1
J24V_IN 1 - D1 1
J_DI 2 - U4 ~
JICSP 1 - U3 PB3
U1 SW - L1 P1
U2 OUT - C8 P1
J_DI 2 - U4 ~
U3 PE1 - JUART1 3
U1 SW - L1 P1
J_SDCARD P3 - U3 PB2
U_SDLS 3Y - J_SDCARD P2
U3 PH0 - JUART2 4
U1 SW - L1 P1
JICSP 1 - U3 PB3
U1 SW - L1 P1
U3 PB2 - U_SDLS 2A
U3 PA1 - R12 P1
U2 OUT - C8 P1
U1 SW - L1 P1
U1 SW - L1 P1
J_DI 4 - U4 ~
U2 OUT - C8 P1
U3 XTAL2 - Y1 2
U1 SW - L1 P1
U1 SW - L1 P1
J24V_IN 1 - D1 1
U2 OUT - C8 P1
U1 SW - L1 P1
U2 OUT - C8 P1
U1 SW - L1 P1
J_SDCARD P5 - U3 PB1
J_DI 4 - U4 ~
U3 PB0 - U_SDLS 3A
U3 PB0 - U_SDLS 3A
J_DI 2 - U4 ~
U3 PH1 - JUART2 3
J_DI 4 - U4 ~
U2 OUT - C8 P1
U1 SW - L1 P1
J_DI 2 - U4 ~
U1 SW - L1 P1
U2 OUT - C8 P1
U2 OUT - C8 P1
U1 SW - L1 P1
U1 SW - L1 P1
U1 SW - L1 P1
U3 PE1 - JUART1 3
J_DI 4 - U4 ~
J_DI 1 - P1 P2
JICSP 1 - U3 PB3
U3 PA3 - R14 P1
U3 PB2 - U_SDLS 2A
JICSP 1 - U3 PB3
U1 SW - L1 P1
U1 SW - L1 P1
U2 OUT - C8 P1
U3 PA1 - R12 P1
U2 OUT - C8 P1
J24V_IN 1 - D1 1
U1 SW - L1 P1
U1 SW - L1 P1
U1 SW - L1 P1
U3 PH0 - JUART2 4
U1 SW - L1 P1
J_DI 4 - U4 ~
J_DI 2 - U4 ~
J_DI 4 - U4 ~
U2 OUT - C8 P1
U1 SW - L1 P1
U2 OUT - C8 P1
U_SDLS 2Y - J_SDCARD P3
J_DI 2 - U4 ~
J_DI 4 - U4 ~
U3 PA2 - R13 P1
U2 OUT - C8 P1
U1 SW - L1 P1
U_SDLS 2Y - J_SDCARD P3
U1 SW - L1 P1
U3 PB0 - U_SDLS 3A
U1 SW - L1 P1
J_DI 4 - U4 ~
U1 SW - L1 P1
U3 PB1 - U_SDLS 1A
RY P2 - Y1 1
U3 PA3 - R14 P1
U1 SW - L1 P1
U_SDLS 1Y - J_SDCARD P5
U1 SW - L1 P1
U3 PB1 - U_SDLS 1A
U3 PA0 - R11 P1
J_DI 2 - U4 ~
U_SDLS 1Y - J_SDCARD P5
U3 PB1 - U_SDLS 1A
U3 PE0 - JUART1 4
U3 PB1 - U_SDLS 1A
U3 PA0 - R11 P1
J_DI 2 - U4 ~
U1 SW - L1 P1
U2 OUT - C8 P1
U3 PA1 - R12 P1
J_DI 4 - U4 ~
U1 SW - L1 P1
U1 SW - L1 P1
U1 SW - L1 P1
J_SDCARD P5 - U3 PB1
J_DI 2 - U4 ~
U3 PA0 - R11 P1
U1 SW - L1 P1
J_DI 2 - U4 ~
U3 XTAL2 - Y1 2
J_DI 2 - U4 ~
U3 XTAL2 - Y1 2
U3 PE0 - JUART1 4
U1 SW - L1 P1
U3 PB2 - U_SDLS 2A
J_DI 2 - U4 ~
J_DI 2 - U4 ~
J_DI 4 - U4 ~
C14
Capacitance
Capacitance
C4
Capacitance
Capacitance
D1
C11
Capacitance
Capacitance
J24V_IN
C16
Capacitance
18pF
C26
Capacitance
Capacitance
C24
Capacitance
Capacitance
C_AVCCBULK
Capacitance
Capacitance
C20
Capacitance
Capacitance
C7
Capacitance
Capacitance
C5
Capacitance
Capacitance
C18
Capacitance
Capacitance
C9
Capacitance
Capacitance
C3
Capacitance
Capacitance
C_AVCC
Capacitance
Capacitance
C8
Capacitance
Capacitance
C23
Capacitance
Capacitance
C19
Capacitance
Capacitance
C22
Capacitance
Capacitance
C27
Capacitance
Capacitance
C15
Capacitance
18pF
C6
Capacitance
Capacitance
C12
Capacitance
Capacitance
C10
Capacitance
Capacitance
C21
Capacitance
Capacitance
C25
Capacitance
Capacitance
C13
Capacitance
Capacitance
R15
Resistance
500 Ω
P1
Resistance
500 Ω
R4
Resistance
500 Ω
R20
Resistance
500 Ω
R_MISO
Resistance
22 Ω
R7
Resistance
500 Ω
R9
Resistance
500 Ω
R14
Resistance
500 Ω
R11
Resistance
500 Ω
R19
Resistance
500 Ω
R16
Resistance
500 Ω
R2
Resistance
500 Ω
R18
Resistance
500 Ω
R8
Resistance
500 Ω
R5
Resistance
500 Ω
R12
Resistance
500 Ω
R10
Resistance
500 Ω
R_MOSI
Resistance
22 Ω
R13
Resistance
500 Ω
R21
Resistance
500 Ω
R_XTAL
Resistance
DNP Ω
R17
Resistance
500 Ω
R1
Resistance
500 Ω
R_SCK
Resistance
22 Ω
R3
Resistance
500 Ω
P1
Resistance
10kΩ
R_CS
Resistance
22 Ω
R6
Resistance
500 Ω
R22
Resistance
500 Ω
SW1
TP5
TP_GND
U3
TP_DO3
TP_DO2
TP_DO1
TP_5V
TP1
TP_3V3
TP_DO4
TP_SSR1
TP2
TP_SD_CD
TP4
TP_V24
TP3
TP_SSR2
C17
Capacitance
470uF
U2
J_PRINTER
U_SDLS
End of Life
U4
L2
Inductance
Inductance
U2
GND
Y1
L1
Inductance
Inductance
J_DI
J_NEXTION
U1
JICSP

No files yet

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    Assets are files uploaded to this project which can be used in various ways.

    pcb making 2344 thumbnail
    Nextion HMI & Thermal Printer UART Integration with Enhanced microSD SPI Interface, ESD Protection, and LP3982-Regulated 3.3V Power Rail

    Properties

    V

    Pricing & Availability

    Distributor

    Qty 1

    Arrow

    $19.73–$20.21

    Digi-Key

    $20.43

    LCSC

    $22.54

    Mouser

    $6.70

    TME

    $24.32

    Verical

    $26.54–$33.20

    Controls