← Commit history

Publish 0.2.0

Colby Knox ·66f92ce9be ·3mo ago ·parent ffe82c0
5 files changed +69−100
STM32F103C8T6.kicad_mod−96
@@ -332,384 +332,288 @@ 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "VBAT")-		(pintype "power_in") 	) 	(pad "2" smd roundrect 		(at -4.1625 -2.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PC13-TAMPER-RTC")-		(pintype "bidirectional") 	) 	(pad "3" smd roundrect 		(at -4.1625 -1.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PC14-OSC32_IN")-		(pintype "bidirectional") 	) 	(pad "4" smd roundrect 		(at -4.1625 -1.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PC15-OSC32_OUT")-		(pintype "bidirectional") 	) 	(pad "5" smd roundrect 		(at -4.1625 -0.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PD0-OSC_IN")-		(pintype "bidirectional") 	) 	(pad "6" smd roundrect 		(at -4.1625 -0.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PD1-OSC_OUT")-		(pintype "bidirectional") 	) 	(pad "7" smd roundrect 		(at -4.1625 0.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "NRST")-		(pintype "bidirectional") 	) 	(pad "8" smd roundrect 		(at -4.1625 0.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "VSSA")-		(pintype "power_in") 	) 	(pad "9" smd roundrect 		(at -4.1625 1.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "VDDA")-		(pintype "power_in") 	) 	(pad "10" smd roundrect 		(at -4.1625 1.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA0-WKUP")-		(pintype "bidirectional") 	) 	(pad "11" smd roundrect 		(at -4.1625 2.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA1")-		(pintype "bidirectional") 	) 	(pad "12" smd roundrect 		(at -4.1625 2.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA2")-		(pintype "bidirectional") 	) 	(pad "13" smd roundrect 		(at -2.75 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA3")-		(pintype "bidirectional") 	) 	(pad "14" smd roundrect 		(at -2.25 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA4")-		(pintype "bidirectional") 	) 	(pad "15" smd roundrect 		(at -1.75 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA5")-		(pintype "bidirectional") 	) 	(pad "16" smd roundrect 		(at -1.25 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA6")-		(pintype "bidirectional") 	) 	(pad "17" smd roundrect 		(at -0.75 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA7")-		(pintype "bidirectional") 	) 	(pad "18" smd roundrect 		(at -0.25 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB0")-		(pintype "bidirectional") 	) 	(pad "19" smd roundrect 		(at 0.25 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB1")-		(pintype "bidirectional") 	) 	(pad "20" smd roundrect 		(at 0.75 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB2")-		(pintype "bidirectional") 	) 	(pad "21" smd roundrect 		(at 1.25 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB10")-		(pintype "bidirectional") 	) 	(pad "22" smd roundrect 		(at 1.75 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB11")-		(pintype "bidirectional") 	) 	(pad "23" smd roundrect 		(at 2.25 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "VSS_1")-		(pintype "power_in") 	) 	(pad "24" smd roundrect 		(at 2.75 4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "VDD_1")-		(pintype "power_in") 	) 	(pad "25" smd roundrect 		(at 4.1625 2.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB12")-		(pintype "bidirectional") 	) 	(pad "26" smd roundrect 		(at 4.1625 2.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB13")-		(pintype "bidirectional") 	) 	(pad "27" smd roundrect 		(at 4.1625 1.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB14")-		(pintype "bidirectional") 	) 	(pad "28" smd roundrect 		(at 4.1625 1.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB15")-		(pintype "bidirectional") 	) 	(pad "29" smd roundrect 		(at 4.1625 0.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA8")-		(pintype "bidirectional") 	) 	(pad "30" smd roundrect 		(at 4.1625 0.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA9")-		(pintype "bidirectional") 	) 	(pad "31" smd roundrect 		(at 4.1625 -0.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA10")-		(pintype "bidirectional") 	) 	(pad "32" smd roundrect 		(at 4.1625 -0.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA11")-		(pintype "bidirectional") 	) 	(pad "33" smd roundrect 		(at 4.1625 -1.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA12")-		(pintype "bidirectional") 	) 	(pad "34" smd roundrect 		(at 4.1625 -1.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA13")-		(pintype "bidirectional") 	) 	(pad "35" smd roundrect 		(at 4.1625 -2.25) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "VSS_2")-		(pintype "power_in") 	) 	(pad "36" smd roundrect 		(at 4.1625 -2.75) 		(size 1.475 0.3) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "VDD_2")-		(pintype "power_in") 	) 	(pad "37" smd roundrect 		(at 2.75 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA14")-		(pintype "bidirectional") 	) 	(pad "38" smd roundrect 		(at 2.25 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PA15")-		(pintype "bidirectional") 	) 	(pad "39" smd roundrect 		(at 1.75 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB3")-		(pintype "bidirectional") 	) 	(pad "40" smd roundrect 		(at 1.25 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB4")-		(pintype "bidirectional") 	) 	(pad "41" smd roundrect 		(at 0.75 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB5")-		(pintype "bidirectional") 	) 	(pad "42" smd roundrect 		(at 0.25 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB6")-		(pintype "bidirectional") 	) 	(pad "43" smd roundrect 		(at -0.25 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB7")-		(pintype "bidirectional") 	) 	(pad "44" smd roundrect 		(at -0.75 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "BOOT0")-		(pintype "input") 	) 	(pad "45" smd roundrect 		(at -1.25 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB8")-		(pintype "bidirectional") 	) 	(pad "46" smd roundrect 		(at -1.75 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "PB9")-		(pintype "bidirectional") 	) 	(pad "47" smd roundrect 		(at -2.25 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "VSS_3")-		(pintype "power_in") 	) 	(pad "48" smd roundrect 		(at -2.75 -4.1625) 		(size 0.3 1.475) 		(layers "F.Cu" "F.Mask" "F.Paste") 		(roundrect_rratio 0.25)-		(pinfunction "VDD_3")-		(pintype "power_in") 	) 	(embedded_fonts no) 	(model "${KICAD10_3DMODEL_DIR}/Package_QFP.3dshapes/LQFP-48_7x7mm_P0.5mm.step"
docs/stm32f103c8.pdfadded
⋯ 1 unchanged line ⋯
package.json+4−2
@@ -1,6 +1,6 @@ {   "slug": "stm32f103c8t6",-  "version": "0.1.0",+  "version": "0.2.0",   "type": "component",   "description": "STMicroelectronics mainstream Arm Cortex-M3 MCU. 72 MHz, 64 KB Flash, 20 KB SRAM, USB, CAN, LQFP-48. The workhorse Blue Pill microcontroller.",   "dependencies": {},@@ -27,5 +27,7 @@   ],   "hero": {     "path": "screenshots/hero.png"-  }+  },+  "org": "adom",+  "changelog": "0.2.0: first skills-bearing component (adom/wiki #46): ships stm32f103c8t6-usage teaching placement, decoupling, BOOT0, SWD, crystal, USB pull-up." }\ No newline at end of file
page.json+15−2
@@ -4,7 +4,7 @@   "slug": "stm32f103c8t6",   "title": "STM32F103C8T6 - Arm Cortex-M3 MCU (Blue Pill)",   "brief": "STMicroelectronics mainstream Arm Cortex-M3 MCU. 72 MHz, 64 KB Flash, 20 KB SRAM, USB, CAN, LQFP-48. The workhorse Blue Pill microcontroller.",-  "version": "0.1.0",+  "version": "0.2.0",   "tags": [     "component",     "microcontroller",@@ -84,5 +84,18 @@   "hero": {     "type": "image",     "path": "screenshots/hero.png"-  }+  },+  "description": "STMicroelectronics mainstream Arm Cortex-M3 MCU. 72 MHz, 64 KB Flash, 20 KB SRAM, USB, CAN, LQFP-48. The workhorse Blue Pill microcontroller.",+  "dependencies": {},+  "files": [+    "page.json",+    "README.md",+    "STM32F103C8Tx.kicad_sym",+    "STM32F103C8T6.kicad_mod",+    "stm32f103c8t6.glb",+    "stm32f103c8t6.step",+    "screenshots/hero.png",+    "docs/stm32f103c8.pdf"+  ],+  "changelog": "0.2.0: first skills-bearing component (adom/wiki #46): ships stm32f103c8t6-usage teaching placement, decoupling, BOOT0, SWD, crystal, USB pull-up." }\ No newline at end of file
skills/stm32f103c8t6-usage/SKILL.mdadded+50
@@ -0,0 +1,50 @@+---+name: stm32f103c8t6-usage+description: "Use when placing the STM32F103C8T6 (Blue Pill MCU, LQFP-48) on a board: pin 1 orientation, decoupling, BOOT0 strapping, SWD debug header, crystal selection, USB pull-up, and pulling this page's symbol/footprint/3D into KiCad or Fusion. Triggers: put the STM32 on my board, F103 decoupling, blue pill pinout, BOOT0, SWD pins, stm32f103 crystal."+---++# STM32F103C8T6 usage++Arm Cortex-M3 @ 72 MHz, 64 KB flash, 20 KB SRAM, LQFP-48. 2.0-3.6 V VDD+(3.3 V typical). This skill covers board placement; electrical detail is in+the page's datasheet (open the Datasheet viewer on the page).++## Orientation and power++- Pin 1 (VBAT) is the dimple corner; the LQFP-48 footprint on this page has+  pin 1 at the top-left with the silkscreen dot. Double-check after any+  rotation: a 90-degree mistake on this package is the classic rework.+- Decouple EVERY VDD/VSS pair (pins 24/23, 36/35, 48/47) with 100 nF as close+  to the pin as routing allows, plus one 4.7 uF bulk near the part.+- VDDA/VSSA (pins 9/8) get their own 100 nF + 1 uF; feed VDDA through a+  ferrite or small R from 3.3 V if ADC noise matters. Tie VBAT to 3.3 V+  through nothing (or a coin cell + diode if you use the RTC).+- NRST (pin 7): 100 nF to ground; internal pull-up exists. Bring it to the+  debug header.++## Strapping and debug++- BOOT0 (pin 44) to GND through 10 k for normal flash boot. BOOT0 high at+  reset enters the ROM UART bootloader on PA9/PA10. Do not float it.+- SWD is PA13 (SWDIO, pin 34) and PA14 (SWCLK, pin 37). Keep+  SWDIO/SWCLK/NRST/3V3/GND on a header; every programmer expects them.++## Clocks and USB++- HSE: 8 MHz crystal (pins 5/6) with ~20 pF loads is the canonical choice;+  the PLL takes it to 72 MHz. LSE 32.768 kHz on pins 3/4 only if you need RTC.+- USB FS is PA12 (DP) / PA11 (DM). The F103 has NO internal DP pull-up: add+  1.5 k from PA12 to 3.3 V (switchable via a GPIO-driven transistor if you+  want soft connect/disconnect).+- Most GPIOs are 5 V tolerant (FT) in digital modes; ADC inputs are limited+  to VDDA. Check the datasheet pin table before assuming.++## Using this page's CAD assets++- Symbol: `STM32F103C8Tx.kicad_sym`, footprint: `STM32F103C8T6.kicad_mod`,+  3D: `stm32f103c8t6.glb` / `.step`, all in this package and on the page's+  Files tab.+- KiCad/Fusion delivery: with Adom Desktop connected, ask the agent to send+  the symbol/footprint to KiCad (adom-desktop bridges) or use the page's+  per-file download URLs. The 3D model drops into the board view as-is+  (Z-up, mm scale).