← Commit history

Initial commit: component/gd32f330cbt6

Ray ·cc04e38f22 ·
2 files changed +135
README.mdadded+101
@@ -0,0 +1,101 @@+# GD32F330CBT6++**GigaDevice Semicon Beijing** · Microcontrollers (MCU/MPU/SOC) · LQFP-48(7x7)++GD32F330CBT6 from GigaDevice Semicon Beijing, 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 battery supply (1.8-3.6 V) for RTC, LSE 32.768 kHz oscillator and backup domain when VDD is not present. |+| 2 | PC13-TAMPER-RTC | bidirectional | GPIO PC13 with additional functions RTC_TAMP0, RTC_TS, RTC_OUT and WKUP1. Located in the backup/VBAT domain (limited drive strength). |+| 3 | PC14-OSC32IN | bidirectional | GPIO PC14 / LSE 32.768 kHz crystal oscillator input. Configure as OSC32IN when using the LXTAL crystal for the RTC. |+| 4 | PC15-OSC32OUT | bidirectional | GPIO PC15 / LSE 32.768 kHz crystal oscillator output. Configure as OSC32OUT when using the LXTAL crystal for the RTC. |+| 5 | PF0-OSCIN | bidirectional | GPIO PF0 / HSE 4-32 MHz crystal oscillator input; alternate CTC_SYNC. 5V-tolerant. |+| 6 | PF1-OSCOUT | bidirectional | GPIO PF1 / HSE 4-32 MHz crystal oscillator output. 5V-tolerant. |+| 7 | NRST | bidirectional | Active-low system reset input/output. Internally pulled up; drive low to reset the device. |+| 8 | VSSA | power_in | Analog ground reference for ADC, reset blocks, internal RCs and PLL. Must be tied to VSS. |+| 9 | VDDA | power_in | Analog supply (2.6-3.6 V) for ADC, reset blocks, internal RCs and PLL. Must be tied to VDD. |+| 10 | PA0-WKUP | bidirectional | GPIO PA0 with USART0/1_CTS, TIMER1_CH0/ETI, I2C1_SCL alt-funcs; additional ADC_IN0, RTC_TAMP1, WKUP0 (Standby wakeup). |+| 11 | PA1 | bidirectional | GPIO PA1; alt USART0/1_RTS, TIMER1_CH1, I2C1_SDA, EVENTOUT; additional ADC_IN1. |+| 12 | PA2 | bidirectional | GPIO PA2; alt USART0/1_TX, TIMER1_CH2, TIMER14_CH0; additional ADC_IN2. |+| 13 | PA3 | bidirectional | GPIO PA3; alt USART0/1_RX, TIMER1_CH3, TIMER14_CH1; additional ADC_IN3. |+| 14 | PA4 | bidirectional | GPIO PA4; alt SPI0_NSS, USART0/1_CK, TIMER13_CH0, SPI1_NSS; additional ADC_IN4. |+| 15 | PA5 | bidirectional | GPIO PA5; alt SPI0_SCK, TIMER1_CH0/ETI; additional ADC_IN5. |+| 16 | PA6 | bidirectional | GPIO PA6; alt SPI0_MISO, TIMER2_CH0, TIMER0_BKIN, TIMER15_CH0, EVENTOUT; additional ADC_IN6. |+| 17 | PA7 | bidirectional | GPIO PA7; alt SPI0_MOSI, TIMER2_CH1, TIMER13_CH0, TIMER0_CH0_ON, TIMER16_CH0, EVENTOUT; additional ADC_IN7. |+| 18 | PB0 | bidirectional | GPIO PB0; alt TIMER2_CH2, TIMER0_CH1_ON, USART1_RX, EVENTOUT; additional ADC_IN8. |+| 19 | PB1 | bidirectional | GPIO PB1; alt TIMER2_CH3, TIMER13_CH0, TIMER0_CH2_ON, SPI1_SCK; additional ADC_IN9. |+| 20 | PB2 | bidirectional | GPIO PB2 (default function only). 5V-tolerant. |+| 21 | PB10 | bidirectional | GPIO PB10; alt I2C0_SCL/I2C1_SCL, TIMER1_CH2, SPI1_IO2. 5V-tolerant. |+| 22 | PB11 | bidirectional | GPIO PB11; alt I2C0_SDA/I2C1_SDA, TIMER1_CH3, EVENTOUT, SPI1_IO3. 5V-tolerant. |+| 23 | VSS | power_in | Digital ground return. |+| 24 | VDD | power_in | Digital supply (2.6-3.6 V) for I/Os and internal regulator. Decouple locally. |+| 25 | PB12 | bidirectional | GPIO PB12; alt SPI0_NSS/SPI1_NSS, TIMER0_BKIN, I2C1_SMBA, EVENTOUT. 5V-tolerant. |+| 26 | PB13 | bidirectional | GPIO PB13; alt SPI0_SCK/SPI1_SCK, TIMER0_CH0_ON. 5V-tolerant. |+| 27 | PB14 | bidirectional | GPIO PB14; alt SPI0_MISO/SPI1_MISO, TIMER0_CH1_ON, TIMER14_CH0. 5V-tolerant. |+| 28 | PB15 | bidirectional | GPIO PB15; alt SPI0_MOSI/SPI1_MOSI, TIMER0_CH2_ON, TIMER14_CH0_ON, TIMER14_CH1; additional RTC_REFIN, WKUP6. 5V-tolerant. |+| 29 | PA8 | bidirectional | GPIO PA8; alt USART0_CK, TIMER0_CH0, CK_OUT (MCO), USART1_TX, EVENTOUT, CTC_SYNC. 5V-tolerant. |+| 30 | PA9 | bidirectional | GPIO PA9; alt USART0_TX, TIMER0_CH1, TIMER14_BKIN, I2C0_SCL. 5V-tolerant. |+| 31 | PA10 | bidirectional | GPIO PA10; alt USART0_RX, TIMER0_CH2, TIMER16_BKIN, I2C0_SDA. 5V-tolerant. |+| 32 | PA11 | bidirectional | GPIO PA11; alt USART0_CTS, TIMER0_CH3, EVENTOUT, SPI1_IO2. 5V-tolerant. |+| 33 | PA12 | bidirectional | GPIO PA12; alt USART0_RTS, TIMER0_ETI, EVENTOUT, SPI1_IO3. 5V-tolerant. |+| 34 | PA13 | bidirectional | GPIO PA13; alt IFRP_OUT, SWDIO (serial wire debug data), SPI1_MISO. Default: SWDIO after reset. 5V-tolerant. |+| 35 | PF6 | bidirectional | GPIO PF6; alt I2C0_SCL/I2C1_SCL. 5V-tolerant. |+| 36 | PF7 | bidirectional | GPIO PF7; alt I2C0_SDA/I2C1_SDA. 5V-tolerant. |+| 37 | PA14 | bidirectional | GPIO PA14; alt USART0_TX/USART1_TX, SWCLK (serial wire debug clock), SPI1_MOSI. Default: SWCLK after reset. 5V-tolerant. |+| 38 | PA15 | bidirectional | GPIO PA15; alt SPI0_NSS, USART0_RX/USART1_RX, TIMER1_CH0/ETI, SPI1_NSS, EVENTOUT. 5V-tolerant. |+| 39 | PB3 | bidirectional | GPIO PB3; alt SPI0_SCK, TIMER1_CH1, EVENTOUT. 5V-tolerant. |+| 40 | PB4 | bidirectional | GPIO PB4; alt SPI0_MISO, TIMER2_CH0, EVENTOUT. 5V-tolerant. |+| 41 | PB5 | bidirectional | GPIO PB5; alt SPI0_MOSI, I2C0_SMBA, TIMER15_BKIN, TIMER2_CH1; additional WKUP5. 5V-tolerant. |+| 42 | PB6 | bidirectional | GPIO PB6; alt I2C0_SCL, USART0_TX, TIMER15_CH0_ON. 5V-tolerant. |+| 43 | PB7 | bidirectional | GPIO PB7; alt I2C0_SDA, USART0_RX, TIMER16_CH0_ON. 5V-tolerant. |+| 44 | BOOT0 | input | Boot mode select input. Sampled at reset: 0 = boot from main Flash (default), 1 = boot from system memory (bootloader) or SRAM depending on BOOT1 option bit. |+| 45 | PB8 | bidirectional | GPIO PB8; alt I2C0_SCL, TIMER15_CH0. 5V-tolerant. |+| 46 | PB9 | bidirectional | GPIO PB9; alt I2C0_SDA, IFRP_OUT, TIMER16_CH0, EVENTOUT. 5V-tolerant. |+| 47 | VSS | power_in | Digital ground return (second VSS pin on LQFP-48). |+| 48 | VDD | power_in | Digital supply (2.6-3.6 V) for I/Os and internal regulator (second VDD pin on LQFP-48). Decouple locally. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | GigaDevice Semicon Beijing |+| Package | LQFP-48(7x7) |+| Category | MCU |+| Pins | 48 |++## Ordering variants++- `GD32F330CBT6C4T6`+- `GD32F330CBT6C6T6`+- `GD32F330CBT6C8T6`+- `GD32F330CBT6CBT6`+- `GD32F330CBT6R8T6`+- `GD32F330CBT6RBT6`+- `GD32F330CBT6K4U6`+- `GD32F330CBT6K6U6`+- `GD32F330CBT6K8U6`+- `GD32F330CBT6G4U6`+- `GD32F330CBT6G6U6`+- `GD32F330CBT6G8U6`+- `GD32F330CBT6F4P6`+- `GD32F330CBT6F6P6`+- `GD32F330CBT6F8P6`++## CAD (KiCad official)++- Symbol: `GD32F330CBT6`+- 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:** [GigaDevice Semicon Beijing datasheet](docs/gd32f330cbt6-datasheet.pdf) (48 pp, sha256 `461bf875e081b33e`, retrieved 2026-08-17, tier: lcsc)+- **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/gd32f330cbt6-datasheet.pdf)
page.jsonadded+34
@@ -0,0 +1,34 @@+{+  "slug": "gd32f330cbt6",+  "version": "0.1.0",+  "type": "component",+  "description": "GigaDevice Semicon Beijing Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "mcu",+    "gd32f330cbt6"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "gd32f330cbt6.kicad_sym",+    "gd32f330cbt6.kicad_mod",+    "gd32f330cbt6.glb",+    "gd32f330cbt6.step",+    "gd32f330cbt6.lbr",+    "docs/hero.png",+    "docs/gd32f330cbt6-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file