commit 7acb3eab6fd60cc1e53c70ec5b59ae1508599e8c Author: King Kévin Date: Thu Jan 16 21:36:23 2020 +0100 commit exisiting parts diff --git a/README.md b/README.md new file mode 100644 index 0000000..8d5815f --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +electronic parts definitions for [QEDA](https://doc.qeda.org/core/) diff --git a/capacitor/c0603.yaml b/capacitor/c0603.yaml new file mode 100644 index 0000000..5b851ac --- /dev/null +++ b/capacitor/c0603.yaml @@ -0,0 +1,13 @@ +name: C0603 +description: Chip capacitor 1.6x0.8 mm +keywords: Capacitor + +schematic: + symbol: capacitor + +housing: + pattern: chip + bodyLength: 1.45-1.75 + bodyWidth: 0.65-0.95 + height: 0.78-0.92 + leadLength: 0.2-0.5 diff --git a/capacitor/c0805.yaml b/capacitor/c0805.yaml new file mode 100644 index 0000000..cdf0207 --- /dev/null +++ b/capacitor/c0805.yaml @@ -0,0 +1,13 @@ +name: C0805 +description: Chip capacitor 2x1.25 mm +keywords: Capacitor + +schematic: + symbol: capacitor + +housing: + pattern: chip + bodyLength: 1.8-2.2 + bodyWidth: 1.05-1.45 + height: 1.1-1.4 + leadLength: 0.25-0.75 diff --git a/connector/connector_battery_18650.yaml b/connector/connector_battery_18650.yaml new file mode 100644 index 0000000..bba124b --- /dev/null +++ b/connector/connector_battery_18650.yaml @@ -0,0 +1,34 @@ +name: 18650_HOLDER +description: 18650 battery holder +keywords: battery +# https://www.aliexpress.com/item/Carprie-New-DIY-Storage-Box-Holder-Case-For-1-x-18650-Rechargeable-Battery-18Apr20-Dropshipping/32864529390.html + +pinout: + BAT+: 1 + BAT-: 2 + +properties: + power: BAT+ + ground: BAT- + +schematic: + symbol: ic # connector makes weird stuff + top: BAT+ + bottom: BAT- + nc: MOUNTING_HOLE + +housing: + pattern: custom + bodyWidth: 77.7 + bodyLength: 20.9 + height: 21.31 + + # pins + holeDiameter: 2.4 + padDiameter: 3.0 + padPosition: -36.45, 0, 36.45, 0 + + # mounting hole + holeDiameter1: 3.2 + padDiameter1: 0 + padPosition1: -27.805, 0, 27.805, 0 diff --git a/connector/connector_idc-2.54.yaml b/connector/connector_idc-2.54.yaml new file mode 100644 index 0000000..64ecf52 --- /dev/null +++ b/connector/connector_idc-2.54.yaml @@ -0,0 +1,350 @@ +name: IDC-2.54 +description: IDC header, 2 rows, 0.1 in/2.54 mm pitch, through hole, straight, box, shrouded +variations: 2x3, 2x4, 2x5, 2x6, 2x7, 2x8, 2x10, 2x12, 2x13, 2x15, 2x17, 2x20, 2x25, 2x30, 2x32 +keywords: Connector, Male, IDC + +pinout@2x3: 1-6 + +pinout@2x4: 1-8 + +pinout@2x5: 1-10 + +pinout@2x6: 1-12 + +pinout@2x7: 1-14 + +pinout@2x8: 1-16 + +pinout@2x10: 1-20 + +pinout@2x12: 1-24 + +pinout@2x13: 1-26 + +pinout@2x15: 1-30 + +pinout@2x17: 1-34 + +pinout@2x20: 1-40 + +pinout@2x25: 1-50 + +pinout@2x30: 1-60 + +pinout@2x32: 1-64 + +schematic@2x3: + suffix: -2x3 + symbol: connector + left: 1, 3, 5 + right: 2, 4, 6 + +schematic@2x4: + suffix: -2x4 + symbol: connector + left: 1, 3, 5, 7 + right: 2, 4, 6, 8 + +schematic@2x5: + suffix: -2x5 + symbol: connector + left: 1, 3, 5, 7, 9 + right: 2, 4, 6, 8, 10 + +schematic@2x6: + suffix: -2x6 + symbol: connector + left: 1, 3, 5, 7, 9, 11 + right: 2, 4, 6, 8, 10, 12 + +schematic@2x7: + suffix: -2x7 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13 + right: 2, 4, 6, 8, 10, 12, 14 + +schematic@2x8: + suffix: -2x8 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15 + right: 2, 4, 6, 8, 10, 12, 14, 16 + +schematic@2x10: + suffix: -2x10 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19 + right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20 + +schematic@2x12: + suffix: -2x12 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23 + right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24 + +schematic@2x13: + suffix: -2x13 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25 + right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26 + +schematic@2x15: + suffix: -2x15 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29 + right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30 + +schematic@2x17: + suffix: -2x17 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33 + right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34 + +schematic@2x20: + suffix: -2x20 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39 + right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40 + +schematic@2x25: + suffix: -2x25 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49 + right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50 + +schematic@2x30: + suffix: -2x30 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59 + right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60 + +schematic@2x32: + suffix: -2x32 + symbol: connector + left: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63 + right: 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64 + +housing@2x3: + suffix: -2x3 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 3 + bodyLength: 14.72-15.72 + +housing@2x4: + suffix: -2x4 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 4 + bodyLength: 17.26-18.26 + +housing@2x5: + suffix: -2x5 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 5 + bodyLength: 19.8-20.8 + +housing@2x6: + suffix: -2x6 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 6 + bodyLength: 22.34-23.34 + +housing@2x7: + suffix: -2x7 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 7 + bodyLength: 24.88-25.88 + +housing@2x8: + suffix: -2x8 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 8 + bodyLength: 27.42-28.42 + +housing@2x10: + suffix: -2x10 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 10 + bodyLength: 32.5-33.5 + +housing@2x12: + suffix: -2x12 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 12 + bodyLength: 37.58-38.58 + +housing@2x13: + suffix: -2x13 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 13 + bodyLength: 40.12-41.12 + +housing@2x15: + suffix: -2x15 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 15 + bodyLength: 45.2-46.2 + +housing@2x17: + suffix: -2x17 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 17 + bodyLength: 50.28-51.28 + +housing@2x20: + suffix: -2x20 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 20 + bodyLength: 57.9-58.9 + +housing@2x25: + suffix: -2x25 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 25 + bodyLength: 70.6-71.6 + +housing@2x30: + suffix: -2x30 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 30 + bodyLength: 83.3-84.3 + +housing@2x32: + suffix: -2x32 + pattern: custom + options: polarized + height: 8.8-9.1 + pitch: 2.54 + leadHeight: 3.2-3.4 + leadWidth: 0.64 + leadLength: 0.64 + holeDiameter: 1.0 + columnCount: 2 + bodyWidth: 8.9-9.1 + rowCount: 32 + bodyLength: 88.38-89.38 + diff --git a/connector/connector_lightning_iphone5.yaml b/connector/connector_lightning_iphone5.yaml new file mode 100644 index 0000000..c965da6 --- /dev/null +++ b/connector/connector_lightning_iphone5.yaml @@ -0,0 +1,61 @@ +name: LIGHTNING_IPHONE5 +description: lightning connector for iPhone 5 +datasheet: https://aliexpress.com/item/32923926674.html, 50--5 +keywords: connector, lightning + +pinout: + GND: 1 + L0p: 2 + L0n: 3 + ID0: 4 + PWR: 5 + L1n: 6 + L1p: 7 + ID1: 8 + INSERT_DETECT: 9, 10 + SHIELD: 11, 12 + MOUNTING_TAB: 13, 14 + +properties: + power: PWR + bidir: L0p, L0n, L1n, L1p, ID0, ID1 + ground: GND + passive: INSERT_DETECT, SHIELD, MOUNTING_TAB + +schematic: + symbol: connector + top: PWR, INSERT_DETECT + right: L0p, L0n, L1n, L1p, ID0, ID1 + bottom: GND, SHIELD, MOUNTING_TAB + +housing: + pattern: custom + bodyWidth: 10.30 + bodyLength: 8.20 + height: 3.3 + + # lightning + padWidth: 0.4 # lead width = 0.2 + padHeight: 1.5 # lead height = 1.3 + pitch: 0.6 + rowCount: 1 + columnCount: 8 + rowDX: 0 + rowDY: -4.75 + + # insert detect + padWidth1: 0.4 # lead width = 0.2 + padHeight1: 1.5 # lead height = 1.3 + padPosition1: -2.93, -4.75, 2.93, -4.75 + + # shield tabs + padWidth2: 1.6 # lead width = 1.15-1.37 + padHeight2: 1.2 # lead height = 1.0 + padPosition2: -5.8, -3.3, 5.8, -3.3 + + # mounting tabs + slotWidth3: 0.6 # tab height = 0.2 + slotHeight3: 1.4 # tab height = 1.0 + padWidth3: 1.0 + padHeight3: 1.8 + padPosition3: -5.05, 0.95, 5.05, 0.95 # 7.15/2, 2.3-3.45 diff --git a/connector/connector_usb-a-2.0-plug_molex_48037-2200.yaml b/connector/connector_usb-a-2.0-plug_molex_48037-2200.yaml new file mode 100644 index 0000000..9cdf38a --- /dev/null +++ b/connector/connector_usb-a-2.0-plug_molex_48037-2200.yaml @@ -0,0 +1,44 @@ +name: MOLEX_48037-2200 +description: USB 2.0 standard-A plug, right angle +datasheet: https://www.molex.com/pdm_docs/sd/480372200_sd.pdf +keywords: connector, USB + +pinout: + USB: + VBUS: 1 + D-: 2 + D+: 3 + GND: 4 + SHELL: + SHIELD: 5, 6 + +properties: + power: VBUS + ground: GND, GND_DRAIN + bidir: D-, D+ + passive: SHIELD + +schematic: + symbol: connector + right: USB + bottom: SHELL + +housing: + pattern: custom + bodyWidth: 12.00 + bodyLength: 18.75 + bodyPosition: 0, 8.375 # 17.75 - 18.75 / 2 + height: 4.50 + + padWidth: 1.20 + padHeight: 3.00 + padPosition: 3.50, -2.60, 1.00, -2.60, -1.00, -2.60, -3.50, -2.60 + + holeDiameter1: 2.50 + slotWidth1: 0.70 + slotHeight1: 2.50 + padPosition1: -5.85, 0, 5.85, 0 + + holeDiameter2: 1.10 + padDiameter2: 0 + padPosition2: -2.25, 0, 2.25, 0 diff --git a/connector/connector_usb-a-3.0_fci_10117835.yaml b/connector/connector_usb-a-3.0_fci_10117835.yaml new file mode 100644 index 0000000..a0bdeac --- /dev/null +++ b/connector/connector_usb-a-3.0_fci_10117835.yaml @@ -0,0 +1,51 @@ +name: FCI_10117835 +description: USB 3.0 standard-A receptacle, right angle +datasheet: http://www.amphenol-icc.com/media/wysiwyg/files/drawing/10117835.pdf +keywords: connector, usb + +pinout: + USB: + VBUS: 1 + D-: 2 + D+: 3 + GND: 4 + USB3.0: + SSRX-: 5 + SSRX+: 6 + GND_DRAIN: 7 + SSTX-: 8 + SSTX+: 9 + SHELL: + SHIELD: 10, 11 + +properties: + power: VBUS + ground: GND, GND_DRAIN + bidir: D-, D+ + in: SSRX-, SSRX+ + out: SSTX-, SSTX+ + passive: SHIELD + +schematic: + symbol: connector + right: USB, USB3.0 + bottom: SHELL + +housing: + pattern: custom + bodyWidth: 15.88 + bodyLength: 16.70 + bodyPosition: 0, 3.43 + height: 7.0 + + # USB 2.0 + holeDiameter: 0.7 + padPosition: -3.5, -2.0, -1.0, -2.0, 1.0, -2.0, 3.5, -2.0 + + # USB 3.0 + holeDiameter1: 0.7 + padPosition1: 4.0, -3.5, 2.0, -3.5, 0.0, -3.5, -2.0, -3.5, -4.0, -3.5 + + # shell/shield + holeDiameter2: 2.3 + padPosition2: -6.57, 0, 6.57, 0 diff --git a/connector/connector_usb-b-3.0_amphenol_gsb4211.yaml b/connector/connector_usb-b-3.0_amphenol_gsb4211.yaml new file mode 100644 index 0000000..89c729a --- /dev/null +++ b/connector/connector_usb-b-3.0_amphenol_gsb4211.yaml @@ -0,0 +1,53 @@ +name: USB-B-3 +description: USB 3.0, type B +# they all have a similar footprint +datasheet: http://www.amphenol-icc.com/media/wysiwyg/files/drawing/gsb4211xxxweu.pdf +keywords: connector, USB + +pinout: + USB: + VBUS: 1 + D-: 2 + D+: 3 + GND: 4 + USB3.0: + SSTX-: 5 + SSTX+: 6 + GND_DRAIN: 7 + SSRX-: 8 + SSRX+: 9 + SHIELD: 10, 11 + +properties: + power: VBUS + ground: GND, GND_DRAIN + bidir: D-, D+ + in: SSRX-, SSRX+ + out: SSTX-, SSTX+ + passive: SHIELD + +schematic: + symbol: connector + right: USB, USB3.0 + bottom: SHIELD + +housing: + pattern: custom + bodyWidth: 12.00 + bodyLength: 18.35 + bodyPosition: 0, 1.125 # use mounting holes as center (10.3 - 18.35 / 2) + height: 12.90 + silkscreen: M -6.02 2.625 6.02 2.625 # PCB edge (3.75 - 1.125) + + # USB 2.0 pins + holeDiameter: 0.92 + padPosition: 1.25, -4.71, -1.25, -4.71, -1.25, -2.71, 1.25, -2.71 + + # USB 3.0 pins + holeDiameter1: 0.70 + padPosition1: -4.25, -6.71, -2.5, -6.71, 0, -6.71, 2.5, -6.71, 4.25, -6.71 + + # shell/shield mounting holes + holeDiameter2: 2.3 + padPosition2: -6.02, 0, 6.02, 0 + diff --git a/connector/connector_usb-c_hro_type-c-31-m-04.yaml b/connector/connector_usb-c_hro_type-c-31-m-04.yaml new file mode 100644 index 0000000..04f74d7 --- /dev/null +++ b/connector/connector_usb-c_hro_type-c-31-m-04.yaml @@ -0,0 +1,74 @@ +name: HRO_TYPE-C-31-M-04 +description: USB 3.1 receptacle, type C +datasheet: https://datasheet.lcsc.com/szlcsc/1903211731_Korean-Hroparts-Elec-TYPE-C-31-M-04_C129018.pdf +keywords: connector, USB + +pinout: + A: + TX+1: 2 + TX-1: 3 + CC1: 5 + D+1: 6 + D-1: 7 + SBU1: 8 + RX-2: 10 + RX+2: 11 + B: + RX+1: 14 + RX-1: 15 + SBU2: 17 + D-2: 18 + D+2: 19 + CC2: 20 + TX-2: 22 + TX+2: 23 + GND: 1, 12, 13, 24 + VBUS: 4, 9, 16, 21 + SHIELD: 25, 26, 27, 28 + MOUNTING: 29, 30 + +properties: + power: VBUS + ground: GND + bidir: D-, D+, CC1, CC2, SBU1, SBU2 + in: RX-1, RX+1, RX-2, RX+2 + out: TX-1, TX+1, TX-2, TX+2 + passive: SHIELD + nc: MOUNTING + +schematic: + symbol: connector + right: A, B + top: VBUS + bottom: GND, SHIELD + +housing: + pattern: custom + bodyWidth: 9.55-10.15 + bodyLength: 9.87 + bodyPosition: 0, 3.235 # use mounting holes line as center (8.17 - 9.87 / 2) + height: 3.32 + + # A + padWidth: 0.30 + padHeight: 0.90 + pitch: 0.50 + rowCount: 1 + columnCount: 12 + rowDX: 0 + rowDY: -0.56 + + # B + holeDiameter1: 0.4 + padDiameter1: 0.6 + padPosition1: -2.875, 0.65, -2.475, 1.35, -1.675, 1.35, -1.275, 0.65, -0.875, 1.35, -0.457, 0.65, 0.457, 0.65, 0.875, 1.35, 1.275, 0.65, 1.675, 1.35, 2.475, 1.35, 2.875, 0.65 + + # shield + holeDiameter2: 1.1 + padDiameter2: 1.5 + padPosition2: -4.195, 1.24, 4.195, 1.24, -4.565, 5.64, 4.565, 5.64 + + # mounting hole + holeDiameter3: 0.65 + padPosition3: -3.675, 0, 3.675, 0 + diff --git a/connector/connector_usb-c_xkb_u261-24xn-4bs60.yaml b/connector/connector_usb-c_xkb_u261-24xn-4bs60.yaml new file mode 100644 index 0000000..9b464cc --- /dev/null +++ b/connector/connector_usb-c_xkb_u261-24xn-4bs60.yaml @@ -0,0 +1,60 @@ +name: XKB_U261-24XN-4BS60 +descripton: USB-C plug, 24 pins, edge mount +datasheet: https://datasheet.lcsc.com/szlcsc/2001050503_XKB-Enterprise-U261-24XN-4BS60_C319150.pdf +keywords: connector, USB +# LCSC C319150 https://lcsc.com/product-detail/USB-Connectors_XKB-Enterprise-U261-24XN-4BS60_C319150.html +# since QEDA does not allow to put pads on both side, this footprint is one for one side + +pinout: + TX+: 2 + TX-: 3 + CC: 5 + D+: 6 + D-: 7 + SBU: 8 + RX-: 10 + RX+: 11 + GND: 1, 12 + VBUS: 4, 9 + SHIELD: 25, 26 + +properties: + power: VBUS + ground: GND + bidir: D-, D+, CC, SBU + in: RX-, RX+ + out: TX-, TX+ + passive: SHIELD + +schematic: + symbol: connector + left: TX+, TX-, CC, D+, D-, SBU, RX-, RX+ + top: VBUS + bottom: GND, SHIELD + +housing: + pattern: custom + bodyWidth: 8.22-8.28 + bodyLength: 11.95-12.45 + bodyPosition: 0, 5.45 # use signal pad center (12.20 / 2 - 1.70 + 1.20 - 0.90 + 1.50 / 2) + height: 3.60 + # board in connector + silkscreen: M -3.95 -4.4 -3.05 -4.4 M 3.95 -4.4 3.05 -4.4 M -3.05 -4.4 -3.05 -3.5 M 3.05 -4.4 3.05 -3.5 M -3.05 -3.5 3.05 -3.5 + + # signals + padWidth: 0.30 + padHeight: 1.50 + pitch: 0.50 + rowCount: 1 + columnCount: 12 + rowDX: 0 + rowDY: 0 + + # shield + padWidth1: 0.70 + padHeight1: 1.40 + pitch1: 7.20 + rowCount1: 1 + columnCount1: 2 + rowDX1: 0 + rowDY1: -0.05 diff --git a/connector/connector_usb-c_xkb_u262-24xn-4bv60.yaml b/connector/connector_usb-c_xkb_u262-24xn-4bv60.yaml new file mode 100644 index 0000000..96a00a7 --- /dev/null +++ b/connector/connector_usb-c_xkb_u262-24xn-4bv60.yaml @@ -0,0 +1,84 @@ +name: XKB_U262-24XN-4BV60 +descripton: USB-C receptacle, 24 pins, sutface mouant and through hole +datasheet: https://datasheet.lcsc.com/szlcsc/1905061605_XKB-Enterprise-U262-241N-4BV60_C388659.pdf +keywords: connector, USB +# LCSC C388659 https://lcsc.com/product-detail/New-Arrivals_XKB-Enterprise-U262-241N-4BV60_C388659.html + +pinout: + A: + TX+1: 2 + TX-1: 3 + CC1: 5 + D+1: 6 + D-1: 7 + SBU1: 8 + RX-2: 10 + RX+2: 11 + B: + RX+1: 14 + RX-1: 15 + SBU2: 17 + D-2: 18 + D+2: 19 + CC2: 20 + TX-2: 22 + TX+2: 23 + GND: 1, 12, 13, 24 + VBUS: 4, 9, 16, 21 + SHIELD: 25, 26, 27, 28 + MOUNTING: 29, 30 + +properties: + power: VBUS + ground: GND + bidir: D-1, D+1, D-1, D+1, CC1, CC2, SBU1, SBU2 + in: RX-1, RX+1, RX-2, RX+2 + out: TX-1, TX+1, TX-2, TX+2 + passive: SHIELD + nc: MOUNTING + +schematic: + symbol: connector + left: A + right: B + top: VBUS + bottom: GND, SHIELD + +housing: + pattern: custom + bodyWidth: 9.90 + bodyLength: 10 + bodyPosition: 0, 3.17 # use mounting holes line as center (8.17 - 10 / 2) + height: 3.26 + + # A + padWidth: 0.30 + padHeight: 0.90 + pitch: 0.50 + rowCount: 1 + columnCount: 12 + rowDX: 0 + rowDY: -0.56 + + # B + holeDiameter1: 0.4 + padDiameter1: 0.6 + padPosition1: -2.875, 0.65, -2.475, 1.35, -1.675, 1.35, -1.275, 0.65, -0.875, 1.35, -0.457, 0.65, 0.457, 0.65, 0.875, 1.35, 1.275, 0.65, 1.675, 1.35, 2.475, 1.35, 2.875, 0.65 + + # shield + slotWidth2: 0.5 + slotHeight2: 1.1 + padWidth2: 0.9 + padHeight2: 1.5 + padPosition2: -4.205, 1.25, 4.205, 1.25, -4.565, 5.64, 4.565, 5.64 + + # mounting hole + holeDiameter3: 0.65 + padPosition3: -3.675, 0, 3.675, 0 + + # solder tabs + padWidth4: 0.50 + padHeight4: 0.30 + #padPosition4: -3.445, -1.55, -1.325, -1.55, 1.325, -1.55, 3.445, -1.55 + padPosition4: -3.445, -1.55, 3.445, -1.55 + diff --git a/connector/connector_usb-micro-b-2.0_ali_32910334970.yaml b/connector/connector_usb-micro-b-2.0_ali_32910334970.yaml new file mode 100644 index 0000000..7e3646f --- /dev/null +++ b/connector/connector_usb-micro-b-2.0_ali_32910334970.yaml @@ -0,0 +1,56 @@ +name: USB_2_MICRO-B +description: USB 2.0 micro receptacle, type B, SMT +datasheet: https://www.aliexpress.com/item/32910334970.html +keywords: connector, usb + +pinout: + USB: + VBUS: 1 + D-: 2 + D+: 3 + ID: 4 + GND: 5 + SHELL: + MOUNTING_TAB: 6, 7, 8, 9 + MOUNTING_HOLE: 10, 11 + +properties: + power: VBUS + ground: GND + bidir: D-, D+ + in: ID + passive: MOUNTING_TAB + nc: MOUNTING_HOLE + +schematic: + symbol: connector + right: USB + bottom: MOUNTING_TAB + +housing: + pattern: custom + bodyWidth: 8.0 + bodyLength: 6.6 + bodyPosition: 0, 1.75 # use holes line as center 6.6/2 - (0.8/2 + 3.45 - 2.3) + height: 3.0 + silkscreen: M -3.575 2.7 3.575 2.7 # PCB edge + + # USB pins + padWidth: 0.4 + padHeight: 1.85 + pitch: 0.65 + rowCount: 1 + columnCount: 5 + rowDX: 0 # 2 * 0.65 + rowDY: -0.720 # -1.85 / 2 + 0.25 + + # shell mounting tabs + slotWidth1: 0.65 + slotHeight1: 1.85 + padWidth1: 0.95 + padHeight1: 2.15 + padPosition1: -3.575, -1.15, 3.575, -1.15, -3.575, 2.30, 3.575, 2.3 # 7.15/2, 2.3-3.45 + + # mounting holes + holeDiameter2: 0.8 + padPosition2: -2.0, 0 , 2.0, 0 diff --git a/connector/connector_usb-micro-b-3.0_gct_usb3110.yaml b/connector/connector_usb-micro-b-3.0_gct_usb3110.yaml new file mode 100644 index 0000000..c77e475 --- /dev/null +++ b/connector/connector_usb-micro-b-3.0_gct_usb3110.yaml @@ -0,0 +1,82 @@ +name: GCT_USB3110 +description: USB 3.0 micro receptacle, type b, SMT +datasheet: https://gct.co/connector/usb3110, https://www.aliexpress.com/item//32808667114.html +keywords: connector, usb + +pinout: + USB: + VBUS: 1 + D-: 2 + D+: 3 + ID: 4 + GND: 5 + USB3.0: + SSTX-: 6 + SSTX+: 7 + GND_DRAIN: 8 + SSRX-: 9 + SSRX+: 10 + SHELL: + MOUNTING_TAB: 11, 12 + MOUNTING_PAD: 13, 14, 15, 16 + +properties: + power: VBUS + ground: GND, GND_DRAIN + bidir: D-, D+ + in: ID, SSRX-, SSRX+ + out: SSTX-, SSTX+ + passive: MOUNTING_TAB + nc: MOUNTING_PAD + +schematic: + symbol: connector + right: USB, USB3.0 + bottom: MOUNTING_TAB + +housing: + pattern: custom + bodyWidth: 12.85 + bodyLength: 5.00 + bodyPosition: 0, -0.35 # use tab center line as center + height: 2.45 + silkscreen: M -6.275 1.80 6.275 1.80 # PCB edge (1.45 + 0.35) + + # USB 2.0 left pins + padWidth: 0.4 + padHeight: 1.35 + pitch: 0.65 # 1.30 / 2 + rowCount: 1 + columnCount: 5 + rowDX: -2.675 # center of 5 pin ground -(3.60+8.95)/2 + 3.60 + rowDY: -2.675 # 2 + 1.35 / 2 + + # USB 3.0 right pins + padWidth1: 0.4 + padHeight1: 1.35 + pitch1: 0.65 # 1.30 / 2 + rowCount1: 1 + columnCount1: 5 + rowDX1: 4.025 # center of 5 pin ground -(3.60+8.95)/2 + 3.60 + 6.70 + rowDY1: -2.675 # 2 + 1.35 / 2 + + # shell mounting holes + # slots are not supported by qeda + #holeWidth2: 0.45 + #holeHeight2: 1.25 # 0.8 + 0.45 + #padWidth2: 1.05 + #padHeight2: 1.85 # 0.8 + 0.45 + (1.05 - 0.45) + # use the largest dimension to make a hole of the slot + holeDiameter2: 1.25 # use the largest dimension to make a hole of the slot + padDiameter2: 1.85 # use the largest dimension to make a hole of the slot + padPosition2: -6.275, 0, 6.275, 0 # -(3.60+8.95)/2 + + # shell + padWidth3: 2.025 # 2.15 - 0.25 / 2 + padHeight3: 1.85 # not specified, re-using mounting hole height + padPosition3: -3.875, 0 , -1.475, 0 # -(3.60+8.95)/2 + 3.60 - 0.25 - (2.15-0.25)/2, 0, -(3.60+8.95)/2 + 3.60 + 0.25 + (2.15-0.25)/2, 0 + + padWidth4: 1.8 # 4.9 - 3.1 + padHeight4: 1.85 # not specified, re-using mounting hole height + padPosition4: 1.325, 0 , 3.825, 0 # -(3.60+8.95)/2 + 3.60 + 3.1 + 1.8/2, 0, -(3.60+8.95)/2 + 3.60 + 5.6 + 1.8/2, 0 + diff --git a/connector/connector_usb-mini-b_edac_690-005-299-043.yaml b/connector/connector_usb-mini-b_edac_690-005-299-043.yaml new file mode 100644 index 0000000..68f7d29 --- /dev/null +++ b/connector/connector_usb-mini-b_edac_690-005-299-043.yaml @@ -0,0 +1,50 @@ +name: USB_mini-B +description: USB 2.0 receptacle, type mini-B +datasheet: http://files.edac.net/690-005-299-043.pdf +keywords: connector, USB + +pinout: + VBUS: 1 + D-: 2 + D+: 3 + ID: 4 + GND: 5 + SHIELD: 6, 7, 8, 9 + +properties: + power: VBUS + ground: GND + bidir: D-, D+ + passive: ID, SHIELD + +schematic: + symbol: connector + right: D-, D+, ID + top: VBUS + bottom: GND, SHIELD + +housing: + pattern: custom + bodyWidth: 7.5 + bodyLength: 9.2 + bodyPosition: 0, 0.6 # use mounting holes line as center (5.2 - 9.2 / 2) + height: 3.88 + + # USB + padWidth: 0.50 + padHeight: 2.30 + pitch: 0.80 + rowCount: 1 + columnCount: 5 + rowDX: 0 + rowDY: -2.65 + + # shield + padWidth1: 2.00 + padHeight1: 2.50 + padPosition1: -4.45, 2.95, 4.45, 2.95, -4.45, -2.55, 4.45, -2.55 + + # mounting hole + holeDiameter2: 0.90 + padPosition2: -2.20, 0, 2.20, 0 + diff --git a/connector/connector_xh-2.54-2p.yaml b/connector/connector_xh-2.54-2p.yaml new file mode 100644 index 0000000..c2f82fb --- /dev/null +++ b/connector/connector_xh-2.54-2p.yaml @@ -0,0 +1,27 @@ +name: XH-2.54-2P +# the JST XH series has a pitch of 2.5 mm +description: similar to JST XH series connector, with 2 pins, pitch 2.54 mm +keywords: connector + +pinout: + +: 1 + -: 2 + +schematic: + symbol: connector + +# measured from actual connector +housing: + pattern: custom + bodyWidth: 7.45 + bodyLength: 5.75 + height: 7.0 + + # pins + holeDiameter: 1.0 + padDiameter: 1.8 + pitch: 2.54 + rowCount: 1 + columnCount: 2 + rowDX: 0 + rowDY: -0.425 diff --git a/devboard/blue-pill.yaml b/devboard/blue-pill.yaml new file mode 100644 index 0000000..979633e --- /dev/null +++ b/devboard/blue-pill.yaml @@ -0,0 +1,52 @@ +name: blue-pill +description: STM32F103C8T6-based development board +datasheet: https://wiki.cuvoodoo.info/doku.php?id=stm32f1xx#blue_pill +keywords: IC, MCU, Micro-Controller, STM32, STM32F1, STM32F103, Development Board + +pinout: + PORTA: + PA0-12: 25-32, 5-9 + PA15: 10 + PORTB: + PB0-1: 33-34 + PB3-15: 11-17, 35-36, 1-4 + PORTC: + PC13-15: 22-24 + CTRL: + ~NRST: 37 + GND: 19, 39, 40 + POWER: + 3V3: 20, 38 + 5V: 18 + VB: 21 + +properties: + in: ~NRST + bidir: PA0-15, PB0-15, PC13-15 + power: 3V3, 5V, VB + ground: GND + inverted: ~NRST + +schematic: + symbol: IC + left: PORTA, PORTC + right: PORTB, CTRL + top: POWER + bottom: GND + +housing: + pattern: DIP + bodyWidth: 22.5 + bodyLength: 53 + height: 12.7 + pitch: 2.54 + leadWidth: 0.64 + leadLength: 0.64 + leadHeight: 0.5 # should be 6 but the generated pattern would be too large (no idea why) + leadCount: 40 + holeDiameter: 1.0 + leadSpan: 15 + horizontalPitch: 15 + verticalPitch: 2.54 + rowCount: 20 + columnCount: 2 diff --git a/devboard/stm32f103rx-square.yaml b/devboard/stm32f103rx-square.yaml new file mode 100644 index 0000000..fab6040 --- /dev/null +++ b/devboard/stm32f103rx-square.yaml @@ -0,0 +1,125 @@ +name: stm32f103rx-square +description: STM32F103Rx-based (TQFP-64) square development board +keywords: IC, MCU, Micro-Controller, STM32, STM32F1, STM32F103, Development Board + +pinout: + PORTA: + PA0: 13 + PA1: 16 + PA2: 15 + PA3: 18 + PA4: 19 + PA5: 21 + PA6: 22 + PA7: 23 + PA8: 51 + PA9: 52 + PA10: 49 + PA11: 50 + PA12: 47 + PA13: 48 + PA14: 43 + PA15: 44 + PORTB: + PB0: 26 + PB1: 27 + PB2: 28 + PB3: 37 + PB4: 38 + PB5: 35 + PB6: 36 + PB7: 33 + PB8: 31 + PB9: 32 + PB10: 29 + PB11: 30 + PB12: 59 + PB13: 60 + PB14: 57 + PB15: 58 + PORTC: + PC0: 7 + PC1: 10 + PC2: 9 + PC3: 12 + PC4: 24 + PC5: 25 + PC6: 55 + PC7: 56 + PC8: 53 + PC9: 54 + PC10: 41 + PC11: 42 + PC12: 39 + PC13: 1 + PC14: 4 + PC15: 3 + PORTD: + PD0: 6 + PD1: 5 + PD2: 40 + CTRL: + ~NRST: 8 + TX: 67 + RX: 66 + GND: 11, 17, 45, 64, 68 + POWER: + 3V3: 20, 34, 46, 63, 65 + 5V: 61, 62 + VDDA: 14 + VBAT: 2 + +properties: + in: ~NRST + bidir: PA0-15, PB0-15, PC0-15, PD0-2 + power: 3V3, 5V, VBAT, VDDA + ground: GND + inverted: ~NRST + +schematic: + symbol: IC + left: PORTA, PORTB + right: PORTC, PORTD, CTRL + top: POWER + bottom: GND + +housing: + pattern: custom + bodyWidth: 50.0 + bodyLength: 50.0 + height: 20.0 + + holeDiameter1: 1.0 + pitch1: 2.54 + rowCount1: 15 + columnCount1: 2 + columnDX1: -21.59 + + holeDiameter2: 1.0 + pitch2: 2.54 + rowCount2: 15 + columnCount2: 2 + columnDX2: 21.59 + + holeDiameter3: 1.0 + pitch3: 2.54 + rowCount3: 2 + columnCount3: 4 + columnDX3: 12.5 + columnDY3: 22.2 + + holeDiameter4: 2.0 + padDiameter4: 0 + padPosition4: -21.59, -22.0 + + holeDiameter5: 2.0 + padDiameter5: 0 + padPosition5: -21.59, 22.0 + + holeDiameter6: 2.0 + padDiameter6: 0 + padPosition6: 21.59, -22.0 + + holeDiameter7: 2.0 + padDiameter7: 0 + padPosition7: 21.59, 22.0 diff --git a/diode/led0603.yaml b/diode/led0603.yaml new file mode 100644 index 0000000..61d29bb --- /dev/null +++ b/diode/led0603.yaml @@ -0,0 +1,14 @@ +name: LED0603 +description: Chip LED 1.6x0.8 mm +keywords: LED + +schematic: + symbol: LED + +housing: + pattern: chip + options: polarized + bodyLength: 1.5-1.7 + bodyWidth: 0.7-0.9 + height: 0.7-0.9 + leadLength: 0.3 diff --git a/display/display_lcd_i2cadapter.yaml b/display/display_lcd_i2cadapter.yaml new file mode 100644 index 0000000..d7d914e --- /dev/null +++ b/display/display_lcd_i2cadapter.yaml @@ -0,0 +1,73 @@ +name: I2C_LCD_ADAPTER +description: board to communicate with HD44780-based LCD module over I2C +keywords: display, LCD, I2C +datasheet: https://www.aliexpress.com/item/32984738230.html +# this board uses a PCF8574 I/O expander controlled over I2C. here is it's pinout: +# P0: RS +# P1: RnW +# P2: E +# P3: LED +# P4: D4 +# P5: D5 +# P6: D6 +# P7: D7 + +pinout: + LCD: + LED_K: 1 + LED_A: 2 + DB7: 3 + DB6: 4 + DB5: 5 + DB4: 6 + DB3: 7 + DB2: 8 + DB1: 9 + DB0: 10 + E: 11 + RnW: 12 + RS: 13 + VO: 14 + VDD: 15 + VSS: 16 + I2C: + GND: 17 + VCC: 18 + SDA: 19 + SCL: 20 + +properties: + power: VDD, LED_A, VCC + ground: VSS, LED_K, GND + bidir: DB0-DB7, SDA + in: VO, RS, RnW, E, SCL + +schematic: + symbol: ic + top: VCC + bottom: GND + left: SDA, SCL + right: LCD + +housing: + pattern: custom + bodyWidth: 42 + bodyLength: 19 + + # LCD pins + holeDiameter: 1.0 + padDiameter: 1.8 + pitch: 2.54 + rowCount: 1 + columnCount: 16 + rowDX: 0.0 + rowDY: -8.0 + + # LCD pins + holeDiameter1: 1.0 + padDiameter1: 1.8 + pitch1: 2.54 + rowCount1: 4 + columnCount1: 1 + rowDX1: 19.0 + rowDY1: 0.0 diff --git a/display/display_lcd_lcm1602.yaml b/display/display_lcd_lcm1602.yaml new file mode 100644 index 0000000..3462cbf --- /dev/null +++ b/display/display_lcd_lcm1602.yaml @@ -0,0 +1,55 @@ +name: LCM1602 +description: LCD module, 16 characters x 2 lines, HD44780 driver +keywords: display, LCD +# here a version with 3.3V power supply (e.g. with the IC on the side boosting to 5.0V) https://www.aliexpress.com/item/1-pieces-16-2-Character-LCD-Display-LCM-1602-16X2-162-blue-display-HD44780-character-3/32425471801.html + +pinout: + VSS: 1 + VDD: 2 + VO: 3 + RS: 4 + RnW: 5 + E: 6 + DB0: 7 + DB1: 8 + DB2: 9 + DB3: 10 + DB4: 11 + DB5: 12 + DB6: 13 + DB7: 14 + LED_A: 15 + LED_K: 16 + +properties: + power: VDD, LED_A + ground: VSS, LED_K + bidir: DB0 + in: VO, RS, RnW, E + +schematic: + symbol: connector + left: RS, RnW, E, DB0-7 + right: VO, LED_A, LED_K + top: VDD + bottom: VSS + +housing: + pattern: custom + bodyWidth: 80.0 + bodyLength: 36.0 + height: 12.5 + + # pins + holeDiameter: 1.0 + padDiameter: 1.8 + pitch: 2.54 + rowCount: 1 + columnCount: 16 + rowDX: -12.95 # 80 / -2 + 8 + 7.5 * 2.54 + rowDY: -15.46 # 36 / -2 + 2.54 + + # mounting hole + holeDiameter1: 2.8 + padPosition1: -37.6, -15.6, 37.6, -15.6, -37.6, 15.6, 37.6, 15.6 # 2.4 from the corner + padDiameter1: 0 diff --git a/display/display_oled_0.96in.yaml b/display/display_oled_0.96in.yaml new file mode 100644 index 0000000..ccff903 --- /dev/null +++ b/display/display_oled_0.96in.yaml @@ -0,0 +1,51 @@ +name: OLED0.96 +description: OLED display module, 0.96 in., SSD1306, 128x96 pixels +keywords: display, OLED +datasheet: https://aliexpress.com/item/32896971385.html + +pinout: + GND: 1 + VDD: 2 + I2C: + SCK: 3 + SDA: 4 + +properties: + power: VDD + ground: GND + bidir: SDA + in: SCK + +schematic: + symbol: ic + left: I2C + top: VDD + bottom: GND + +housing: + pattern: custom + # from the drawing + #bodyWidth: 24.7 + # measured from the module I have + bodyWidth: 27 + bodyLength: 27 + height: 11.30 + + # pins + holeDiameter: 1.0 + padDiameter: 1.8 + pitch: 2.54 + rowCount: 1 + columnCount: 4 + rowDX: 0 + rowDY: -12.0 + + # mounting hole (from the drawing) + holeDiameter1: 2.8 + padPosition1: -10.25, -11.5, 10.25, -11.5, -10.25, 11.5, 10.25, 11.5 + padDiameter1: 0 + + # mounting hole (measured from the module I have) + holeDiameter2: 2.8 + padPosition2: -11.15, -11.5, 11.15, -11.5, -11.15, 11.5, 11.15, 11.5 + padDiameter2: 0 diff --git a/ic/ic_multiplexer_ti_cd74hc4067.yaml b/ic/ic_multiplexer_ti_cd74hc4067.yaml new file mode 100644 index 0000000..43e9bfc --- /dev/null +++ b/ic/ic_multiplexer_ti_cd74hc4067.yaml @@ -0,0 +1,63 @@ +name: CD74HC4067 +variations: PDIP, SOIC, SSOP +description: High-Speed CMOS Logic 16-Channel Analog Multiplexer/Demultiplexer +datasheet: http://www.ti.com/lit/ds/symlink/cd74hc4067.pdf +keywords: IC, Digital, Analog, Multiplexer + +pinout: + SWITCH: + S0: 10 + S1: 11 + S2: 14 + S3: 13 + COMMON: 1 + MULTIPLEXED: + I0: 9 + I1: 8 + I2: 7 + I3: 6 + I4: 5 + I5: 4 + I6: 3 + I7: 2 + I8: 23 + I9: 22 + I10: 21 + I11: 20 + I12: 19 + I13: 18 + I14: 17 + I15: 16 + ~E: 15 + VCC: 24 + GND: 12 + +properties: + bidir: COMMON, I0-15 + input: S0-3, ~E + power: VCC + ground: GND + +schematic: + symbol: IC + left: COMMON, SWITCH, ~E + right: MULTIPLEXED + top: VCC + bottom: GND + +sku@SOIC: + aliexpress: 32847270272 + digikey: 296-29408-1-ND + +housing@PDIP: + suffix: E, EE4 + outline: JEDEC MS-010 AB + +housing@SOIC: + suffix: M, M96, M96E4, M94G4, MG4 + outline: JEDEC MS-013 AD + +housing@SSOP: + suffix: SM96, SM96E4, SM96G4, DB + outline: JEDEC MO-150 AG + diff --git a/mcu/ic_mcu_st_stm32f103xb-detailed.yaml b/mcu/ic_mcu_st_stm32f103xb-detailed.yaml new file mode 100644 index 0000000..dd35d90 --- /dev/null +++ b/mcu/ic_mcu_st_stm32f103xb-detailed.yaml @@ -0,0 +1,702 @@ +name: STM32F103x8 +alias: STM32F103xB +suffix: 6, 7 +variations: LFBGA100, UFBGA100, LQFP48, UFQFPN48, TFBGA64, LQFP64, LQFP100, VFQFPN36 +description: STM32F103x8/STM32F103xB ARM Cartex-M3 micro-controller +keywords: IC, MCU, Micro-Controller, STM32, STM32F1, STM32F103 +datasheet: https://www.st.com/resource/en/datasheet/stm32f103c8.pdf + +pinout@LFBGA100: + PORTA: + PA0/WKUP/USART2_CTS/ADC12_IN0/TIM2_CH1_ETR: G2 + PA1/USART2_RTS/ADC12_IN1/TIM2_CH2: H2 + PA2/USART2_TX/ADC12_IN2/TIM2_CH3: J2 + PA3/USART2_RX/ADC12_IN3/TIM2_CH4: K2 + PA4/SPI1_NSS/USART2_CK/ADC12_IN4: G3 + PA5/SPI1_SCK/ADC12_IN5: H3 + PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN: J3 + PA7/SPI1_MOSI/ADC12_IN7/TIM3_CH2/TIM1_CH1N: K2 + PA8/USART1_CK/TIM1_CH1/MCO: D9 + PA9/USART1_TX/TIM1_CH2: C9 + PA10/USART1_RX/TIM1_CH3: D10 + PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4: C10 + PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR: B10 + JTMS/SWDIO/PA13: A10 + JTCK/SWCLK/PA14: A9 + JTDI/TIM2_CH1_ETR/PA15/SPI1_NSS: A8 + PORTB: + PB0/ADC12_IN8/TIM3_CH3/TIM1_CH2N: J4 + PB1/ADC12_IN9/TIM3_CH4/TIM1_CH3N: K4 + PB2/BOOT1: G5 + JTDO/TIM2_CH2/PB3/TRACESWO/SPI1_SCK: A7 + JNTRST/TIM3_CH1/PB4/SPI1_MISO: A6 + PB5/I2C1_SMBAl/TIM3_CH2/SPI1_MOSI: C5 + PB6/I2C1_SCL/TIM4_CH1/USART1_TX: B5 + PB7/I2C1_SDA/TIM4_CH2/USART1_RX: A5 + PB8/TIM4_CH3/I2C1_SCL/CANRX: B4 + PB9/TIM4_CH4/I2C1_SDA/CANTX: A4 + PB10/I2C2_SCL/USART3_TX/TIM2_CH3: J7 + PB11/I2C2_SDA/USART3_RX/TIM2_CH4: K7 + PB12/SPI2_NSS/I2C2_SMBAl/USART3_CK/TIM1_BKIN: K8 + PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N: J8 + PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N: H8 + PB15/SPI2_MOSI/TIM1_CH3N: G8 + PORTC: + PC0/ADC12_IN10: F1 + PC1/ADC12_IN11: F2 + PC2/ADC12_IN12: E2 + PC3/ADC12_IN13: F3 + PC4/ADC12_IN14: G4 + PC5/ADC12_IN15: H4 + PC6/TIM3_CH1: F10 + PC7/TIM3_CH2: E10 + PC8/TIM3_CH3: F9 + PC9/TIM3_CH4: E9 + PC10/USART3_TX: B9 + PC11/USART3_RX: B8 + PC12/USART3_CK: C8 + PC13/TAMPER-RTC: A2 + PC14/OSC32_IN: A1 + PC15/OSC32_OUT: B1 + PORTD: + PD2/TIM3_ETR: B7 + PD3/USART2_CTS: C7 + PD4/USART2_RTS: D7 + PD5/USART2_TX: B6 + PD6/USART2_RX: C6 + PD7/USART2_CK: D6 + PD8/USART3_TX: K9 + PD9/USART3_RX: J9 + PD10/USART3_CK: H9 + PD11/USART3_CTS: G9 + PD12/TIM4_CH1/USART3_RTS: K10 + PD13/TIM4_CH2: J10 + PD14/TIM4_CH3: H10 + PD15/TIM4_CH4: G10 + PORTE: + PE0/TIM4_ETR: D4 + PE1: C4 + PE2/TRACECK: A3 + PE3/TRACED0: B3 + PE4/TRACED1: C3 + PE5/TRACED2: D3 + PE6/TRACED3: E3 + PE7/TIM1_ETR: H5 + PE8/TIM1_CH1N: J5 + PE9/TIM1_CH1: K5 + PE10/TIM1_CH2N: G6 + PE11/TIM1_CH2: H6 + PE12/TIM1_CH3N: J6 + PE13/TIM1_CH3: K6 + PE14/TIM1_CH4: G7 + PE15/TIM1_BKIN: H7 + CTRL: + OSC_IN: C1 + OSC_OUT: D1 + ~NRST: E1 + BOOT0: D5 + GROUND: + VSS: E7, E6, E5, E4, C2 + VSSA: G1 + VREF-: H1 + POWER: + VDD: F7, F6, F5, F4, D2 + VDDA: K1 + VBAT: B2 + VREF+: J1 + NC: F8 + +pinout@UFBGA100: + PORTA: + PA0/WKUP/USART2_CTS/ADC12_IN0/TIM2_CH1_ETR: L2 + PA1/USART2_RTS/ADC12_IN1/TIM2_CH2: M2 + PA2/USART2_TX/ADC12_IN2/TIM2_CH3: K3 + PA3/USART2_RX/ADC12_IN3/TIM2_CH4: L3 + PA4/SPI1_NSS/USART2_CK/ADC12_IN4: M3 + PA5/SPI1_SCK/ADC12_IN5: K4 + PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN: J3 + PA7/SPI1_MOSI/ADC12_IN7/TIM3_CH2/TIM1_CH1N: K3 + PA8/USART1_CK/TIM1_CH1/MCO: D11 + PA9/USART1_TX/TIM1_CH2: D10 + PA10/USART1_RX/TIM1_CH3: C12 + PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4: B12 + PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR: A12 + JTMS/SWDIO/PA13: A11 + JTCK/SWCLK/PA14: A10 + JTDI/TIM2_CH1_ETR/PA15/SPI1_NSS: A9 + PORTB: + PB0/ADC12_IN8/TIM3_CH3/TIM1_CH2N: M5 + PB1/ADC12_IN9/TIM3_CH4/TIM1_CH3N: M6 + PB2/BOOT1: L6 + JTDO/TIM2_CH2/PB3/TRACESWO/SPI1_SCK: A8 + JNTRST/TIM3_CH1/PB4/SPI1_MISO: A7 + PB5/I2C1_SMBAl/TIM3_CH2/SPI1_MOSI: C5 + PB6/I2C1_SCL/TIM4_CH1/USART1_TX: B5 + PB7/I2C1_SDA/TIM4_CH2/USART1_RX: B4 + PB8/TIM4_CH3/I2C1_SCL/CANRX: A3 + PB9/TIM4_CH4/I2C1_SDA/CANTX: B3 + PB10/I2C2_SCL/USART3_TX/TIM2_CH3: L10 + PB11/I2C2_SDA/USART3_RX/TIM2_CH4: L11 + PB12/SPI2_NSS/I2C2_SMBAl/USART3_CK/TIM1_BKIN: L12 + PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N: K12 + PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N: K11 + PB15/SPI2_MOSI/TIM1_CH3N: K10 + PORTC: + PC0/ADC12_IN10: H1 + PC1/ADC12_IN11: J2 + PC2/ADC12_IN12: J3 + PC3/ADC12_IN13: K2 + PC4/ADC12_IN14: K5 + PC5/ADC12_IN15: L5 + PC6/TIM3_CH1: E12 + PC7/TIM3_CH2: E11 + PC8/TIM3_CH3: E10 + PC9/TIM3_CH4: D12 + PC10/USART3_TX: B11 + PC11/USART3_RX: C10 + PC12/USART3_CK: B10 + PC13/TAMPER-RTC: C1 + PC14/OSC32_IN: D1 + PC15/OSC32_OUT: E1 + PORTD: + PD0/CANRX: C9 + PD1/CANTX: B9 + PD2/TIM3_ETR: C8 + PD3/USART2_CTS: B8 + PD4/USART2_RTS: B7 + PD5/USART2_TX: A6 + PD6/USART2_RX: B6 + PD7/USART2_CK: A5 + PD8/USART3_TX: K9 + PD9/USART3_RX: J9 + PD10/USART3_CK: J12 + PD11/USART3_CTS: J11 + PD12/TIM4_CH1/USART3_RTS: J10 + PD13/TIM4_CH2: H12 + PD14/TIM4_CH3: H11 + PD15/TIM4_CH4: H10 + PORTE: + PE0/TIM4_ETR: C3 + PE1: A2 + PE2/TRACECK: B2 + PE3/TRACED0: A1 + PE4/TRACED1: B1 + PE5/TRACED2: C2 + PE6/TRACED3: D2 + PE7/TIM1_ETR: M7 + PE8/TIM1_CH1N: L7 + PE9/TIM1_CH1: M9 + PE10/TIM1_CH2N: L8 + PE11/TIM1_CH2: M9 + PE12/TIM1_CH3N: L9 + PE13/TIM1_CH3: M10 + PE14/TIM1_CH4: M11 + PE15/TIM1_BKIN: M12 + CTRL: + OSC_IN: F1 + OSC_OUT: G1 + ~NRST: H2 + BOOT0: A4 + GROUND: + VSS: F12, F11, D3, E3, F2 + VSSA: J1 + VREF-: K1 + POWER: + VDD: G12, G11, C4, H3, G2 + VDDA: M1 + VBAT: E2 + VREF+: L1 + NC: C11 + +pinout@LQFP100: + PORTA: + PA0/WKUP/USART2_CTS/ADC12_IN0/TIM2_CH1_ETR: 23 + PA1/USART2_RTS/ADC12_IN1/TIM2_CH2: 24 + PA2/USART2_TX/ADC12_IN2/TIM2_CH3: 25 + PA3/USART2_RX/ADC12_IN3/TIM2_CH4: 26 + PA4/SPI1_NSS/USART2_CK/ADC12_IN4: 29 + PA5/SPI1_SCK/ADC12_IN5: 30 + PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN: 31 + PA7/SPI1_MOSI/ADC12_IN7/TIM3_CH2/TIM1_CH1N: 32 + PA8/USART1_CK/TIM1_CH1/MCO: 67 + PA9/USART1_TX/TIM1_CH2: 68 + PA10/USART1_RX/TIM1_CH3: 69 + PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4: 70 + PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR: 71 + JTMS/SWDIO/PA13: 72 + JTCK/SWCLK/PA14: 76 + JTDI/TIM2_CH1_ETR/PA15/SPI1_NSS: 77 + PORTB: + PB0/ADC12_IN8/TIM3_CH3/TIM1_CH2N: 35 + PB1/ADC12_IN9/TIM3_CH4/TIM1_CH3N: 36 + PB2/BOOT1: 37 + JTDO/TIM2_CH2/PB3/TRACESWO/SPI1_SCK: 89 + JNTRST/TIM3_CH1/PB4/SPI1_MISO: 90 + PB5/I2C1_SMBAl/TIM3_CH2/SPI1_MOSI: 91 + PB6/I2C1_SCL/TIM4_CH1/USART1_TX: 92 + PB7/I2C1_SDA/TIM4_CH2/USART1_RX: 93 + PB8/TIM4_CH3/I2C1_SCL/CANRX: 95 + PB9/TIM4_CH4/I2C1_SDA/CANTX: 96 + PB10/I2C2_SCL/USART3_TX/TIM2_CH3: 47 + PB11/I2C2_SDA/USART3_RX/TIM2_CH4: 48 + PB12/SPI2_NSS/I2C2_SMBAl/USART3_CK/TIM1_BKIN: 51 + PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N: 52 + PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N: 53 + PB15/SPI2_MOSI/TIM1_CH3N: 54 + PORTC: + PC0/ADC12_IN10: 15 + PC1/ADC12_IN11: 16 + PC2/ADC12_IN12: 17 + PC3/ADC12_IN13: 18 + PC4/ADC12_IN14: 33 + PC5/ADC12_IN15: 34 + PC6/TIM3_CH1: 63 + PC7/TIM3_CH2: 64 + PC8/TIM3_CH3: 65 + PC9/TIM3_CH4: 66 + PC10/USART3_TX: 78 + PC11/USART3_RX: 79 + PC12/USART3_CK: 80 + PC13/TAMPER-RTC: 7 + PC14/OSC32_IN: 8 + PC15/OSC32_OUT: 9 + PORTD: + PD0/CANRX: 81 + PD1/CANTX: 82 + PD2/TIM3_ETR: 83 + PD3/USART2_CTS: 84 + PD4/USART2_RTS: 85 + PD5/USART2_TX: 86 + PD6/USART2_RX: 87 + PD7/USART2_CK: 88 + PD8/USART3_TX: 55 + PD9/USART3_RX: 56 + PD10/USART3_CK: 57 + PD11/USART3_CTS: 58 + PD12/TIM4_CH1/USART3_RTS: 59 + PD13/TIM4_CH2: 60 + PD14/TIM4_CH3: 61 + PD15/TIM4_CH4: 62 + PORTE: + PE0/TIM4_ETR: 97 + PE1: 98 + PE2/TRACECK: 1 + PE3/TRACED0: 2 + PE4/TRACED1: 3 + PE5/TRACED2: 4 + PE6/TRACED3: 5 + PE7/TIM1_ETR: 38 + PE8/TIM1_CH1N: 39 + PE9/TIM1_CH1: 40 + PE10/TIM1_CH2N: 41 + PE11/TIM1_CH2: 42 + PE12/TIM1_CH3N: 43 + PE13/TIM1_CH3: 44 + PE14/TIM1_CH4: 45 + PE15/TIM1_BKIN: 47 + CTRL: + OSC_IN: 12 + OSC_OUT: 13 + ~NRST: 14 + BOOT0: 94 + GROUND: + VSS: 49, 74, 99, 27, 10 + VSSA: 19 + VREF-: 20 + POWER: + VDD: 50, 75, 100, 28, 11 + VDDA: 22 + VBAT: 6 + VREF+: 21 + NC: 73 + +pinout@TFBGA64: + PORTA: + PA0/WKUP/USART2_CTS/ADC12_IN0/TIM2_CH1_ETR: G2 + PA1/USART2_RTS/ADC12_IN1/TIM2_CH2: H2 + PA2/USART2_TX/ADC12_IN2/TIM2_CH3: F3 + PA3/USART2_RX/ADC12_IN3/TIM2_CH4: G3 + PA4/SPI1_NSS/USART2_CK/ADC12_IN4: H3 + PA5/SPI1_SCK/ADC12_IN5: F4 + PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN: G4 + PA7/SPI1_MOSI/ADC12_IN7/TIM3_CH2/TIM1_CH1N: H4 + PA8/USART1_CK/TIM1_CH1/MCO: D7 + PA9/USART1_TX/TIM1_CH2: C7 + PA10/USART1_RX/TIM1_CH3: C6 + PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4: C8 + PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR: B8 + JTMS/SWDIO/PA13: A8 + JTCK/SWCLK/PA14: A7 + JTDI/TIM2_CH1_ETR/PA15/SPI1_NSS: A6 + PORTB: + PB0/ADC12_IN8/TIM3_CH3/TIM1_CH2N: F5 + PB1/ADC12_IN9/TIM3_CH4/TIM1_CH3N: G5 + PB2/BOOT1: G6 + JTDO/TIM2_CH2/PB3/TRACESWO/SPI1_SCK: A5 + JNTRST/TIM3_CH1/PB4/SPI1_MISO: A4 + PB5/I2C1_SMBAl/TIM3_CH2/SPI1_MOSI: C4 + PB6/I2C1_SCL/TIM4_CH1/USART1_TX: D3 + PB7/I2C1_SDA/TIM4_CH2/USART1_RX: C3 + PB8/TIM4_CH3/I2C1_SCL/CANRX: B3 + PB9/TIM4_CH4/I2C1_SDA/CANTX: A3 + PB10/I2C2_SCL/USART3_TX/TIM2_CH3: G7 + PB11/I2C2_SDA/USART3_RX/TIM2_CH4: H7 + PB12/SPI2_NSS/I2C2_SMBAl/USART3_CK/TIM1_BKIN: H8 + PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N: G8 + PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N: F8 + PB15/SPI2_MOSI/TIM1_CH3N: F7 + PORTC: + PC0/ADC12_IN10: E3 + PC1/ADC12_IN11: E2 + PC2/ADC12_IN12: F2 + PC4/ADC12_IN14: H5 + PC5/ADC12_IN15: H6 + PC6/TIM3_CH1: F6 + PC7/TIM3_CH2: E7 + PC8/TIM3_CH3: E8 + PC9/TIM3_CH4: D8 + PC10/USART3_TX: B7 + PC11/USART3_RX: B6 + PC12/USART3_CK: C5 + PC13/TAMPER-RTC: A2 + PC14/OSC32_IN: A1 + PC15/OSC32_OUT: B1 + PORTD: + PD0/CANRX: C1 + PD1/CANTX: D1 + PD2/TIM3_ETR: B5 + CTRL: + OSC_IN: C1 + OSC_OUT: D1 + ~NRST: E1 + BOOT0: B4 + GROUND: + VSS: D6, D5, D4, C2 + VSSA: F1 + POWER: + VDD: E6, E5, E4, D2 + VDDA: H1 + VBAT: B2 + VREF+: G1 + +pinout@LQFP64: + PORTA: + PA0/WKUP/USART2_CTS/ADC12_IN0/TIM2_CH1_ETR: 14 + PA1/USART2_RTS/ADC12_IN1/TIM2_CH2: 15 + PA2/USART2_TX/ADC12_IN2/TIM2_CH3: 16 + PA3/USART2_RX/ADC12_IN3/TIM2_CH4: 17 + PA4/SPI1_NSS/USART2_CK/ADC12_IN4: 20 + PA5/SPI1_SCK/ADC12_IN5: 21 + PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN: 22 + PA7/SPI1_MOSI/ADC12_IN7/TIM3_CH2/TIM1_CH1N: 23 + PA8/USART1_CK/TIM1_CH1/MCO: 41 + PA9/USART1_TX/TIM1_CH2: 42 + PA10/USART1_RX/TIM1_CH3: 43 + PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4: 44 + PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR: 45 + JTMS/SWDIO/PA13: 46 + JTCK/SWCLK/PA14: 49 + JTDI/TIM2_CH1_ETR/PA15/SPI1_NSS: 50 + PORTB: + PB0/ADC12_IN8/TIM3_CH3/TIM1_CH2N: 26 + PB1/ADC12_IN9/TIM3_CH4/TIM1_CH3N: 27 + PB2/BOOT1: 28 + JTDO/TIM2_CH2/PB3/TRACESWO/SPI1_SCK: 55 + JNTRST/TIM3_CH1/PB4/SPI1_MISO: 56 + PB5/I2C1_SMBAl/TIM3_CH2/SPI1_MOSI: 57 + PB6/I2C1_SCL/TIM4_CH1/USART1_TX: 58 + PB7/I2C1_SDA/TIM4_CH2/USART1_RX: 59 + PB8/TIM4_CH3/I2C1_SCL/CANRX: 61 + PB9/TIM4_CH4/I2C1_SDA/CANTX: 62 + PB10/I2C2_SCL/USART3_TX/TIM2_CH3: 29 + PB11/I2C2_SDA/USART3_RX/TIM2_CH4: 30 + PB12/SPI2_NSS/I2C2_SMBAl/USART3_CK/TIM1_BKIN: 33 + PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N: 34 + PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N: 35 + PB15/SPI2_MOSI/TIM1_CH3N: 36 + PORTC: + PC0/ADC12_IN10: 8 + PC1/ADC12_IN11: 9 + PC2/ADC12_IN12: 10 + PC3/ADC12_IN13: 11 + PC4/ADC12_IN14: 24 + PC5/ADC12_IN15: 25 + PC6/TIM3_CH1: 37 + PC7/TIM3_CH2: 38 + PC8/TIM3_CH3: 39 + PC9/TIM3_CH4: 40 + PC10/USART3_TX: 51 + PC11/USART3_RX: 52 + PC12/USART3_CK: 53 + PC13/TAMPER-RTC: 2 + PC14/OSC32_IN: 3 + PC15/OSC32_OUT: 4 + PORTD: + PD2/TIM3_ETR: 54 + CTRL: + OSC_IN: 5 + OSC_OUT: 6 + ~NRST: 7 + BOOT0: 60 + GROUND: + VSS: 31, 47, 63, 18 + VSSA: 12 + POWER: + VDD: 32, 48, 64, 19 + VDDA: 13 + VBAT: 1 + +pinout@LQFP48: + PORTA: + PA0/WKUP/USART2_CTS/ADC12_IN0/TIM2_CH1_ETR: 10 + PA1/USART2_RTS/ADC12_IN1/TIM2_CH2: 11 + PA2/USART2_TX/ADC12_IN2/TIM2_CH3: 12 + PA3/USART2_RX/ADC12_IN3/TIM2_CH4: 13 + PA4/SPI1_NSS/USART2_CK/ADC12_IN4: 14 + PA5/SPI1_SCK/ADC12_IN5: 15 + PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN: 16 + PA7/SPI1_MOSI/ADC12_IN7/TIM3_CH2/TIM1_CH1N: 17 + PA8/USART1_CK/TIM1_CH1/MCO: 29 + PA9/USART1_TX/TIM1_CH2: 30 + PA10/USART1_RX/TIM1_CH3: 31 + PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4: 32 + PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR: 33 + JTMS/SWDIO/PA13: 34 + JTCK/SWCLK/PA14: 37 + JTDI/TIM2_CH1_ETR/PA15/SPI1_NSS: 38 + PORTB: + PB0/ADC12_IN8/TIM3_CH3/TIM1_CH2N: 18 + PB1/ADC12_IN9/TIM3_CH4/TIM1_CH3N: 19 + PB2/BOOT1: 20 + JTDO/TIM2_CH2/PB3/TRACESWO/SPI1_SCK: 39 + JNTRST/TIM3_CH1/PB4/SPI1_MISO: 40 + PB5/I2C1_SMBAl/TIM3_CH2/SPI1_MOSI: 41 + PB6/I2C1_SCL/TIM4_CH1/USART1_TX: 42 + PB7/I2C1_SDA/TIM4_CH2/USART1_RX: 43 + PB8/TIM4_CH3/I2C1_SCL/CANRX: 45 + PB9/TIM4_CH4/I2C1_SDA/CANTX: 46 + PB10/I2C2_SCL/USART3_TX/TIM2_CH3: 21 + PB11/I2C2_SDA/USART3_RX/TIM2_CH4: 22 + PB12/SPI2_NSS/I2C2_SMBAl/USART3_CK/TIM1_BKIN: 25 + PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N: 26 + PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N: 27 + PB15/SPI2_MOSI/TIM1_CH3N: 28 + PORTC: + PC13/TAMPER-RTC: 2 + PC14/OSC32_IN: 3 + PC15/OSC32_OUT: 4 + CTRL: + OSC_IN: 5 + OSC_OUT: 6 + ~NRST: 7 + BOOT0: 44 + GROUND: + VSS: 23, 35, 47 + VSSA: 8 + POWER: + VDD: 24, 36, 48 + VDDA: 9 + VBAT: 1 + +pinout@UFQFPN48: + PORTA: + PA0/WKUP/USART2_CTS/ADC12_IN0/TIM2_CH1_ETR: 10 + PA1/USART2_RTS/ADC12_IN1/TIM2_CH2: 11 + PA2/USART2_TX/ADC12_IN2/TIM2_CH3: 12 + PA3/USART2_RX/ADC12_IN3/TIM2_CH4: 13 + PA4/SPI1_NSS/USART2_CK/ADC12_IN4: 14 + PA5/SPI1_SCK/ADC12_IN5: 15 + PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN: 16 + PA7/SPI1_MOSI/ADC12_IN7/TIM3_CH2/TIM1_CH1N: 17 + PA8/USART1_CK/TIM1_CH1/MCO: 29 + PA9/USART1_TX/TIM1_CH2: 30 + PA10/USART1_RX/TIM1_CH3: 31 + PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4: 32 + PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR: 33 + JTMS/SWDIO/PA13: 34 + JTCK/SWCLK/PA14: 37 + JTDI/TIM2_CH1_ETR/PA15/SPI1_NSS: 38 + PORTB: + PB0/ADC12_IN8/TIM3_CH3/TIM1_CH2N: 18 + PB1/ADC12_IN9/TIM3_CH4/TIM1_CH3N: 19 + PB2/BOOT1: 20 + JTDO/TIM2_CH2/PB3/TRACESWO/SPI1_SCK: 39 + JNTRST/TIM3_CH1/PB4/SPI1_MISO: 40 + PB5/I2C1_SMBAl/TIM3_CH2/SPI1_MOSI: 41 + PB6/I2C1_SCL/TIM4_CH1/USART1_TX: 42 + PB7/I2C1_SDA/TIM4_CH2/USART1_RX: 43 + PB8/TIM4_CH3/I2C1_SCL/CANRX: 45 + PB9/TIM4_CH4/I2C1_SDA/CANTX: 46 + PB10/I2C2_SCL/USART3_TX/TIM2_CH3: 21 + PB11/I2C2_SDA/USART3_RX/TIM2_CH4: 22 + PB12/SPI2_NSS/I2C2_SMBAl/USART3_CK/TIM1_BKIN: 25 + PB13/SPI2_SCK/USART3_CTS/TIM1_CH1N: 26 + PB14/SPI2_MISO/USART3_RTS/TIM1_CH2N: 27 + PB15/SPI2_MOSI/TIM1_CH3N: 28 + PORTC: + PC13/TAMPER-RTC: 2 + PC14/OSC32_IN: 3 + PC15/OSC32_OUT: 4 + CTRL: + OSC_IN: 5 + OSC_OUT: 6 + ~NRST: 7 + BOOT0: 44 + GROUND: + VSS: 23, 35, 47 + VSSA: 8 + POWER: + VDD: 24, 36, 48 + VDDA: 9 + VBAT: 1 + +pinout@VFQFPN36: + PORTA: + PA0/WKUP/USART2_CTS/ADC12_IN0/TIM2_CH1_ETR: 7 + PA1/USART2_RTS/ADC12_IN1/TIM2_CH2: 8 + PA2/USART2_TX/ADC12_IN2/TIM2_CH3: 9 + PA3/USART2_RX/ADC12_IN3/TIM2_CH4: 10 + PA4/SPI1_NSS/USART2_CK/ADC12_IN4: 11 + PA5/SPI1_SCK/ADC12_IN5: 12 + PA6/SPI1_MISO/ADC12_IN6/TIM3_CH1/TIM1_BKIN: 13 + PA7/SPI1_MOSI/ADC12_IN7/TIM3_CH2/TIM1_CH1N: 14 + PA8/USART1_CK/TIM1_CH1/MCO: 20 + PA9/USART1_TX/TIM1_CH2: 21 + PA10/USART1_RX/TIM1_CH3: 22 + PA11/USART1_CTS/CANRX/USBDM/TIM1_CH4: 23 + PA12/USART1_RTS/CANTX/USBDP/TIM1_ETR: 24 + JTMS/SWDIO/PA13: 25 + JTCK/SWCLK/PA14: 28 + JTDI/TIM2_CH1_ETR/PA15/SPI1_NSS: 29 + PORTB: + PB0/ADC12_IN8/TIM3_CH3/TIM1_CH2N: 15 + PB1/ADC12_IN9/TIM3_CH4/TIM1_CH3N: 16 + PB2/BOOT1: 27 + JTDO/TIM2_CH2/PB3/TRACESWO/SPI1_SCK: 30 + JNTRST/TIM3_CH1/PB4/SPI1_MISO: 31 + PB5/I2C1_SMBAl/TIM3_CH2/SPI1_MOSI: 32 + PB6/I2C1_SCL/TIM4_CH1/USART1_TX: 33 + PB7/I2C1_SDA/TIM4_CH2/USART1_RX: 34 + CTRL: + OSC_IN: 2 + OSC_OUT: 3 + ~NRST: 4 + BOOT0: 35 + GROUND: + VSS: 18, 26, 36 + VSSA: 5 + POWER: + VDD: 19, 27, 1 + VDDA: 6 + +properties: + in: ~NRST, BOOT0 + bidir: PORTA, PORTB, PORTC, PORTD, PORTE + passive: OSC_IN, OSC_OUT, VREF+, VREF- + power: VDD, VDDA, VBAT + nc: NC + ground: VSS, VSSA + inverted: ~NRST + +schematic: + symbol: IC + left: PORTA, PORTB, CTRL + right: PORTC, PORTD, PORTE + top: POWER + bottom: GROUND + +housing@LFBGA100: + pattern: BGA + bodyWidth: 9.850-10.150 # E + bodyLength: 9.850-10.150 # D + height: 1.700 # A + pitch: 0.800 # e + rowCount: 10 + columnCount: 10 + leadDiameter: 0.150 # eee + leadCount: 100 + +housing@UFBGA100: + pattern: BGA + bodyWidth: 6.950-7.050 # E + bodyLength: 6.950-7.050 # D + height: 0.460-0.600 # A + pitch: 0.500 # e + rowCount: 12 + columnCount: 12 + leadDiameter: 0.150 # eee + leadCount: 100 + +housing@LQFP100: + pattern: QFP + bodyWidth: 13.800-14.200 # D1 + bodyLength: 13.800-14.200 # E1 + height: 1.600 # A + leadWidth: 0.17-0.27 # b + leadLength: 0.45-0.75 # L + leadSpan: 15.800-16.200 # D + pitch: 0.5 # e + leadCount: 100 + rowCount: 25 + columnCount: 25 + +housing@TFBGA64: + pattern: BGA + bodyWidth: 4.850-5.150 # E + bodyLength: 4.850-5.150 # D + height: 1.200 # A + pitch: 0.500 # e + rowCount: 8 + columnCount: 8 + leadDiameter: 0.150 # eee + leadCount: 64 + +housing@LQFP64: + pattern: QFP + bodyWidth: 10.000 # D1 + bodyLength: 10.000 # E1 + height: 1.600 # A + leadWidth: 0.17-0.27 # b + leadLength: 0.45-0.75 # L + leadSpan: 12.000 # D + pitch: 0.5 # e + leadCount: 64 + rowCount: 16 + columnCount: 16 + +housing@LQFP48: + pattern: QFP + bodyWidth: 7.000 # D1 + bodyLength: 7.000 # E1 + height: 1.600 # A + leadWidth: 0.17-0.27 # b + leadLength: 0.45-0.75 # L + leadSpan: 8.800-9.200 # D + pitch: 0.5 # e + leadCount: 48 + rowCount: 12 + columnCount: 12 + +housing@UFQFPN48: + pattern: QFN + bodyWidth: 6.900-7.100 # D + bodyLength: 6.900-7.100 # E + height: 0.500-0.600 # A + leadWidth: 0.200-0.300 # b + leadLength: 0.300-0.500 # L + pitch: 0.5 # e + leadCount: 48 + rowCount: 12 + columnCount: 12 + +housing@VFQFPN36: + pattern: QFN + bodyWidth: 5.875-6.125 # D + bodyLength: 5.875-6.125 # E + height: 0.800-1.000 # A + leadWidth: 0.180-0.300 # b + leadLength: 0.350-0.750 # L + pitch: 0.5 # e + leadCount: 36 + rowCount: 9 + columnCount: 9 diff --git a/mcu/ic_mcu_st_stm32f103xb.yaml b/mcu/ic_mcu_st_stm32f103xb.yaml new file mode 100644 index 0000000..457e552 --- /dev/null +++ b/mcu/ic_mcu_st_stm32f103xb.yaml @@ -0,0 +1,702 @@ +name: STM32F103x8 +alias: STM32F103xB +suffix: 6, 7 +variations: LFBGA100, UFBGA100, LQFP48, UFQFPN48, TFBGA64, LQFP64, LQFP100, VFQFPN36 +description: STM32F103x8/STM32F103xB ARM Cartex-M3 micro-controller +keywords: IC, MCU, Micro-Controller, STM32, STM32F1, STM32F103 +datasheet: https://www.st.com/resource/en/datasheet/stm32f103c8.pdf + +pinout@LFBGA100: + PORTA: + PA0-WKUP: G2 + PA1: H2 + PA2: J2 + PA3: K2 + PA4: G3 + PA5: H3 + PA6: J3 + PA7: K2 + PA8: D9 + PA9: C9 + PA10: D10 + PA11: C10 + PA12: B10 + PA13: A10 + PA14: A9 + PA15: A8 + PORTB: + PB0: J4 + PB1: K4 + PB2: G5 + PB3: A7 + PB4: A6 + PB5: C5 + PB6: B5 + PB7: A5 + PB8: B4 + PB9: A4 + PB10: J7 + PB11: K7 + PB12: K8 + PB13: J8 + PB14: H8 + PB15: G8 + PORTC: + PC0: F1 + PC1: F2 + PC2: E2 + PC3: F3 + PC4: G4 + PC5: H4 + PC6: F10 + PC7: E10 + PC8: F9 + PC9: E9 + PC10: B9 + PC11: B8 + PC12: C8 + PC13-TAMPER-RTC: A2 + PC14-OSC32_IN: A1 + PC15-OSC32_OUT: B1 + PORTD: + PD2: B7 + PD3: C7 + PD4: D7 + PD5: B6 + PD6: C6 + PD7: D6 + PD8: K9 + PD9: J9 + PD10: H9 + PD11: G9 + PD12: K10 + PD13: J10 + PD14: H10 + PD15: G10 + PORTE: + PE0: D4 + PE1: C4 + PE2: A3 + PE3: B3 + PE4: C3 + PE5: D3 + PE6: E3 + PE7: H5 + PE8: J5 + PE9: K5 + PE10: G6 + PE11: H6 + PE12: J6 + PE13: K6 + PE14: G7 + PE15: H7 + CTRL: + OSC_IN: C1 + OSC_OUT: D1 + ~NRST: E1 + BOOT0: D5 + GROUND: + VSS: E7, E6, E5, E4, C2 + VSSA: G1 + VREF-: H1 + POWER: + VDD: F7, F6, F5, F4, D2 + VDDA: K1 + VBAT: B2 + VREF+: J1 + NC: F8 + +pinout@UFBGA100: + PORTA: + PA0-WKUP: L2 + PA1: M2 + PA2: K3 + PA3: L3 + PA4: M3 + PA5: K4 + PA6: J3 + PA7: K3 + PA8: D11 + PA9: D10 + PA10: C12 + PA11: B12 + PA12: A12 + PA13: A11 + PA14: A10 + PA15: A9 + PORTB: + PB0: M5 + PB1: M6 + PB2: L6 + PB3: A8 + PB4: A7 + PB5: C5 + PB6: B5 + PB7: B4 + PB8: A3 + PB9: B3 + PB10: L10 + PB11: L11 + PB12: L12 + PB13: K12 + PB14: K11 + PB15: K10 + PORTC: + PC0: H1 + PC1: J2 + PC2: J3 + PC3: K2 + PC4: K5 + PC5: L5 + PC6: E12 + PC7: E11 + PC8: E10 + PC9: D12 + PC10: B11 + PC11: C10 + PC12: B10 + PC13-TAMPER-RTC: C1 + PC14-OSC32_IN: D1 + PC15-OSC32_OUT: E1 + PORTD: + PD0: C9 + PD1: B9 + PD2: C8 + PD3: B8 + PD4: B7 + PD5: A6 + PD6: B6 + PD7: A5 + PD8: K9 + PD9: J9 + PD10: J12 + PD11: J11 + PD12: J10 + PD13: H12 + PD14: H11 + PD15: H10 + PORTE: + PE0: C3 + PE1: A2 + PE2: B2 + PE3: A1 + PE4: B1 + PE5: C2 + PE6: D2 + PE7: M7 + PE8: L7 + PE9: M9 + PE10: L8 + PE11: M9 + PE12: L9 + PE13: M10 + PE14: M11 + PE15: M12 + CTRL: + OSC_IN: F1 + OSC_OUT: G1 + ~NRST: H2 + BOOT0: A4 + GROUND: + VSS: F12, F11, D3, E3, F2 + VSSA: J1 + VREF-: K1 + POWER: + VDD: G12, G11, C4, H3, G2 + VDDA: M1 + VBAT: E2 + VREF+: L1 + NC: C11 + +pinout@LQFP100: + PORTA: + PA0-WKUP: 23 + PA1: 24 + PA2: 25 + PA3: 26 + PA4: 29 + PA5: 30 + PA6: 31 + PA7: 32 + PA8: 67 + PA9: 68 + PA10: 69 + PA11: 70 + PA12: 71 + PA13: 72 + PA14: 76 + PA15: 77 + PORTB: + PB0: 35 + PB1: 36 + PB2: 37 + PB3: 89 + PB4: 90 + PB5: 91 + PB6: 92 + PB7: 93 + PB8: 95 + PB9: 96 + PB10: 47 + PB11: 48 + PB12: 51 + PB13: 52 + PB14: 53 + PB15: 54 + PORTC: + PC0: 15 + PC1: 16 + PC2: 17 + PC3: 18 + PC4: 33 + PC5: 34 + PC6: 63 + PC7: 64 + PC8: 65 + PC9: 66 + PC10: 78 + PC11: 79 + PC12: 80 + PC13-TAMPER-RTC: 7 + PC14-OSC32_IN: 8 + PC15-OSC32_OUT: 9 + PORTD: + PD0: 81 + PD1: 82 + PD2: 83 + PD3: 84 + PD4: 85 + PD5: 86 + PD6: 87 + PD7: 88 + PD8: 55 + PD9: 56 + PD10: 57 + PD11: 58 + PD12: 59 + PD13: 60 + PD14: 61 + PD15: 62 + PORTE: + PE0: 97 + PE1: 98 + PE2: 1 + PE3: 2 + PE4: 3 + PE5: 4 + PE6: 5 + PE7: 38 + PE8: 39 + PE9: 40 + PE10: 41 + PE11: 42 + PE12: 43 + PE13: 44 + PE14: 45 + PE15: 47 + CTRL: + OSC_IN: 12 + OSC_OUT: 13 + ~NRST: 14 + BOOT0: 94 + GROUND: + VSS: 49, 74, 99, 27, 10 + VSSA: 19 + VREF-: 20 + POWER: + VDD: 50, 75, 100, 28, 11 + VDDA: 22 + VBAT: 6 + VREF+: 21 + NC: 73 + +pinout@TFBGA64: + PORTA: + PA0-WKUP: G2 + PA1: H2 + PA2: F3 + PA3: G3 + PA4: H3 + PA5: F4 + PA6: G4 + PA7: H4 + PA8: D7 + PA9: C7 + PA10: C6 + PA11: C8 + PA12: B8 + PA13: A8 + PA14: A7 + PA15: A6 + PORTB: + PB0: F5 + PB1: G5 + PB2: G6 + PB3: A5 + PB4: A4 + PB5: C4 + PB6: D3 + PB7: C3 + PB8: B3 + PB9: A3 + PB10: G7 + PB11: H7 + PB12: H8 + PB13: G8 + PB14: F8 + PB15: F7 + PORTC: + PC0: E3 + PC1: E2 + PC2: F2 + PC4: H5 + PC5: H6 + PC6: F6 + PC7: E7 + PC8: E8 + PC9: D8 + PC10: B7 + PC11: B6 + PC12: C5 + PC13-TAMPER-RTC: A2 + PC14-OSC32_IN: A1 + PC15-OSC32_OUT: B1 + PORTD: + PD0: C1 + PD1: D1 + PD2: B5 + CTRL: + OSC_IN: C1 + OSC_OUT: D1 + ~NRST: E1 + BOOT0: B4 + GROUND: + VSS: D6, D5, D4, C2 + VSSA: F1 + POWER: + VDD: E6, E5, E4, D2 + VDDA: H1 + VBAT: B2 + VREF+: G1 + +pinout@LQFP64: + PORTA: + PA0-WKUP: 14 + PA1: 15 + PA2: 16 + PA3: 17 + PA4: 20 + PA5: 21 + PA6: 22 + PA7: 23 + PA8: 41 + PA9: 42 + PA10: 43 + PA11: 44 + PA12: 45 + PA13: 46 + PA14: 49 + PA15: 50 + PORTB: + PB0: 26 + PB1: 27 + PB2: 28 + PB3: 55 + PB4: 56 + PB5: 57 + PB6: 58 + PB7: 59 + PB8: 61 + PB9: 62 + PB10: 29 + PB11: 30 + PB12: 33 + PB13: 34 + PB14: 35 + PB15: 36 + PORTC: + PC0: 8 + PC1: 9 + PC2: 10 + PC3: 11 + PC4: 24 + PC5: 25 + PC6: 37 + PC7: 38 + PC8: 39 + PC9: 40 + PC10: 51 + PC11: 52 + PC12: 53 + PC13-TAMPER-RTC: 2 + PC14-OSC32_IN: 3 + PC15-OSC32_OUT: 4 + PORTD: + PD2: 54 + CTRL: + OSC_IN: 5 + OSC_OUT: 6 + ~NRST: 7 + BOOT0: 60 + GROUND: + VSS: 31, 47, 63, 18 + VSSA: 12 + POWER: + VDD: 32, 48, 64, 19 + VDDA: 13 + VBAT: 1 + +pinout@LQFP48: + PORTA: + PA0-WKUP: 10 + PA1: 11 + PA2: 12 + PA3: 13 + PA4: 14 + PA5: 15 + PA6: 16 + PA7: 17 + PA8: 29 + PA9: 30 + PA10: 31 + PA11: 32 + PA12: 33 + PA13: 34 + PA14: 37 + PA15: 38 + PORTB: + PB0: 18 + PB1: 19 + PB2: 20 + PB3: 39 + PB4: 40 + PB5: 41 + PB6: 42 + PB7: 43 + PB8: 45 + PB9: 46 + PB10: 21 + PB11: 22 + PB12: 25 + PB13: 26 + PB14: 27 + PB15: 28 + PORTC: + PC13-TAMPER-RTC: 2 + PC14-OSC32_IN: 3 + PC15-OSC32_OUT: 4 + CTRL: + OSC_IN: 5 + OSC_OUT: 6 + ~NRST: 7 + BOOT0: 44 + GROUND: + VSS: 23, 35, 47 + VSSA: 8 + POWER: + VDD: 24, 36, 48 + VDDA: 9 + VBAT: 1 + +pinout@UFQFPN48: + PORTA: + PA0-WKUP: 10 + PA1: 11 + PA2: 12 + PA3: 13 + PA4: 14 + PA5: 15 + PA6: 16 + PA7: 17 + PA8: 29 + PA9: 30 + PA10: 31 + PA11: 32 + PA12: 33 + PA13: 34 + PA14: 37 + PA15: 38 + PORTB: + PB0: 18 + PB1: 19 + PB2: 20 + PB3: 39 + PB4: 40 + PB5: 41 + PB6: 42 + PB7: 43 + PB8: 45 + PB9: 46 + PB10: 21 + PB11: 22 + PB12: 25 + PB13: 26 + PB14: 27 + PB15: 28 + PORTC: + PC13-TAMPER-RTC: 2 + PC14-OSC32_IN: 3 + PC15-OSC32_OUT: 4 + CTRL: + OSC_IN: 5 + OSC_OUT: 6 + ~NRST: 7 + BOOT0: 44 + GROUND: + VSS: 23, 35, 47 + VSSA: 8 + POWER: + VDD: 24, 36, 48 + VDDA: 9 + VBAT: 1 + +pinout@VFQFPN36: + PORTA: + PA0-WKUP: 7 + PA1: 8 + PA2: 9 + PA3: 10 + PA4: 11 + PA5: 12 + PA6: 13 + PA7: 14 + PA8: 20 + PA9: 21 + PA10: 22 + PA11: 23 + PA12: 24 + PA13: 25 + PA14: 28 + PA15: 29 + PORTB: + PB0: 15 + PB1: 16 + PB2: 27 + PB3: 30 + PB4: 31 + PB5: 32 + PB6: 33 + PB7: 34 + CTRL: + OSC_IN: 2 + OSC_OUT: 3 + ~NRST: 4 + BOOT0: 35 + GROUND: + VSS: 18, 26, 36 + VSSA: 5 + POWER: + VDD: 19, 27, 1 + VDDA: 6 + +properties: + in: ~NRST, BOOT0 + bidir: PA0-WKUP:, PA1-15, PB0-15, PC0-12, PC13-TAMPER-RTC, PC14-OSC32_IN, PC15-OSC32_OUT, PD0-15, PE0-15 + passive: OSC_IN, OSC_OUT, VREF+, VREF- + power: VDD, VDDA, VBAT + nc: NC + ground: VSS, VSSA + inverted: ~NRST + +schematic: + symbol: IC + left: PORTA, PORTB, CTRL + right: PORTC, PORTD, PORTE + top: POWER + bottom: GROUND + +housing@LFBGA100: + pattern: BGA + bodyWidth: 9.850-10.150 # E + bodyLength: 9.850-10.150 # D + height: 1.700 # A + pitch: 0.800 # e + rowCount: 10 + columnCount: 10 + leadDiameter: 0.150 # eee + leadCount: 100 + +housing@UFBGA100: + pattern: BGA + bodyWidth: 6.950-7.050 # E + bodyLength: 6.950-7.050 # D + height: 0.460-0.600 # A + pitch: 0.500 # e + rowCount: 12 + columnCount: 12 + leadDiameter: 0.150 # eee + leadCount: 100 + +housing@LQFP100: + pattern: QFP + bodyWidth: 13.800-14.200 # D1 + bodyLength: 13.800-14.200 # E1 + height: 1.600 # A + leadWidth: 0.17-0.27 # b + leadLength: 0.45-0.75 # L + leadSpan: 15.800-16.200 # D + pitch: 0.5 # e + leadCount: 100 + rowCount: 25 + columnCount: 25 + +housing@TFBGA64: + pattern: BGA + bodyWidth: 4.850-5.150 # E + bodyLength: 4.850-5.150 # D + height: 1.200 # A + pitch: 0.500 # e + rowCount: 8 + columnCount: 8 + leadDiameter: 0.150 # eee + leadCount: 64 + +housing@LQFP64: + pattern: QFP + bodyWidth: 10.000 # D1 + bodyLength: 10.000 # E1 + height: 1.600 # A + leadWidth: 0.17-0.27 # b + leadLength: 0.45-0.75 # L + leadSpan: 12.000 # D + pitch: 0.5 # e + leadCount: 64 + rowCount: 16 + columnCount: 16 + +housing@LQFP48: + pattern: QFP + bodyWidth: 7.000 # D1 + bodyLength: 7.000 # E1 + height: 1.600 # A + leadWidth: 0.17-0.27 # b + leadLength: 0.45-0.75 # L + leadSpan: 8.800-9.200 # D + pitch: 0.5 # e + leadCount: 48 + rowCount: 12 + columnCount: 12 + +housing@UFQFPN48: + pattern: QFN + bodyWidth: 6.900-7.100 # D + bodyLength: 6.900-7.100 # E + height: 0.500-0.600 # A + leadWidth: 0.200-0.300 # b + leadLength: 0.300-0.500 # L + pitch: 0.5 # e + leadCount: 48 + rowCount: 12 + columnCount: 12 + +housing@VFQFPN36: + pattern: QFN + bodyWidth: 5.875-6.125 # D + bodyLength: 5.875-6.125 # E + height: 0.800-1.000 # A + leadWidth: 0.180-0.300 # b + leadLength: 0.350-0.750 # L + pitch: 0.5 # e + leadCount: 36 + rowCount: 9 + columnCount: 9 diff --git a/mcu/ic_mcu_st_stm32f103xc.yaml b/mcu/ic_mcu_st_stm32f103xc.yaml new file mode 100644 index 0000000..6df3cee --- /dev/null +++ b/mcu/ic_mcu_st_stm32f103xc.yaml @@ -0,0 +1,707 @@ +name: STM32F103xC +alias: STM32F103xD, STM32F103xE +suffix: 6, 7 +variations: LQFP64, LQFP100, LQFP144, WLCSP64, LFBGA100, LFBGA144 +description: STM32F103xC/STM32F103xD/STM32F103xE ARM Cartex-M3 micro-controller +keywords: IC, MCU, Micro-Controller, STM32, STM32F1, STM32F103 +datasheet: https://www.st.com/resource/en/datasheet/stm32f103rc.pdf + +pinout@LQFP64: + PORTA: + PA0-WKUP: 14 + PA1: 15 + PA2: 16 + PA3: 17 + PA4: 20 + PA5: 21 + PA6: 22 + PA7: 23 + PA8: 41 + PA9: 42 + PA10: 43 + PA11: 44 + PA12: 45 + PA13: 46 + PA14: 49 + PA15: 50 + PORTB: + PB0: 26 + PB1: 27 + PB2: 28 + PB3: 55 + PB4: 56 + PB5: 57 + PB6: 58 + PB7: 59 + PB8: 61 + PB9: 62 + PB10: 29 + PB11: 30 + PB12: 33 + PB13: 34 + PB14: 35 + PB15: 36 + PORTC: + PC0: 8 + PC1: 9 + PC2: 10 + PC3: 11 + PC4: 24 + PC5: 25 + PC6: 37 + PC7: 38 + PC8: 39 + PC9: 40 + PC10: 51 + PC11: 52 + PC12: 53 + PC13-TAMPER-RTC: 2 + PC14-OSC32_IN: 3 + PC15-OSC32_OUT: 4 + PORTD: + PD2: 54 + CTRL: + OSC_IN: 5 + OSC_OUT: 6 + NRST: 7 + BOOT0: 60 + GROUND: + VSS: 31, 47, 63, 18 + VSSA: 12 + POWER: + VDD: 32, 48, 64, 19 + VDDA: 13 + VBAT: 1 + +pinout@LQFP100: + PORTA: + PA0-WKUP: 23 + PA1: 24 + PA2: 25 + PA3: 26 + PA4: 29 + PA5: 30 + PA6: 31 + PA7: 32 + PA8: 67 + PA9: 68 + PA10: 69 + PA11: 70 + PA12: 71 + PA13: 72 + PA14: 76 + PA15: 77 + PORTB: + PB0: 35 + PB1: 36 + PB2: 37 + PB3: 89 + PB4: 90 + PB5: 91 + PB6: 92 + PB7: 93 + PB8: 95 + PB9: 96 + PB10: 47 + PB11: 48 + PB12: 51 + PB13: 52 + PB14: 53 + PB15: 54 + PORTC: + PC0: 15 + PC1: 16 + PC2: 17 + PC3: 18 + PC4: 33 + PC5: 34 + PC6: 63 + PC7: 64 + PC8: 65 + PC9: 66 + PC10: 78 + PC11: 79 + PC12: 80 + PC13-TAMPER-RTC: 7 + PC14-OSC32_IN: 8 + PC15-OSC32_OUT: 9 + PORTD: + PD0: 81 + PD1: 82 + PD2: 83 + PD3: 84 + PD4: 85 + PD5: 86 + PD6: 87 + PD7: 88 + PD8: 55 + PD9: 56 + PD10: 57 + PD11: 58 + PD12: 59 + PD13: 60 + PD14: 61 + PD15: 62 + PORTE: + PE0: 97 + PE1: 98 + PE2: 1 + PE3: 2 + PE4: 3 + PE5: 4 + PE6: 5 + PE7: 38 + PE8: 39 + PE9: 40 + PE10: 41 + PE11: 42 + PE12: 43 + PE13: 44 + PE14: 45 + PE15: 47 + CTRL: + OSC_IN: 12 + OSC_OUT: 13 + NRST: 14 + BOOT0: 94 + GROUND: + VSS: 49, 74, 99, 27, 10 + VSSA: 19 + VREF-: 20 + POWER: + VDD: 50, 75, 100, 28, 11 + VDDA: 22 + VBAT: 6 + VREF+: 21 + NC: 73 + +pinout@LQFP144: + PORTA: + PA0-WKUP: 34 + PA1: 35 + PA2: 36 + PA3: 37 + PA4: 40 + PA5: 41 + PA6: 42 + PA7: 43 + PA8: 100 + PA9: 101 + PA10: 102 + PA11: 103 + PA12: 104 + PA13: 105 + PA14: 109 + PA15: 110 + PORTB: + PB0: 46 + PB1: 47 + PB2: 48 + PB3: 133 + PB4: 134 + PB5: 135 + PB6: 136 + PB7: 137 + PB8: 139 + PB9: 140 + PB10: 69 + PB11: 70 + PB12: 73 + PB13: 74 + PB14: 75 + PB15: 76 + PORTC: + PC0: 26 + PC1: 27 + PC2: 28 + PC3: 29 + PC4: 44 + PC5: 45 + PC6: 96 + PC7: 97 + PC8: 98 + PC9: 99 + PC10: 111 + PC11: 112 + PC12: 113 + PC13-TAMPER-RTC: 7 + PC14-OSC32_IN: 8 + PC15-OSC32_OUT: 9 + PORTD: + PD0: 114 + PD1: 115 + PD2: 116 + PD3: 117 + PD4: 118 + PD5: 119 + PD6: 122 + PD7: 123 + PD8: 77 + PD9: 78 + PD10: 79 + PD11: 80 + PD12: 81 + PD13: 82 + PD14: 85 + PD15: 86 + PORTE: + PE0: 141 + PE1: 142 + PE2: 1 + PE3: 2 + PE4: 3 + PE5: 4 + PE6: 5 + PE7: 58 + PE8: 59 + PE9: 60 + PE10: 63 + PE11: 64 + PE12: 65 + PE13: 66 + PE14: 67 + PE15: 68 + PORTF: + PF0: 10 + PF1: 11 + PF2: 12 + PF3: 13 + PF4: 14 + PF5: 15 + PF6: 18 + PF7: 19 + PF8: 20 + PF9: 21 + PF10: 22 + PF11: 49 + PF12: 50 + PF13: 53 + PF14: 54 + PF15: 55 + PORTG: + PG0: 56 + PG1: 57 + PG2: 87 + PG3: 88 + PG4: 89 + PG5: 90 + PG6: 91 + PG7: 92 + PG8: 93 + PG9: 124 + PG10: 125 + PG11: 126 + PG12: 127 + PG13: 128 + PG14: 129 + PG15: 132 + CTRL: + OSC_IN: 23 + OSC_OUT: 24 + NRST: 25 + BOOT0: 138 + GROUND: + VSS: 71, 107, 143, 38, 16, 51, 61, 83, 94, 120, 130 + VSSA: 30 + VREF-: 31 + POWER: + VDD: 72, 108, 144, 39, 17, 52, 62, 84, 95, 121, 131 + VDDA: 33 + VBAT: 6 + VREF+: 32 + NC: 106 + +pinout@WLCSP64: + PORTA: + PA0-WKUP: F6 + PA1: E6 + PA2: H8 + PA3: G7 + PA4: H7 + PA5: E5 + PA6: G5 + PA7: G4 + PA8: E4 + PA9: D2 + PA10: D3 + PA11: C1 + PA12: C2 + PA13: D4 + PA14: B2 + PA15: C3 + PORTB: + PB0: H4 + PB1: F4 + PB2: H3 + PB3: A4 + PB4: B4 + PB5: A5 + PB6: B5 + PB7: C5 + PB8: D5 + PB9: B6 + PB10: G3 + PB11: F3 + PB12: G2 + PB13: G1 + PB14: F2 + PB15: F1 + PORTC: + PC0: E8 + PC1: F8 + PC2: D6 + PC4: H6 + PC5: H5 + PC6: E1 + PC7: E2 + PC8: E3 + PC9: D1 + PC10: A2 + PC11: B3 + PC12: C4 + PC13-TAMPER-RTC: C8 + PC14-OSC32_IN: B8 + PC15-OSC32_OUT: B7 + PORTD: + PD0: D8 + PD1: D7 + PD2: A3 + CTRL: + OSC_IN: D8 + OSC_OUT: D7 + NRST: C7 + BOOT0: A6 + GROUND: + VSS: H2, B1, A7, F5 + VSSA: E7 + POWER: + VDD: H1, A1, A8, G6 + VDDA: G8 + VBAT: C6 + VREF+: F7 + +pinout@LFBGA100: + PORTA: + PA0-WKUP: G2 + PA1: H2 + PA2: J2 + PA3: K2 + PA4: G3 + PA5: H3 + PA6: J3 + PA7: K3 + PA8: D9 + PA9: C9 + PA10: D10 + PA11: C10 + PA12: B10 + PA13: A10 + PA14: A9 + PA15: A8 + PORTB: + PB0: J4 + PB1: K4 + PB2: G5 + PB3: A7 + PB4: A6 + PB5: C5 + PB6: B5 + PB7: A5 + PB8: B4 + PB9: A4 + PB10: J7 + PB11: K7 + PB12: K8 + PB13: J8 + PB14: H8 + PB15: G8 + PORTC: + PC0: F1 + PC1: F2 + PC2: E2 + PC3: F3 + PC4: G4 + PC5: H4 + PC6: F10 + PC7: E10 + PC8: F9 + PC9: E9 + PC10: B9 + PC11: B8 + PC12: C8 + PC13-TAMPER-RTC: A2 + PC14-OSC32_IN: A1 + PC15-OSC32_OUT: B1 + PORTD: + PD0: D8 + PD1: E8 + PD2: B7 + PD3: C7 + PD4: D7 + PD5: B6 + PD6: C6 + PD7: D6 + PD8: K9 + PD9: J9 + PD10: H9 + PD11: G9 + PD12: K10 + PD13: J10 + PD14: H10 + PD15: G10 + PORTE: + PE0: D4 + PE1: C4 + PE2: A3 + PE3: B3 + PE4: C3 + PE5: D3 + PE6: E3 + PE7: H5 + PE8: J5 + PE9: K5 + PE10: G6 + PE11: H6 + PE12: J6 + PE13: K6 + PE14: G7 + PE15: H7 + CTRL: + OSC_IN: C1 + OSC_OUT: D1 + NRST: E1 + BOOT0: D5 + GROUND: + VSS: E7, E6, E5, E4, C2 + VSSA: G1 + VREF-: H1 + POWER: + VDD: F7, F6, F5, F4, D2 + VDDA: K1 + VBAT: B2 + VREF+: J1 + NC: F8 + +pinout@LFBGA144: + PORTA: + PA0-WKUP: J2 + PA1: K2 + PA2: L2 + PA3: M2 + PA4: J3 + PA5: K3 + PA6: L3 + PA7: M3 + PA8: E12 + PA9: D12 + PA10: D11 + PA11: C12 + PA12: B12 + PA13: A12 + PA14: A11 + PA15: A10 + PORTB: + PB0: L4 + PB1: M4 + PB2: J5 + PB3: A7 + PB4: A6 + PB5: B6 + PB6: C6 + PB7: D6 + PB8: C5 + PB9: B5 + PB10: M9 + PB11: M10 + PB12: M11 + PB13: M12 + PB14: L11 + PB15: L12 + PORTC: + PC0: H1 + PC1: H2 + PC2: H3 + PC3: H4 + PC4: J4 + PC5: K4 + PC6: G12 + PC7: F12 + PC8: F11 + PC9: E11 + PC10: B11 + PC11: B10 + PC12: C10 + PC13-TAMPER-RTC: A1 + PC14-OSC32_IN: B1 + PC15-OSC32_OUT: C1 + PORTD: + PD0: E10 + PD1: D10 + PD2: E9 + PD3: D9 + PD4: C9 + PD5: B9 + PD6: A8 + PD7: A9 + PD8: L9 + PD9: K9 + PD10: J9 + PD11: H9 + PD12: L10 + PD13: K10 + PD14: K11 + PD15: K12 + PORTE: + PE0: A5 + PE1: A4 + PE2: A3 + PE3: A2 + PE4: B2 + PE5: B3 + PE6: B4 + PE7: M7 + PE8: L7 + PE9: K7 + PE10: J7 + PE11: H8 + PE12: J8 + PE13: K8 + PE14: L8 + PE15: M8 + PORTF: + PF0: C3 + PF1: C4 + PF2: D4 + PF3: E2 + PF4: E3 + PF5: E4 + PF6: F3 + PF7: F2 + PF8: G3 + PF9: G2 + PF10: G1 + PF11: M5 + PF12: L5 + PF13: K5 + PF14: M6 + PF15: L6 + PORTG: + PG0: K6 + PG1: J6 + PG2: J12 + PG3: J11 + PG4: J10 + PG5: H12 + PG6: H11 + PG7: H10 + PG8: G11 + PG9: E8 + PG10: D8 + PG11: C8 + PG12: B8 + PG13: D7 + PG14: C7 + PG15: B7 + CTRL: + OSC_IN: D1 + OSC_OUT: E1 + NRST: F1 + BOOT0: D5 + GROUND: + VSS: H7, G9, E5, G4, D2, H5, H6, G8, G10, E7, E6 + VSSA: J1 + VREF-: K1 + POWER: + VDD: G7, F9, F5, F4, D3, G5, G6, F8, F10, F7, F6 + VDDA: M1 + VBAT: C2 + VREF+: L1 + NC: C11 + +properties: + in: NRST, BOOT0 + bidir: PA0-WKUP:, PA0-WKUP, PA1-15, PB0-15, PC0-12, PC13-TAMPER-RTC, PC14-OSC32_IN, PC15-OSC32_OUT, PD0-15, PE0-15, PF0-15, PG0-15 + passive: OSC_IN, OSC_OUT, VREF+, VREF- + power: VDD, VDDA, VBAT + nc: NC + ground: VSS, VSSA + inverted: ~NRST + +schematic: + symbol: IC + left: CTRL, PORTA, PORTB, PORTC + right: PORTD, PORTE, PORTF, PORTG + top: POWER + bottom: GROUND + +housing@LFBGA144: + pattern: BGA + bodyWidth: 9.850-10.150 # E + bodyLength: 9.850-10.150 # D + height: 1.700 # A + pitch: 0.800 # e + rowCount: 12 + columnCount: 12 + leadDiameter: 0.150 # eee + leadCount: 144 + +housing@LFBGA100: + pattern: BGA + bodyWidth: 9.850-10.150 # E + bodyLength: 9.850-10.150 # D + height: 1.700 # A + pitch: 0.800 # e + rowCount: 10 + columnCount: 10 + leadDiameter: 0.150 # eee + leadCount: 100 + +housing@WLCSP64: + pattern: BGA + bodyWidth: 4.446-4.486 # D + bodyLength: 4.375-4.415 # E + height: 0.535-0.635 # A + pitch: 0.500 # e + rowCount: 8 + columnCount: 8 + leadDiameter: 0.290-0.350 # b + leadCount: 64 + +housing@LQFP144: + pattern: QFP + bodyWidth: 19.80-20.20 # D1 + bodyLength: 19.80-20.20 # E1 + height: 1.600 # A + leadWidth: 0.17-0.27 # b + leadLength: 0.45-0.75 # L + leadSpan: 21.80-22.20 # D + pitch: 0.5 # e + leadCount: 144 + rowCount: 36 + columnCount: 36 + +housing@LQFP100: + pattern: QFP + bodyWidth: 13.800-14.200 # D1 + bodyLength: 13.800-14.200 # E1 + height: 1.600 # A + leadWidth: 0.17-0.27 # b + leadLength: 0.45-0.75 # L + leadSpan: 15.800-16.200 # D + pitch: 0.5 # e + leadCount: 100 + rowCount: 25 + columnCount: 25 + +housing@LQFP64: + pattern: QFP + bodyWidth: 9.8-10.2 # D1 + bodyLength: 9.8-10.2 # E1 + height: 1.600 # A + leadWidth: 0.17-0.27 # b + leadLength: 0.45-0.75 # L + leadSpan: 11.8-12.2 # D + pitch: 0.5 # e + leadCount: 64 + rowCount: 16 + columnCount: 16 diff --git a/mechanical/mechanical_button_6mm.yaml b/mechanical/mechanical_button_6mm.yaml new file mode 100644 index 0000000..e52dbe1 --- /dev/null +++ b/mechanical/mechanical_button_6mm.yaml @@ -0,0 +1,32 @@ +name: BUTTON6MM +description: 6x6 mm tactile button, though hole +keywords: mechanical, button + +# 1A and 1B are internally connected +# 2A and 2B are internally connected +# 1x/2x are momentarily connected when the button is pressed + +pinout: + 1A: 1 + 2A: 2 + 2B: 3 + 1B: 4 + +schematic: + symbol: connector + left: 1A, 1B + right: 2A, 2B + +housing: + pattern: custom + bodyLength: 6.0 + bodyWidth: 6.0 + + holeDiameter: 1.0 + padDiameter: 1.4 + # this numbers the pins not as I would like + #rowCount: 2 + #columnCount: 2 + #verticalPitch: 4.5 + #horizontalPitch: 6.5 + padPosition: -3.25, -2.25, -3.25, 2.25, 3.25, 2.25, 3.25, -2.25 diff --git a/resistor/r0603.yaml b/resistor/r0603.yaml new file mode 100644 index 0000000..b84a2a2 --- /dev/null +++ b/resistor/r0603.yaml @@ -0,0 +1,13 @@ +name: R0603 +description: Chip resistor 1.6x0.8 mm +keywords: Resistor, 1/10W + +schematic: + symbol: resistor + +housing: + pattern: chip + bodyLength: 1.5-1.7 + bodyWidth: 0.7-0.9 + height: 0.35-0.55 + leadLength: 0.15-0.45 diff --git a/transistor/transistor_pmos_nxp_bss84.yaml b/transistor/transistor_pmos_nxp_bss84.yaml new file mode 100644 index 0000000..1f8de4e --- /dev/null +++ b/transistor/transistor_pmos_nxp_bss84.yaml @@ -0,0 +1,20 @@ +name: BSS84 +description: P-channel enhancement mode vertical DMOS transistor +keywords: transistor, MOSFET, pMOS +datasheet: https://assets.nexperia.com/documents/data-sheet/BSS84.pdf + +pinout: + G: 1 + S: 2 + D: 3 + +properties: + in: G + pasive: S, D + +schematic: + symbol: FET + options: p, diode + +housing: + outline: JEDEC TO-236 AB diff --git a/vreg/vreg_ldo_torex_xc6206.yaml b/vreg/vreg_ldo_torex_xc6206.yaml new file mode 100644 index 0000000..0bd73ee --- /dev/null +++ b/vreg/vreg_ldo_torex_xc6206.yaml @@ -0,0 +1,32 @@ +name: XC6206 +description: positive voltage regulators +variations: MR +datasheet: https://www.torexsemi.com/file/xc6206/XC6206.pdf +keywords: IC, regulator + +pinout@MR: + VSS: 1 + VOUT: 2 + VIN: 3 + +properties@MR: + power: VIN + output: VOUT + ground: VSS + +schematic@MR: + symbol: IC + left: VIN + right: VOUT + bottom: VSS + +housing@MR: + pattern: SOT23 + bodyWidth: 1.5-1.8 # E1 + bodyLength: 2.7-3.1 # D + leadSpan: 2.6-3.0 # E + leadWidth: 0.395-4.1 # b + leadLength: 0.2 # L + height: 1.3 # A + pitch: 0.95 # e + leadCount: 3 diff --git a/vreg/vreg_pmic_tpower_tp4056.yaml b/vreg/vreg_pmic_tpower_tp4056.yaml new file mode 100644 index 0000000..31c4de2 --- /dev/null +++ b/vreg/vreg_pmic_tpower_tp4056.yaml @@ -0,0 +1,35 @@ +name: TP4056 +description: 1A Standalone Linear Li-lon Battery Charger +keywords: IC, PMIC, battery, charger +datasheet: https://datasheet.lcsc.com/szlcsc/1910111742_TPOWER-TP4056_C382139.pdf + +pinout: + TEMP: 1 + PROG: 2 + GND: 3 + VCC: 4 + BAT: 5 + nSTDBY: 6 + nCHRG: 7 + CE: 8 + +schematic: + symbol: IC + top: VCC + bottom: GND + left: CE, nSTDBY, nCHRG + right: BAT, TEMP, PROG + + +housing: + pattern: SOP + bodyWidth: 3.8-4.0 # E + bodyLength: 4.7-5.1 # D + height: 1.35-1.75 # A + pitch: 1.270 # e + leadCount: 8 + leadLength: 0.4-1.27 # L + leadSpan: 5.8-6.2 # E1 + leadWidth: 0.33-0.51 # b + tabLength: 3.202-4.402 # D1 + tabWidth: 2.313-2.513 # E2