Module · KiCad CAD Bundle
Native KiCad libraries from a component datasheet
DatasheetVend reads a component datasheet and writes a KiCad symbol (.kicad_sym) and footprint (.kicad_mod) for you to review. When the datasheet prints no land pattern, simplified IPC-7351B math sizes the pads from the package drawing.
- Pins get explicit electrical types, so KiCad's ERC has something to check.
- Pad sizes come from equations in code. The dimensions they use are still read from the datasheet.
- Each bundle carries a review status and the reasons behind it.
(kicad_symbol_lib (version 20211014) (generator datasheetvend_kicad_bundle) (symbol "STM32H743ZIT6" (in_bom yes) (on_board yes) (property "Reference" "U" (id 0) (at 0 16.51 0) (effects (font (size 1.27 1.27))) ) (property "Value" "STM32H743ZIT6" (id 1) (at 0 -16.51 0) (effects (font (size 1.27 1.27))) ) (symbol "STM32H743ZIT6_0_1" (rectangle (start -10.16 11.43) (end 10.16 -11.43) (stroke (width 0.254) (type default) (color 0 0 0 0)) (fill (type background)) ) (pin input line (at -12.7 1.27 0) (length 2.54) (name "NRST" (effects (font (size 1.27 1.27)))) (number "25" (effects (font (size 1.27 1.27)))) ) (pin bidirectional line (at -12.7 -1.27 0) (length 2.54) (name "PB0" (effects (font (size 1.27 1.27)))) (number "46" (effects (font (size 1.27 1.27)))) ) (pin bidirectional line (at 12.7 2.54 180) (length 2.54) (name "PA7" (effects (font (size 1.27 1.27)))) (number "43" (effects (font (size 1.27 1.27)))) ) (pin bidirectional line (at 12.7 0 180) (length 2.54) (name "PB7" (effects (font (size 1.27 1.27)))) (number "137" (effects (font (size 1.27 1.27)))) ) (pin bidirectional line (at 12.7 -2.54 180) (length 2.54) (name "PE2" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27)))) ) (pin power_in line (at -1.27 13.97 270) (length 2.54) (name "VDD" (effects (font (size 1.27 1.27)))) (number "17" (effects (font (size 1.27 1.27)))) ) (pin power_out line (at 1.27 13.97 270) (length 2.54) (name "VCAP" (effects (font (size 1.27 1.27)))) (number "71" (effects (font (size 1.27 1.27)))) ) (pin power_in line (at 0 -13.97 90) (length 2.54) (name "VSS" (effects (font (size 1.27 1.27)))) (number "16" (effects (font (size 1.27 1.27)))) ) ) ))What it writes
Three files to review
Schematic symbol
Pins are placed by role, not in package order: supply on top, ground on the bottom, reset, clock and other inputs on the left, outputs on the right, 2.54 mm apart. Bidirectional pins alternate sides by pin number. A multi-unit layout exists but is off by default.
Footprint
SMD pads on the copper, paste and mask layers, with a courtyard. Exposed pads get their paste split into windows. When the datasheet prints no land pattern, the pad sizes are calculated.
Readiness record
kicad_bundle.json lists what was checked, what failed and what needs review. The bundle ends as completed, needs_review or cannot_extract.
Pin types
Pin types give ERC something to check
A symbol that marks every pin passive leaves KiCad's Electrical Rules Checker little to check. Each pin gets an electrical type from its extracted class, and unspecified when the class is unknown.
| Pin type | Used for | What ERC reports |
|---|---|---|
| power_in | Supply and ground pins, such as VDD, VDDA, VBAT and VSS. | A power input that no power output drives is reported. |
| power_out | Regulator and supply outputs, such as VCAP. | Two power_out pins on one net are an error. Lets ERC see which pin drives a rail. |
| bidirectional | General-purpose I/O that the pin table lists as input/output. | Nothing by type alone. A pin left unconnected is still reported. |
| input | Dedicated inputs such as NRST and BOOT0. | An input pin left unconnected is reported. |
Land patterns
Pads calculated from the package drawing
When the datasheet prints no land pattern, each SMD pad is sized with simplified root-sum-square equations for toe, heel, side and courtyard excess, at the density level requested. The default is Level B.
Example: STM32H743 LQFP144, mm
| Level | Toe | Heel | Side | Courtyard | Pad w × l |
|---|---|---|---|---|---|
| A: Most landLow-density boards, wave or flow soldering | 0.55 | 0.45 | 0.05 | 0.50 | 0.385 × 1.806 |
| B: Nominal land (default)Moderate density, reflow soldering | 0.35 | 0.35 | 0.03 | 0.25 | 0.345 × 1.506 |
| C: Least landHigh density, portable and hand-held products | 0.15 | 0.25 | 0.01 | 0.10 | 0.305 × 1.206 |
Pad sizes are the calculator's output for ST DS12110 Rev 11, Table 211. Use of each level follows IPC-7351's own description.
Pad equations
Z_max = span_max + 2*Jt + rss(C_span, F, P) G_min = heel_span_min - 2*Jh - rss(C_heel, F, P) X_max = lead_width_min + 2*Js + rss(C_width, F, P) pad length = (Z_max - G_min) / 2
Each C is a stated tolerance (max minus min), F is the fabrication tolerance (0.05 mm), P is the placement tolerance (0.025 mm) and rss is the root-sum-square. For gull-wing leads, the heel span is the minimum lead span minus twice the maximum lead length. More on the IPC-7351B engine
{ "source": "ST DS12110 Rev 11, Table 211 (LQFP144), page 325", "input": { "family": "gullwing", "leadWidthMm": { "min": 0.17, "max": 0.27 }, "leadLengthMm": { "min": 0.45, "max": 0.75 }, "spanMm": { "min": 22.0, "max": 22.0 }, "pitchMm": 0.5, "density": "N" }, "output": { "padWidthMm": 0.345, "padLengthMm": 1.506, "padCenterFromOriginMm": 10.625, "courtyardExcessMm": 0.25, "clamped": true, "notes": [ "Land length capped at 1.506mm (contact + fillets); the tolerance-stacked heel formula wanted more copper than the joint can use.", "Land derived per IPC-7351 (gullwing, density N): toe 0.35, heel 0.35, side 0.03." ] }}Thermal pads
Exposed-pad paste is split into windows
One large paste opening on an exposed pad can trap flux gas and float the package during reflow. Where the datasheet gives no paste layout of its own, the bundle splits the paste into a grid of windows.
| Pad side | Paste windows |
|---|---|
| 2 mm or less on both sides | 1 window |
| Up to 5 mm | 2 × 2 |
| Up to 10 mm | 3 × 3 |
| Over 10 mm | 4 × 4 |
- Windows are sized for about 65% paste coverage at the default density.
- The gaps between windows are at least 0.2 mm wide, so flux gas has a way out.
- A window that would fall under 0.3 mm is clamped, and the bundle warns that coverage may differ.
- Your assembler's stencil rules still win.
Before delivery
What is checked, and when it refuses
If the PDF does not give the mechanical data a footprint needs, the bundle is marked cannot_extract instead of filling in a guess, and the audit says what was missing.
- 01
Package and variant
Where a package resolver exists for the part's vendor, the ordering suffix is resolved (STM32H743ZIT6 to LQFP-144, 20 × 20 mm) and the evidence is limited to that package. Wrong-package candidates are rejected.
- 02
Pin-to-pad cross-check
Symbol pins are compared with footprint pads. Mismatches, such as an exposed pad with no symbol pin, appear in the bundle's warnings.
- 03
kicad-cli load check
The emitted .kicad_sym and .kicad_mod are loaded with kicad-cli in a Linux container with KiCad installed, before download. The result is recorded as passed, failed or not run.
{ "bundle_status": "needs_review", "review_required": true, "final_readiness": { "syntax_valid": true, "native_kicad_valid": true, "terminal_census_consistent": true, "package_identity_consistent": true, "dimension_evidence_coherent": true, "blocking_reasons": [], "review_reasons": [ { "code": "CLOSURE_REVIEW_REQUIRED", "detail": "The footprint closure gate requires review before production use." } ] }, "status_detail": { "status": "PARTIAL", "gaps": [ { "stage": "S8_EMIT", "severity": "info", "message": "No-lead pin-1 orientation is assumed from package-family convention (pad 1 top_left, counter_clockwise), not proven by the datasheet. Verify pad numbering against the package drawing before fabrication." } ] }}Use the files
Add them to your KiCad project
- 01Add the .kicad_sym file in the Schematic Editor: Preferences, Manage Symbol Libraries.
- 02Put the .kicad_mod file in a folder whose name ends in .pretty, then add that folder in the PCB Editor: Preferences, Manage Footprint Libraries.
- 03Review the symbol, the footprint and the bundle's review status before you use them in a design.
Trust and limits
Built for review, not blind trust
Where the module is strong
- Each .kicad_sym and .kicad_mod is loaded with kicad-cli where it is available, and the result is recorded.
- Pin names, numbers and classes come from the extracted pinout contract.
- When the evidence is missing, the bundle says cannot_extract or needs_review instead of guessing.
What it does not claim
- A kicad-cli load is a file-format check. It is not a design rule check and does not replace your own DRC before manufacturing.
- Calculated pad sizes use dimensions read from the datasheet. Those dimensions are flagged for review.
- Manufacturer land patterns can differ from the IPC-7351B nominal equations.
- No-lead pin-1 orientation can be assumed from package-family convention. The audit says so; verify pad numbering against the package drawing.
- Thermal-pad paste patterns should be reviewed against your stencil foil thickness.
Next step
Build a KiCad library from your datasheets
Upload a datasheet, check the extracted pinout and dimensions, and download the symbol and footprint files with the bundle's review status.
Run it on a datasheet you have.
Free passes cover pinout, footprint, thermal, timing and pin cautions. The KiCad bundle runs on module credits instead.
Explore extraction capabilities