Pocket_lock


  • 实际铜层数:4
  • 已布走线数:无法读回确认;自动布线因 ACUs 不足暂停
  • 最后确认的未布连接数:128
  • 无法完成项:全板布线、连续 GND 平面及最终残余连接清理;自动布线另报告边界放置异常和 GND 去耦网络无法布通,需恢复 ACUs 后检查并继续。
I’ll inspect the current board state, determine whether placement, routing, or both are required, then apply the needed auto-layout work and verify the result.
Placement optimization was needed before routing. The first pass improved the critical corridors but left a local U7/R18/R3/R4 conflict, so I’m applying one focused cleanup pass before the routing preflight.
Auto-layout analysis found both placement optimization and routing were needed.
Completed:
  • Optimized congested U1/U7 and U4/J1 regions.
  • Cleared U7 overlap and R18 pin-access conflicts.
  • Improved C20 decoupling placement.
  • Routing preflight passed with only a via-at-thermal-pad advisory.
Auto-routing was started but paused because no ACUs remain. 128 connections remain unrouted; resume job auto-layout-0584140f-8b4f-4969-ba02-dd213280dc33 after adding ACUs.
Add ACUs
Check DRC/ERC
Inspect unrouted nets
Review via advisory

Waiting for input


Schematic is Auto-placed

The schematic has been arranged automatically. Flux can redraw it to be more readable, with components placed in related groups and wires drawn more legibly. This takes about 10-60 mins.

Design Notes — Implemented Schematic
Key selections
  • U1 HS6621CG-B, OnMicro QFN48+EP (library part verified as 49 terminals; LCSC TBD).
  • U2 TPS70933DBVR 3.3V/150mA, 1uA-IQ LDO (LCSC TBD).
  • U3 TPS630701RNMR fixed 5V 2A buck-boost, LCSC C2876599; L1 XFL4020-152MEC 1.5uH/4.6A Isat.
  • U4 DRV8833PWR dual H-bridge, LCSC C544801.
  • U5/U6 MT8831AT push-pull Hall, 1.6–5V, 1.7uA typical, LCSC C3151726.
Power budget

Table


RailContinuous/typicalPeak/worst case
5V motormotor two-phase 0.926A (Rmin 10.8Ω)1.3A design allocation including horn/margin
3V3 AOHS6621 RX/TX ~6.6mA peak plus 3.4uA Halls; COSS TBD150mA regulator ceiling
Battery @3.6V—5V rail 2.124A @85%; 3V3 allocation 0.162A @85%; total provisional 2.29A
F1 is 3A hold PTC. D1 is a 3A Schottky reverse-polarity barrier; its low-battery voltage drop and pack sag require bench validation. U3 EN, DRV8833 nSLEEP/AIN/BIN, horn gate and LED control all have hardware defaults that keep power loads off when GPIOs are high-Z/reset.
GPIO/PINMUX allocation
  • GPIO0 SWCLK; GPIO1 SWDIO; GPIO2 BAT_ADC; GPIO4 BOOT; GPIO5 UART_TX; GPIO6 UART_RX.
  • GPIO7 PAIR_BTN_WAKE_N; GPIO8 SOFT_RESET_WAKE_N (not RSTB); GPIO10 LOCK_HALL_WAKE; GPIO11 UNLOCK_HALL_WAKE; GPIO12 COSS_RX_WAKE. These are within GPIO0–12 and therefore usable even in documented hibernation; all GPIO are wake-capable in shallower/deep sleep.
  • GPIO9 MOTOR_5V_EN; GPIO13/14 AIN1/AIN2; GPIO15/16 BIN1/BIN2; GPIO17 MOTOR_SLEEP_EN; GPIO18 HORN_EN; GPIO19 STATUS_LED; GPIO20 COSS_TX_CFG.
  • GPIO28 POR_FLAG_CLR_N; GPIO29 POR_FLAG_RD; GPIO30 MOTOR_FAULT_N; GPIO31 MOTOR_5V_PG.
Reset/wake distinction
  • True POR/brownout: U8 supervisor drives RSTB_EXT; rising release clocks U7 latch to create POR_FLAG_RD until firmware clears it through GPIO28.
  • Ordinary wake: wake GPIO only; does not clock a new POR event.
  • Software reset button: GPIO8 wake/firmware path only, never RSTB.
  • External reset: J3 RSTB_EXT.
  • Software and watchdog reset: distinguish using HS6621 reset-cause status in firmware; no fake POR assertion.
HS6621 pin audit
Pins 1–49 are represented by the real QFN48+EP library symbol. Power/ground, SW buck, RF, debug/UART and allocated GPIOs are connected. Unused GPIO21–27 and unsupported oscillator pins are explicit NC. VBUS and VBAT_CHG are explicit NC to prevent an unverified charging path; ERC still reports them as missing-power because the symbol types them as power inputs.
Evidence-gated items
  • Exact -B EVB values for HS6621 internal-buck inductor and crystal network remain unverified; crystal pins are NC rather than guessed.
  • RF has a configurable pi network, marked for antenna measurement/tuning; no guessed values or antenna geometry.
  • COSS V101 pin order/electrical layer remains unverified. J2 exposes named configurable COSS_PWR/COSS_RX/COSS_TX/GND with series isolation; do not populate until verified.
  • 24BYJ28-002 wire colors/order remain unverified; J1 is named by coil ends A1/A2/B1/B2.
  • Horn load type/current is TBD; flyback diode fitted for magnetic load and may be DNP for piezo.
ERC
Latest electrical review: two errors only — U1 VBUS and U1 VBAT_CHG “power input not connected.” Both are intentionally isolated because a safe no-charge connection could not be verified. No floating-pin errors remain in the electrical review result.
  • Key selections

  • Power budget

  • GPIO/PINMUX allocation

  • Reset/wake distinction

  • HS6621 pin audit

  • Evidence-gated items

  • ERC