IMU-Bridge Integration Tools


已按顺序检查 get_board_spec()、get_component_notes("icm20689")、get_design_rules(),并对照了当前原理图。
先说结论:5 项里 4 项通过,1 项存在规则源冲突/部分不一致。
对照结果

Table


检查项KB 期望当前原理图结果
1. U2 / U3 的 REGOUT 电容REGOUT Pin 10 -> 0.47 µF X7R ±10%,板级约束明确指向 C9 / C10U2 REGOUT 接 REGOUT_U2,仅连 C9;C9 = 0.47 uF, X7R, ±10%。U3 REGOUT 接 REGOUT_U3,仅连 C10;C10 = 0.47 uF, X7R, ±10%。另一端都到 GND✅
2. nCS 是否直接接 VDD,无电容KB 要求 nCS 直接接 VDD/VCC_3V3,不加电容U2 nCS、U3 nCS 都直接在 VCC_3V3 网;未发现串接或并接电容✅
3. NC 引脚是否悬空get_board_spec() 写的是 INT/CLKIN/AUX_DA/AUX_CL 悬空;但 get_component_notes() 的 datasheet 版规则是:INT 悬空、FSYNC 接 GND、其余 NC 焊盘悬空当前原理图里 U2 / U3 的 INT 已加 NC 标记;FSYNC 实际接 GND;未见 CLKIN/AUX_DA/AUX_CL 作为独立命名引脚暴露在该符号中;其余命名为 NC 的焊盘未出现在已连接网络中❌ / 部分不一致
4. I2C 上拉是否为 4.7 kΩ,主/子总线各一对主总线一对、子总线一对,全部 4.7 kΩ主总线:R1 = 4.7 kΩ,MAIN_SCL -> VCC_3V3;R2 = 4.7 kΩ,MAIN_SDA -> VCC_3V3。子总线:R3 = 4.7 kΩ,SUB_SCL -> VCC_3V3;R4 = 4.7 kΩ,SUB_SDA -> VCC_3V3✅
5. BOOT0 是否通过 10 kΩ 下拉BOOT0 -> 10 kΩ -> GNDU1 PA15/PA14-BOOT0 在 SWCLK_BOOT0 网上,接 R5 P1;R5 = 10 kΩ,P2 接 GND✅
重点说明

Table


项目说明
nCS 引脚号你给的检查项写的是 Pin 20,但当前器件符号里 U2 / U3 的 nCS 是 Pin 22。这一点和 get_component_notes() 的 datasheet 结果一致,但和早先 KB 某些摘要不一致。电气连接本身是正确的。
NC 规则冲突这里的唯一问题不是原理图明显接错,而是 KB 两个来源对“哪些脚应悬空”描述不完全一致:板级约束把 INT/CLKIN/AUX_DA/AUX_CL 归为悬空;datasheet 版器件知识则给出 INT 悬空、FSYNC 接 GND、其余 NC 焊盘悬空。当前原理图更符合 datasheet 版规则。
额外一致项C13 / C14 都是 2.2 uF 到 VDD;C15 / C16 都是 10 nF 到 VDDIO;这也和 get_component_notes() / get_design_rules() 一致。
最终判定
  • ✅ C9 / C10 的 REGOUT 实现正确
  • ✅ U2 / U3 的 nCS 直接上拉到 VCC_3V3
  • ✅ R1 - R4 的 I2C 上拉值与分配正确
  • ✅ R5 的 BOOT0 下拉正确
  • ❌ “NC 引脚悬空”这一项不能直接判为完全通过,因为 KB 规则文本自身有冲突;按 datasheet 口径看,当前原理图是合理的
我这次是按设计ator/网络做的实时结构化核对,这也是这类原理图审计的推荐方式
如果你要,我下一步可以继续把这份结果整理成一个**“规则冲突清单”**,明确指出:
  • 哪些地方以 get_component_notes() 为准
  • 哪些地方 get_board_spec() 需要修订。
get_component_notes("icm20689")
get_component_notes("icm20689") 已成功返回。
ICM-20689 关键参数

