← Commit history

ch32v203c8t6: restore the component block (pinout + model declarations) from this page's own README and symbol

Ray ·dc7cca554f · ·parent dc73d09
1 file changed +314−1
page.json+314−1
@@ -32,5 +32,318 @@   "author": {     "name": "Ray",     "email": "[email protected]"+  },+  "component": {+    "mpn": "CH32V203C8T6",+    "manufacturer": "WCH Jiangsu Qin Heng",+    "package": "LQFP-48(7x7)",+    "pin_count": 48,+    "category": "Microcontrollers (MCU/MPU/SOC)",+    "parts": {+      "symbol": "ch32v203c8t6.kicad_sym",+      "footprint": "ch32v203c8t6.kicad_mod",+      "model_3d": "ch32v203c8t6-etched.glb",+      "model_3d_plain": "ch32v203c8t6.glb",+      "model_3d_step": "ch32v203c8t6-etched.step",+      "model_3d_step_plain": "ch32v203c8t6.step",+      "lbr": "ch32v203c8t6.lbr"+    },+    "pins": [+      {+        "number": "1",+        "name": "VBAT",+        "type": "power_in",+        "description": "Backup power supply input, 1.8-3.6 V. Powers RTC, external LSE oscillator and backup registers when VDD is off; can be tied to VDD if backup domain isn't used."+      },+      {+        "number": "2",+        "name": "PC13/TAMPER-RTC",+        "type": "bidirectional",+        "description": "General-purpose I/O in the backup domain. Default alternate function TAMPER-RTC (intrusion detect / RTC alarm / seconds output). 2 MHz max, 30 pF max load; cannot source current (no LED drive)."+      },+      {+        "number": "3",+        "name": "PC14/OSC32_IN",+        "type": "bidirectional",+        "description": "General-purpose I/O or LSE 32.768 kHz crystal input (OSC32_IN). Backup-domain pin, 2 MHz max GPIO. When VBAT-only, dedicated to LSE."+      },+      {+        "number": "4",+        "name": "PC15/OSC32_OUT",+        "type": "bidirectional",+        "description": "General-purpose I/O or LSE 32.768 kHz crystal output (OSC32_OUT). Backup-domain pin, 2 MHz max GPIO. When VBAT-only, dedicated to LSE."+      },+      {+        "number": "5",+        "name": "OSC_IN/PD0",+        "type": "bidirectional",+        "description": "HSE crystal input (OSC_IN) by default after reset; can be remapped to GPIO PD0. Accepts 3-25 MHz crystal/oscillator."+      },+      {+        "number": "6",+        "name": "OSC_OUT/PD1",+        "type": "bidirectional",+        "description": "HSE crystal output (OSC_OUT) by default after reset; can be remapped to GPIO PD1."+      },+      {+        "number": "7",+        "name": "NRST",+        "type": "input",+        "description": "Active-low external reset input (TTL Schmitt). Bidirectional in some MCUs of this family but declared as I here; internal reset pulse ~24-30 ms at power-on."+      },+      {+        "number": "8",+        "name": "VSSA",+        "type": "power_in",+        "description": "Analog ground reference for ADC, temperature sensor, PLL, OPA and internal HSI. Tie to VSS at a single point."+      },+      {+        "number": "9",+        "name": "VDDA",+        "type": "power_in",+        "description": "Analog supply, 2.4-3.6 V (≥3.0 V if ADC is used; ≥2.4 V required for ADC operation). Must equal VIO/VDD; decouple with 0.1 µF to VSSA."+      },+      {+        "number": "10",+        "name": "PA0/WKUP",+        "type": "bidirectional",+        "description": "GPIO PA0, also standby WKUP input, ADC_IN0, TIM2_CH1/ETR, TIM5_CH1 and USART2_CTS alternate functions."+      },+      {+        "number": "11",+        "name": "PA1",+        "type": "bidirectional",+        "description": "GPIO PA1; alt ADC_IN1, TIM2_CH2, TIM5_CH2, USART2_RTS."+      },+      {+        "number": "12",+        "name": "PA2",+        "type": "bidirectional",+        "description": "GPIO PA2; alt ADC_IN2, TIM2_CH3, USART2_TX, OPA2_OUT0."+      },+      {+        "number": "13",+        "name": "PA3",+        "type": "bidirectional",+        "description": "GPIO PA3; alt ADC_IN3, TIM2_CH4, USART2_RX, OPA1_OUT0."+      },+      {+        "number": "14",+        "name": "PA4",+        "type": "bidirectional",+        "description": "GPIO PA4; alt ADC_IN4, SPI1_NSS, USART2_CK, OPA2_OUT1."+      },+      {+        "number": "15",+        "name": "PA5",+        "type": "bidirectional",+        "description": "GPIO PA5; alt ADC_IN5, SPI1_SCK, USART4_TX(remap), OPA2_CH1N."+      },+      {+        "number": "16",+        "name": "PA6",+        "type": "bidirectional",+        "description": "GPIO PA6; alt ADC_IN6, SPI1_MISO, TIM3_CH1, TIM1_BKIN(remap), USART4_CK(remap), OPA1_CH1N."+      },+      {+        "number": "17",+        "name": "PA7",+        "type": "bidirectional",+        "description": "GPIO PA7; alt ADC_IN7, SPI1_MOSI, TIM3_CH2, TIM1_CH1N(remap), USART4_CTS(remap), OPA2_CH1P."+      },+      {+        "number": "18",+        "name": "PB0",+        "type": "bidirectional",+        "description": "GPIO PB0; alt ADC_IN8, TIM3_CH3, TIM1_CH2N(remap), USART4_TX, OPA1_CH1P."+      },+      {+        "number": "19",+        "name": "PB1",+        "type": "bidirectional",+        "description": "GPIO PB1; alt ADC_IN9, TIM3_CH4, TIM1_CH3N(remap), USART4_RX, OPA1_OUT1."+      },+      {+        "number": "20",+        "name": "PB2/BOOT1",+        "type": "bidirectional",+        "description": "GPIO PB2 (FT, 5 V tolerant), also BOOT1 boot-mode select strap sampled at reset. Alternate USART4_CK."+      },+      {+        "number": "21",+        "name": "PB10",+        "type": "bidirectional",+        "description": "GPIO PB10 (FT); alt I2C2_SCL, USART3_TX, TIM2_CH3(remap), OPA2_CH0N."+      },+      {+        "number": "22",+        "name": "PB11",+        "type": "bidirectional",+        "description": "GPIO PB11 (FT); alt I2C2_SDA, USART3_RX, TIM2_CH4(remap), OPA1_CH0N."+      },+      {+        "number": "23",+        "name": "VSS_1",+        "type": "power_in",+        "description": "Digital ground for I/O bank 1. Tie all VSS pins to system ground."+      },+      {+        "number": "24",+        "name": "VDD_VIO_1",+        "type": "power_in",+        "description": "I/O supply for GPIO bank 1, 2.4-3.6 V (3.0-3.6 V if USB used). Must not exceed VDD."+      },+      {+        "number": "25",+        "name": "PB12",+        "type": "bidirectional",+        "description": "GPIO PB12 (FT); alt SPI2_NSS, I2C2_SMBA, USART3_CK, TIM1_BKIN."+      },+      {+        "number": "26",+        "name": "PB13",+        "type": "bidirectional",+        "description": "GPIO PB13 (FT); alt SPI2_SCK, USART3_CTS, TIM1_CH1N."+      },+      {+        "number": "27",+        "name": "PB14",+        "type": "bidirectional",+        "description": "GPIO PB14 (FT); alt SPI2_MISO, USART3_RTS, TIM1_CH2N, OPA2_CH0P."+      },+      {+        "number": "28",+        "name": "PB15",+        "type": "bidirectional",+        "description": "GPIO PB15 (FT); alt SPI2_MOSI, TIM1_CH3N, OPA1_CH0P."+      },+      {+        "number": "29",+        "name": "PA8",+        "type": "bidirectional",+        "description": "GPIO PA8 (FT); alt USART1_CK, TIM1_CH1, MCO (master clock output)."+      },+      {+        "number": "30",+        "name": "PA9",+        "type": "bidirectional",+        "description": "GPIO PA9 (FT); alt USART1_TX, TIM1_CH2."+      },+      {+        "number": "31",+        "name": "PA10",+        "type": "bidirectional",+        "description": "GPIO PA10 (FT); alt USART1_RX, TIM1_CH3."+      },+      {+        "number": "32",+        "name": "PA11/USBDM",+        "type": "bidirectional",+        "description": "USB2.0 full-speed D− (USBDM) by default; also GPIO PA11 (FT), USART1_CTS, TIM1_CH4, CAN1_RX."+      },+      {+        "number": "33",+        "name": "PA12/USBDP",+        "type": "bidirectional",+        "description": "USB2.0 full-speed D+ (USBDP) by default; also GPIO PA12 (FT), USART1_RTS, TIM1_ETR, CAN1_TX."+      },+      {+        "number": "34",+        "name": "PA13/SWDIO",+        "type": "bidirectional",+        "description": "2-wire serial debug data line (SWDIO) after reset; also GPIO PA13 (FT). SDI can be turned off in software to free the pin."+      },+      {+        "number": "35",+        "name": "VSS_2",+        "type": "power_in",+        "description": "Digital ground (bank 2). Tie to VSS."+      },+      {+        "number": "36",+        "name": "VDD_2",+        "type": "power_in",+        "description": "Digital core/IO supply (bank 2), 2.4-3.6 V (3.0-3.6 V for USB)."+      },+      {+        "number": "37",+        "name": "PA14/SWCLK",+        "type": "bidirectional",+        "description": "2-wire serial debug clock (SWCLK) after reset; also GPIO PA14 (FT)."+      },+      {+        "number": "38",+        "name": "PA15",+        "type": "bidirectional",+        "description": "GPIO PA15 (FT); alt TIM2_CH1/ETR(remap), SPI1_NSS(remap), USART4_RTS(remap)."+      },+      {+        "number": "39",+        "name": "PB3",+        "type": "bidirectional",+        "description": "GPIO PB3 (FT); alt TIM2_CH2, USART4_CTS, SPI1_SCK(remap)."+      },+      {+        "number": "40",+        "name": "PB4",+        "type": "bidirectional",+        "description": "GPIO PB4 (FT); alt TIM3_CH1(remap), USART4_RTS, SPI1_MISO(remap)."+      },+      {+        "number": "41",+        "name": "PB5",+        "type": "bidirectional",+        "description": "GPIO PB5 (FT, NOT 5 V-tolerant on some functions); alt I2C1_SMBA, TIM3_CH2(remap), SPI1_MOSI(remap), USART4_RX(remap)."+      },+      {+        "number": "42",+        "name": "PB6/USBFS_DM",+        "type": "bidirectional",+        "description": "GPIO PB6 (FT); alt I2C1_SCL, TIM4_CH1, USART1_TX(remap), USBFS_DM (second USB FS host/device D−)."+      },+      {+        "number": "43",+        "name": "PB7/USBFS_DP",+        "type": "bidirectional",+        "description": "GPIO PB7 (FT); alt I2C1_SDA, TIM4_CH2, USART1_RX(remap), USBFS_DP (second USB FS host/device D+)."+      },+      {+        "number": "44",+        "name": "BOOT0",+        "type": "input",+        "description": "Boot-mode select strap sampled at reset; together with BOOT1/PB2 chooses boot source (main Flash / system memory bootloader / SRAM). Should not be left floating."+      },+      {+        "number": "45",+        "name": "PB8",+        "type": "bidirectional",+        "description": "GPIO PB8 (FT); alt TIM4_CH3, I2C1_SCL(remap), CAN1_RX(remap)."+      },+      {+        "number": "46",+        "name": "PB9",+        "type": "bidirectional",+        "description": "GPIO PB9 (FT); alt TIM4_CH4, I2C1_SDA(remap), CAN1_TX(remap)."+      },+      {+        "number": "47",+        "name": "VSS_3",+        "type": "power_in",+        "description": "Digital ground (bank 3). Tie to VSS."+      },+      {+        "number": "48",+        "name": "VDD_VIO_3",+        "type": "power_in",+        "description": "I/O supply for GPIO bank 3, 2.4-3.6 V (3.0-3.6 V for USB). Must not exceed VDD."+      }+    ],+    "provenance": {+      "rebuilt": "component block rebuilt 2026-10-05 from this page's own README pinout table and .kicad_sym (pins cross-checked), no re-extraction"+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    }   }-}\ No newline at end of file+}