← Commit history

Initial commit: component/stm32f302cbt6

Ray ·6bdb38c351 ·
2 files changed +129
README.mdadded+95
@@ -0,0 +1,95 @@+# STM32F302CBT6++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-48(7x7)++STM32F302CBT6 from STMicroelectronics, in a LQFP-48(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | VBAT | power_in | Backup power supply (1.8-3.6 V) for RTC and backup registers when VDD is off. |+| 2 | PC13 | bidirectional | GPIO PC13 (I/O TC standard 3.3 V). Supplied via backup power switch; limited drive: 2 MHz max at 30 pF, not for LED sourcing. Alt: TIM1_CH1N. Add'l: WKUP2, RTC_TAMP1, RTC_TS, RTC_OUT. |+| 3 | PC14/OSC32_IN | bidirectional | GPIO PC14 or 32 kHz LSE crystal input (OSC32_IN). Supplied through backup power switch, limited drive strength. |+| 4 | PC15/OSC32_OUT | bidirectional | GPIO PC15 or 32 kHz LSE crystal output (OSC32_OUT). Supplied through backup power switch. |+| 5 | PF0/OSC_IN | bidirectional | GPIO PF0 (I/O FTf, 5 V-tolerant FM+ capable) or HSE crystal input (OSC_IN, 4-32 MHz). Alt: TIM1_CH3N, I2C2_SDA. |+| 6 | PF1/OSC_OUT | bidirectional | GPIO PF1 (I/O FTf) or HSE crystal output (OSC_OUT). Alt: I2C2_SCL. |+| 7 | NRST | bidirectional | Bidirectional device reset input / internal reset output, active low, with embedded weak pull-up. |+| 8 | VSSA/VREF- | power_in | Analog ground and negative ADC reference. Tied to VSS externally on 48-pin package. |+| 9 | VDDA/VREF+ | power_in | Analog power supply and positive ADC reference (2.0-3.6 V; 2.4-3.6 V when DAC/OPAMP used). On the 48-pin package VREF+ is internally connected to VDDA. |+| 10 | PA0 | bidirectional | GPIO PA0 (I/O TTa, fast ADC channel). Alt: USART2_CTS, TIM2_CH1_ETR, TSC_G1_IO1, EVENTOUT. Add'l: ADC1_IN1, COMP1_INM, COMP1_OUT, RTC_TAMP2, WKUP1. |+| 11 | PA1 | bidirectional | GPIO PA1 (I/O TTa, fast ADC channel). Alt: USART2_RTS_DE, TIM2_CH2, TSC_G1_IO2, TIM15_CH1N, RTC_REFIN, EVENTOUT. Add'l: ADC1_IN2, COMP1_INP, OPAMP1_VINP. |+| 12 | PA2 | bidirectional | GPIO PA2 (I/O TTa, fast ADC channel, reduced touch sense sensitivity). Alt: USART2_TX, TIM2_CH3, TIM15_CH1, TSC_G1_IO3, COMP2_OUT, EVENTOUT. Add'l: ADC1_IN3, COMP2_INM, OPAMP1_VOUT. |+| 13 | PA3 | bidirectional | GPIO PA3 (I/O TTa, fast ADC channel). Alt: USART2_RX, TIM2_CH4, TIM15_CH2, TSC_G1_IO4, EVENTOUT. Add'l: ADC1_IN4, OPAMP1_VINP, COMP2_INP, OPAMP1_VINM. |+| 14 | PA4 | bidirectional | GPIO PA4 (I/O TTa, fast ADC channel, reduced touch sense sensitivity). Alt: SPI1_NSS, SPI3_NSS, I2S3_WS, USART2_CK, TSC_G2_IO1, TIM3_CH2, EVENTOUT. Add'l: ADC2_IN1, DAC1_OUT1, COMP1_INM, COMP2_INM, COMP4_INM, COMP6_INM. |+| 15 | PA5 | bidirectional | GPIO PA5 (I/O TTa, fast ADC channel, reduced touch sense sensitivity). Alt: SPI1_SCK, TIM2_CH1_ETR, TSC_G2_IO2, EVENTOUT. Add'l: ADC2_IN2, OPAMP1_VINP, OPAMP2_VINM, COMP1_INM, COMP2_INM, COMP4_INM, COMP6_INM. |+| 16 | PA6 | bidirectional | GPIO PA6 (I/O TTa, fast ADC channel, reduced touch sense sensitivity). Alt: SPI1_MISO, TIM3_CH1, TIM1_BKIN, TIM16_CH1, COMP1_OUT, TSC_G2_IO3, EVENTOUT. Add'l: ADC2_IN3, OPAMP2_VOUT. |+| 17 | PA7 | bidirectional | GPIO PA7 (I/O TTa, fast ADC channel). Alt: SPI1_MOSI, TIM3_CH2, TIM17_CH1, TIM1_CH1N, TSC_G2_IO4, COMP2_OUT, EVENTOUT. Add'l: ADC2_IN4, COMP2_INP, OPAMP2_VINP, OPAMP1_VINP. |+| 18 | PB0 | bidirectional | GPIO PB0 (I/O TTa). Alt: TIM3_CH3, TIM1_CH2N, TSC_G3_IO2, EVENTOUT. Add'l: COMP4_INP, OPAMP2_VINP. |+| 19 | PB1 | bidirectional | GPIO PB1 (I/O TTa, fast ADC channel, reduced touch sense sensitivity). Alt: TIM3_CH4, TIM1_CH3N, COMP4_OUT, TSC_G3_IO3, EVENTOUT. |+| 20 | PB2 | bidirectional | GPIO PB2 (I/O TTa). Alt: TSC_G3_IO4, EVENTOUT. Add'l: ADC2_IN12, COMP4_INM. |+| 21 | PB10 | bidirectional | GPIO PB10 (I/O TTa). Alt: USART3_TX, TIM2_CH3, TSC_SYNC, EVENTOUT. |+| 22 | PB11 | bidirectional | GPIO PB11 (I/O TTa). Alt: USART3_RX, TIM2_CH4, TSC_G6_IO1, EVENTOUT. Add'l: COMP6_INP. |+| 23 | VSS | power_in | Digital ground. |+| 24 | VDD | power_in | Digital power supply (2.0-3.6 V). Decouple locally with 100 nF near the pin. |+| 25 | PB12 | bidirectional | GPIO PB12 (I/O TTa, fast ADC channel, reduced touch sense sensitivity). Alt: SPI2_NSS, I2S2_WS, I2C2_SMBA, USART3_CK, TIM1_BKIN, TSC_G6_IO2, EVENTOUT. |+| 26 | PB13 | bidirectional | GPIO PB13 (I/O TTa, fast ADC channel). Alt: SPI2_SCK, I2S2_CK, USART3_CTS, TIM1_CH1N, TSC_G6_IO3, EVENTOUT. |+| 27 | PB14 | bidirectional | GPIO PB14 (I/O TTa, fast ADC channel). Alt: SPI2_MISO, I2S2ext_SD, USART3_RTS_DE, TIM1_CH2N, TIM15_CH1, TSC_G6_IO4, EVENTOUT. Add'l: OPAMP2_VINP. |+| 28 | PB15 | bidirectional | GPIO PB15 (I/O TTa, fast ADC channel). Alt: SPI2_MOSI, I2S2_SD, TIM1_CH3N, RTC_REFIN, TIM15_CH1N, TIM15_CH2, EVENTOUT. Add'l: COMP6_INM. |+| 29 | PA8 | bidirectional | GPIO PA8 (I/O FT, 5 V-tolerant). Alt: I2C2_SMBA, I2S2_MCK, USART1_CK, TIM1_CH1, TIM4_ETR, MCO, EVENTOUT. |+| 30 | PA9 | bidirectional | GPIO PA9 (I/O FTf, 5 V-tolerant FM+ capable). Alt: I2C2_SCL, I2S3_MCK, USART1_TX, TIM1_CH2, TIM2_CH3, TIM15_BKIN, TSC_G4_IO1, EVENTOUT. |+| 31 | PA10 | bidirectional | GPIO PA10 (I/O FTf, 5 V-tolerant FM+ capable). Alt: I2C2_SDA, USART1_RX, TIM1_CH3, TIM2_CH4, TIM17_BKIN, TSC_G4_IO2, COMP6_OUT, EVENTOUT. |+| 32 | PA11 | bidirectional | GPIO PA11 (I/O FT, 5 V-tolerant). Alt: USART1_CTS, USB_DM, CAN_RX, TIM1_CH1N, TIM1_CH4, TIM1_BKIN2, TIM4_CH1, COMP1_OUT, EVENTOUT. Common USB D- pin. |+| 33 | PA12 | bidirectional | GPIO PA12 (I/O FT, 5 V-tolerant). Alt: USART1_RTS_DE, USB_DP, CAN_TX, TIM1_CH2N, TIM1_ETR, TIM4_CH2, TIM16_CH1, COMP2_OUT, EVENTOUT. Common USB D+ pin. |+| 34 | PA13 | bidirectional | GPIO PA13 (I/O FT). SWDIO/JTMS after reset. Alt: USART3_CTS, TIM4_CH3, TIM16_CH1N, TSC_G4_IO3, IR_OUT, SWDIO-JTMS, EVENTOUT. |+| 35 | VSS | power_in | Digital ground. |+| 36 | VDD | power_in | Digital power supply (2.0-3.6 V). |+| 37 | PA14 | bidirectional | GPIO PA14 (I/O FTf, 5 V-tolerant FM+ capable). SWCLK/JTCK after reset. Alt: I2C1_SDA, USART2_TX, TIM1_BKIN, TSC_G4_IO4, SWCLK-JTCK, EVENTOUT. |+| 38 | PA15 | bidirectional | GPIO PA15 (I/O FTf). JTDI after reset. Alt: I2C1_SCL, SPI1_NSS, SPI3_NSS, I2S3_WS, JTDI, USART2_RX, TIM1_BKIN, TIM2_CH1_ETR, EVENTOUT. |+| 39 | PB3 | bidirectional | GPIO PB3 (I/O FT). JTDO/TRACESWO after reset. Alt: SPI3_SCK, I2S3_CK, SPI1_SCK, USART2_TX, TIM2_CH2, TIM3_ETR, TIM4_ETR, TSC_G5_IO1, JTDO-TRACESWO, EVENTOUT. |+| 40 | PB4 | bidirectional | GPIO PB4 (I/O FT). NJTRST after reset. Alt: SPI3_MISO, I2S3ext_SD, SPI1_MISO, USART2_RX, TIM3_CH1, TIM16_CH1, TIM17_BKIN, TSC_G5_IO2, NJTRST, EVENTOUT. |+| 41 | PB5 | bidirectional | GPIO PB5 (I/O FT, 5 V-tolerant). Alt: SPI3_MOSI, SPI1_MOSI, I2S3_SD, I2C1_SMBA, USART2_CK, TIM16_BKIN, TIM3_CH2, TIM17_CH1, EVENTOUT. |+| 42 | PB6 | bidirectional | GPIO PB6 (I/O FTf, 5 V-tolerant FM+ capable). Alt: I2C1_SCL, USART1_TX, TIM16_CH1N, TIM4_CH1, TSC_G5_IO3, EVENTOUT. |+| 43 | PB7 | bidirectional | GPIO PB7 (I/O FTf, 5 V-tolerant FM+ capable). Alt: I2C1_SDA, USART1_RX, TIM3_CH4, TIM4_CH2, TIM17_CH1N, TSC_G5_IO4, EVENTOUT. |+| 44 | BOOT0 | input | Dedicated boot memory selection input (B type). Level at reset selects boot area (main flash / system memory / SRAM per BOOT1). |+| 45 | PB8 | bidirectional | GPIO PB8 (I/O FTf). Alt: I2C1_SCL, CAN_RX, TIM16_CH1, TIM4_CH3, TIM1_BKIN, TSC_SYNC, COMP1_OUT, EVENTOUT. |+| 46 | PB9 | bidirectional | GPIO PB9 (I/O FTf). Alt: I2C1_SDA, CAN_TX, TIM17_CH1, TIM4_CH4, IR_OUT, COMP2_OUT, EVENTOUT. |+| 47 | VSS | power_in | Digital ground. |+| 48 | VDD | power_in | Digital power supply (2.0-3.6 V). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-48(7x7) |+| Category | MCU |+| Pins | 48 |++## Ordering variants++Same part, different packaging or reel option.++- `STM32F302CBT6`+- `STM32F302CCT6`+- `STM32F302RBT6`+- `STM32F302RCT6`+- `STM32F302VBT6`+- `STM32F302VCT6`+- `STM32F302VCY6`++## CAD (KiCad official)++- Symbol: `STM32F302CBT6`+- Footprint: `Package_QFP:LQFP-48_7x7mm_P0.5mm`+- 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [STMicroelectronics datasheet](https://www.st.com/resource/en/datasheet/stm32f302cbt6.pdf) (145 pp, sha256 `10a072d58aca58c4`, retrieved 2026-08-17, tier: manufacturer)+- **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/stm32f302cbt6-datasheet.pdf)
page.jsonadded+34
@@ -0,0 +1,34 @@+{+  "slug": "stm32f302cbt6",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "mcu",+    "stm32f302cbt6"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32f302cbt6.kicad_sym",+    "stm32f302cbt6.kicad_mod",+    "stm32f302cbt6.glb",+    "stm32f302cbt6.step",+    "stm32f302cbt6.lbr",+    "docs/hero.png",+    "docs/stm32f302cbt6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file