Table


项目返回内容
重要警告没有 CPOUT 引脚,任何 “CPOUT 电容” 描述都应忽略
REGOUTPin 10 -> 0.47 µF X7R ±10%
VDDPin 9 -> 2.2 µF + 100 nF
VDDIOPin 8 -> 10 nF
nCSPin 22 -> 直接接 VDD,进入 I2C 模式,不加电容
FSYNCPin 7 -> 接 GND,不可悬空
I2C 地址AD0=GND -> 0x68;AD0=VDD -> 0x69
WHO_AM_I0x98
NC 引脚INT / CLKIN / AUX_DA / AUX_CL 悬空,严禁接 GND
热焊盘中央 EP 焊盘必须接 GND
这条结果里最关键的两点
  • FSYNC 不是 NC,必须接地
  • nCS 是 Pin 22,不是 Pin 20,并且应直接接 VDD
如果你要,我可以继续把这条器件规则和当前项目里的 U2 / U3 再逐项核对一遍。
Show pin details
Find matching part
Check datasheet requirements
Add project note

Schematic Change Log
Project
IMU-Bridge-2026
Summary
This document records the schematic-side changes, verifications, substitutions, exports, and engineering clarifications made during the design discussion.
Initial schematic build
  • Built the schematic from the project requirements document.
  • Limited scope to schematic work only; no PCB routing was included at this stage.
  • Verified library availability before proceeding.
Part verification and substitutions
  • Confirmed library availability for the required BOM parts before placing them.
  • Substituted U2 and U3 from MPU-6050 to ICM-20689 QFN-24 because MPU-6050 was not available in the Flux library.
  • Used the JST GH 1.25 mm 5-pin horizontal SMD connector implementation for J1.
Components added
  • U1: STM32G030F6P6 in TSSOP-20
  • U2, U3: ICM-20689 in QFN-24 4x4 mm
  • U4: AMS1117-3.3 in SOT-223
  • J1: JST GH 1.25 mm 5-pin SMD horizontal connector
  • C1-C12 capacitors
  • R1-R7 resistors
  • TP1-TP4 test points
  • MH1-MH4 non-plated mounting holes
Power network implementation
  • Wired +5V from J1 to the AMS1117 input stage.
  • Wired the 3.3V rail from AMS1117 output to the MCU and both IMUs.
  • Added local bypass and regulator support capacitors.
  • Connected all required ground pins to GND.
Signal network implementation
  • Wired the main I2C bus between J1 and the MCU.
  • Wired the sub I2C bus between the MCU and the two IMUs.
  • Wired AD0, REGOUT, CPOUT/nCS, BOOT0, NRST, SWDIO, and SWCLK-related signals.
  • Kept designated ICM-20689 NC-type pins untouched.
Schematic refinements
  • Added a proper NRST circuit with a 10 kOhm pull-up to VCC_3V3 and a 100 nF capacitor to GND.
  • Renamed auto-generated nets to functional names where possible, including NRST, REGOUT_U2, REGOUT_U3, CPOUT_U2, CPOUT_U3, SWDIO, and related debug/reset nets.
  • Clarified that the STM32 composite labels in this package correspond to alternate functions on a single physical pad rather than separate shorted pins.
  • Confirmed the effective I2C mapping on the selected MCU/package implementation.
Engineering notes captured
  • Documented that ICM-20689 Pin 20 is used as CPOUT in I2C mode and that the 2.2 nF capacitors on C11/C12 are intentional.
  • Documented the STM32 I2C pin remap interpretation for this symbol/package.
  • Documented the programming and debug scheme using SWDIO, SWCLK/BOOT0 shared pin behavior, and ST-Link flashing.
ERC and review status
  • Ran ERC and fixed real connection issues during schematic refinement.
  • Final accepted state reached 0 errors and about 16 warnings.
  • Acceptable floating warnings remained on unused STM32 GPIOs, J1 pin 5 and related unused connector pins, and intentionally unconnected IMU INT pins.
Footprint verification and updates
  • Verified footprint assignments for major ICs, connector, passives, test points, and mounting holes.
  • Found mounting hole property inconsistency and corrected the mounting hole settings to 2.2 mm NPTH intent.
  • Changed C1 and C3 footprint from SMD_0805_2012Metric to SMD_0603_1608Metric while keeping value and other requested properties unchanged.
Exports and manufacturing data
  • Re-ran ERC before export and confirmed 0 errors and about 16 warnings.
  • Exported updated netlist and BOM outputs after the C1/C3 footprint change.
  • Selected the JLCPCB-specific BOM as the correct file for JLC submission.
  • Checked the JLCPCB BOM columns and confirmed key manufacturing fields were present, while noting quantity and explicit MPN columns were not separately provided.
Open schematic-side notes
  • Manual no-connect markers may still be needed on certain intentionally unused pins depending on final review workflow.
  • Net naming around shared SWCLK/BOOT0 behavior should continue to respect the package's shared physical pin representation.

原理图变更记录(中文版)
项目
IMU-Bridge-2026
文档说明
本文档记录本次交流中与原理图相关的主要工作内容,包括:器件选型替代、原理图搭建、网络连接、工程性修正、ERC 状态、封装核对,以及导出与制造文件相关结论。中文版用于补充英文版,方便后续在项目内部评审、交接和复查时直接引用。
1. 初始原理图搭建
  • 按项目需求文档完成了原理图的第一版搭建。
  • 本阶段工作范围仅限原理图,不包含 PCB 走线。
  • 在开始放置元件之前,先对 BOM 中的关键器件做了库可用性确认。
2. 器件核对与替代
  • 在 Flux 库中核对了主要 BOM 器件是否可用。
  • 因 MPU-6050 不可用,U2 和 U3 统一改用 ICM-20689 QFN-24 4x4 mm。
  • J1 采用 JST GH 1.25 mm 5-pin horizontal SMD 的对应实现。
  • 这一替代不改变项目功能目标,仅用于满足库可用性与封装落地要求。
3. 已添加元件范围
已完成放置的器件包括:
  • U1:STM32G030F6P6,TSSOP-20
  • U2、U3:ICM-20689,QFN-24 4x4 mm
  • U4:AMS1117-3.3,SOT-223
  • J1:JST GH 1.25 mm 5-pin 侧插/卧式贴片连接器
  • C1-C12:电容
  • R1-R7:电阻
  • TP1-TP4:测试点
  • MH1-MH4:非电镀安装孔
4. 电源网络实现
  • 完成了从 J1 输入到 U4 稳压输入端的 +5V 连接。
  • 完成了从 U4 输出到 MCU 与两颗 IMU 的 VCC_3V3 供电分配。
  • 为稳压器、MCU 和 IMU 加入并连接了相应去耦/支撑电容。
  • 所有要求接地的电源地和芯片地引脚都已连接到 GND。
5. 信号网络实现
  • 完成了主 I2C 总线(连接器到 MCU)的连接。
  • 完成了子 I2C 总线(MCU 到两颗 IMU)的连接。
  • 完成了 AD0、REGOUT、CPOUT/nCS、BOOT0、NRST、SWDIO、SWCLK 等相关网络的连接。
  • ICM-20689 中标注为 NC 类型的引脚保持不连接,也未强行添加 no-connect 标记,避免 ERC 冲突。
6. 原理图工程化修正
  • 为 NRST 增加了完整的复位网络:
    • 一个 10 kOhm 上拉电阻连接到 VCC_3V3
    • 一个 100 nF 电容连接到 GND
  • 将自动生成的 Net 1、Net 2 一类网络尽可能改为有工程含义的名称,例如:
    • NRST
    • REGOUT_U2
    • REGOUT_U3
    • CPOUT_U2
    • CPOUT_U3
    • SWDIO
  • 对 STM32 该封装下的复合引脚标签做了说明:
    • 像 PB3/PB4/PB5/PB6、PB7/PB8 这类标签代表同一个物理封装焊盘上的可复用功能,不是多个 GPIO 被短接在一起。
  • 结合该封装和符号表示方式,确认了当前 I2C 有效映射在工程上是可接受的。
7. 设计说明已单独沉淀
已将若干容易误解的设计点记录为项目说明,主要包括:
  • ICM-20689 在 I2C 模式下,Pin 20 的 nCS 实际作为 CPOUT 使用,因此 C11/C12 = 2.2 nF 是正确且有意为之的设计。
  • STM32 当前符号中的 I2C 复合引脚命名,需要按“一个物理 pad,多种复用功能”的方式理解。
  • 程序下载和调试采用 SWD:
    • SWDIO 对应 PA13
    • SWCLK/BOOT0 对应共享物理引脚
    • 使用 ST-Link 烧录,不依赖 UART bootloader 路径。
8. ERC 状态
  • 在原理图细化过程中运行了 ERC,并修复了真实连接错误。
  • 最终接受状态为:
    • 0 errors
    • 约 16 warnings
  • 这些保留 warning 主要来自:
    • 未使用的 STM32 GPIO
    • J1 上未使用的引脚
    • 两颗 IMU 上故意不连接的 INT 等引脚
  • 这些 warning 属于当前设计阶段可接受项,不代表功能性错误。
9. 封装核对与更新
  • 已核对主要 IC、连接器、无源器件、测试点和安装孔的封装/footprint 是否符合预期。
  • 发现安装孔属性曾存在不一致,之后已按 2.2 mm NPTH 设计意图修正。
  • 根据后续要求,将 C1 与 C3 的封装从 SMD_0805_2012Metric 改为 SMD_0603_1608Metric。
  • 修改时保持了其余指定属性不变,例如数值和料号信息未被额外改动。
10. 导出与制造资料
  • 在导出前重新执行 ERC,并确认仍为 0 errors / 约 16 warnings。
  • 在 C1/C3 封装更新后重新导出了网表和 BOM。
  • 针对嘉立创(JLC)投产,确认应优先采用 JLCPCB 专用 BOM。
  • 对 JLCPCB BOM 的列进行了检查,确认关键制造字段存在,但也记录了某些字段(如独立 Quantity、显式 MPN)并未以单独列提供。
11. 仍需注意的原理图事项
  • 某些故意未使用的引脚,后续在人工收尾阶段可能仍需要补充 no-connect 标记。
  • 与 SWCLK/BOOT0 共享物理脚位相关的网络命名,在后续文档或评审中应持续说明其“共享 pad”的事实,避免误判为命名错误或连接错误。
  • 如果未来更换 MCU 封装或符号库版本,I2C 与调试引脚的解释需要重新核对,不应直接沿用当前结论。
12. 中文版补充结论
从原理图阶段来看,本项目已经完成了从“需求驱动搭建”到“工程化可审查状态”的主要工作:
  • 功能网络已经建立
  • 关键器件替代已经确认
  • NRST、I2C、调试接口等关键点已有设计说明
  • ERC 已达到可接受状态
  • 封装和制造文件已经过一轮核对与更新
这意味着后续工作的重点已经从“补原理图”转向“结合 PCB 物理实现约束继续验证布局与布线可行性”。
  • Schematic Change Log

  • Project

  • Summary

  • Initial schematic build

  • Part verification and substitutions

  • Components added

  • Power network implementation

  • Signal network implementation

  • Schematic refinements

  • Engineering notes captured

  • ERC and review status

  • Footprint verification and updates

  • Exports and manufacturing data

  • Open schematic-side notes

  • 原理图变更记录(中文版)

  • 项目

  • 文档说明

  • 1. 初始原理图搭建

  • 2. 器件核对与替代

  • 3. 已添加元件范围

  • 4. 电源网络实现

  • 5. 信号网络实现

  • 6. 原理图工程化修正

  • 7. 设计说明已单独沉淀

  • 8. ERC 状态

  • 9. 封装核对与更新

  • 10. 导出与制造资料

  • 11. 仍需注意的原理图事项

  • 12. 中文版补充结论