kicad-symbols/MCU_WCH_CH32V2.kicad_sym
R b2fb29b409 Add CH32V203GxUx symbol
See merge request kicad/libraries/kicad-symbols!4605
2024-10-13 19:57:58 +00:00

2200 lines
37 KiB
Plaintext

(kicad_symbol_lib
(version 20231120)
(generator "kicad_symbol_editor")
(generator_version "8.0")
(symbol "CH32V203CxTx"
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "U"
(at -12.7 39.37 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "CH32V203CxTx"
(at 6.858 38.862 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm"
(at 3.81 -1.27 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "https://www.wch-ic.com/products/CH32V203.html"
(at 1.27 3.81 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "The CH32V203 is an industrial-grade enhanced low-power general-purpose MCU based on 32-bit RISC-V core."
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "RISC-V WCH MCU"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "CH32V203CxTx_0_0"
(pin power_in line
(at -2.54 38.1 270)
(length 2.54)
(name "VBAT"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 0 -40.64 90)
(length 2.54)
(name "VSS"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "23"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 0 38.1 270)
(length 2.54)
(name "VDD_VIO"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "24"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin input line
(at -15.24 27.94 0)
(length 2.54)
(name "BOOT0"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "44"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 2.54 -40.64 90)
(length 2.54)
(name "VSSA"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "8"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 7.62 38.1 270)
(length 2.54)
(name "VDDA"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "9"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(symbol "CH32V203CxTx_0_1"
(rectangle
(start -12.7 -38.1)
(end 15.24 35.56)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
)
(symbol "CH32V203CxTx_1_0"
(pin bidirectional line
(at 17.78 33.02 180)
(length 2.54)
(name "PA0"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "10"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN0" bidirectional line)
(alternate "TIM2_CH1" bidirectional line)
(alternate "TIM2_CH1_ETR" bidirectional line)
(alternate "TIM2_CH1_ETR_2" bidirectional line)
(alternate "TIM2_ETR" bidirectional line)
(alternate "USART2_CTS" bidirectional line)
(alternate "WKUP" bidirectional line)
)
(pin bidirectional line
(at 17.78 30.48 180)
(length 2.54)
(name "PA1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "11"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN1" bidirectional line)
(alternate "TIM2_CH2" bidirectional line)
(alternate "TIM2_CH2_2" bidirectional line)
(alternate "USART2_RTS" bidirectional line)
)
(pin bidirectional line
(at 17.78 27.94 180)
(length 2.54)
(name "PA2"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "12"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN2" bidirectional line)
(alternate "OPA2_OUT0" bidirectional line)
(alternate "TIM2_CH3" bidirectional line)
(alternate "TIM2_CH3_1" bidirectional line)
(alternate "USART2_TX" bidirectional line)
)
(pin bidirectional line
(at 17.78 25.4 180)
(length 2.54)
(name "PA3"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "13"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN3" bidirectional line)
(alternate "OPA1_OUT0" bidirectional line)
(alternate "TIM2_CH4" bidirectional line)
(alternate "TIM2_CH4_1" bidirectional line)
(alternate "USART2_RX" bidirectional line)
)
(pin bidirectional line
(at 17.78 22.86 180)
(length 2.54)
(name "PA4"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "14"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN4" bidirectional line)
(alternate "OPA2_OUT1" bidirectional line)
(alternate "SPI1_NSS" bidirectional line)
(alternate "USART2_CK" bidirectional line)
)
(pin bidirectional line
(at 17.78 20.32 180)
(length 2.54)
(name "PA5"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "15"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN5" bidirectional line)
(alternate "OPA2_CH1N" bidirectional line)
(alternate "SPI1_SCK" bidirectional line)
(alternate "USART4_TX_1" bidirectional line)
)
(pin bidirectional line
(at 17.78 17.78 180)
(length 2.54)
(name "PA6"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "16"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN6" bidirectional line)
(alternate "OPA1_CH1N" bidirectional line)
(alternate "SPI1_MISO" bidirectional line)
(alternate "TIM1_BKIN_1" bidirectional line)
(alternate "TIM3_CH1" bidirectional line)
(alternate "USART4_CK_1" bidirectional line)
)
(pin bidirectional line
(at 17.78 15.24 180)
(length 2.54)
(name "PA7"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "17"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN7" bidirectional line)
(alternate "OPA2_CH1P" bidirectional line)
(alternate "SPI1_MOSI" bidirectional line)
(alternate "TIM1_CH1N_1" bidirectional line)
(alternate "TIM3_CH2" bidirectional line)
(alternate "USART4_CTS_1" bidirectional line)
)
(pin bidirectional line
(at -15.24 5.08 0)
(length 2.54)
(name "PB0"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "18"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN8" bidirectional line)
(alternate "OPA1_CH1P" bidirectional line)
(alternate "TIM1_CH2N_1" bidirectional line)
(alternate "TIM3_CH3" bidirectional line)
(alternate "TIM3_CH3_2" bidirectional line)
(alternate "USART4_TX" bidirectional line)
)
(pin bidirectional line
(at -15.24 2.54 0)
(length 2.54)
(name "PB1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "19"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN9" bidirectional line)
(alternate "OPA1_OUT1" bidirectional line)
(alternate "TIM1_CH3N_1" bidirectional line)
(alternate "TIM3_CH4" bidirectional line)
(alternate "TIM3_CH4_2" bidirectional line)
(alternate "UART4_RX" bidirectional line)
)
(pin bidirectional line
(at -15.24 15.24 0)
(length 2.54)
(name "PC13"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "TAMPER-RTC" bidirectional line)
)
(pin bidirectional line
(at -15.24 0 0)
(length 2.54)
(name "PB2"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "20"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "BOOT1" bidirectional line)
(alternate "USART4_CK" bidirectional line)
)
(pin bidirectional line
(at -15.24 -20.32 0)
(length 2.54)
(name "PB10"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "21"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "I2C2_SCL" bidirectional line)
(alternate "OPA2_CH0N" bidirectional line)
(alternate "TIM2_CH3_2" bidirectional line)
(alternate "TIM2_CH3_3" bidirectional line)
(alternate "USART3_TX" bidirectional line)
)
(pin bidirectional line
(at -15.24 -22.86 0)
(length 2.54)
(name "PB11"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "22"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "I2C2_SDA" bidirectional line)
(alternate "OPA1_CH0N" bidirectional line)
(alternate "TIM2_CH4_2" bidirectional line)
(alternate "TIM2_CH4_3" bidirectional line)
(alternate "USART3_RX" bidirectional line)
)
(pin bidirectional line
(at -15.24 -25.4 0)
(length 2.54)
(name "PB12"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "25"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "I2C2_SMBA" bidirectional line)
(alternate "SPI2_NSS" bidirectional line)
(alternate "TIM1_BKIN" bidirectional line)
(alternate "USART3_CK" bidirectional line)
)
(pin bidirectional line
(at -15.24 -27.94 0)
(length 2.54)
(name "PB13"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "26"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "SPI2_SCK" bidirectional line)
(alternate "TIM1_CH1N" bidirectional line)
(alternate "USART3_CTS" bidirectional line)
)
(pin bidirectional line
(at -15.24 -30.48 0)
(length 2.54)
(name "PB14"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "27"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "OPA2_CH0P" bidirectional line)
(alternate "SPI2_MISO" bidirectional line)
(alternate "TIM1_CH2N" bidirectional line)
(alternate "USART3_RTS" bidirectional line)
)
(pin bidirectional line
(at -15.24 -33.02 0)
(length 2.54)
(name "PB15"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "28"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "OPA1_CH0P" bidirectional line)
(alternate "SPI2_MOSI" bidirectional line)
(alternate "TIM1_CH3N" bidirectional line)
)
(pin bidirectional line
(at 17.78 12.7 180)
(length 2.54)
(name "PA8"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "29"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "MCO" bidirectional line)
(alternate "TIM1_CH1" bidirectional line)
(alternate "TIM1_CH1_1" bidirectional line)
(alternate "USART1_CK" bidirectional line)
(alternate "USART1_CK_1" bidirectional line)
)
(pin bidirectional line
(at -15.24 12.7 0)
(length 2.54)
(name "PC14"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "OSC32_IN" bidirectional line)
)
(pin bidirectional line
(at 17.78 10.16 180)
(length 2.54)
(name "PA9"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "30"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "TIM1_CH2" bidirectional line)
(alternate "TIM1_CH2_1" bidirectional line)
(alternate "USART1_TX" bidirectional line)
)
(pin bidirectional line
(at 17.78 7.62 180)
(length 2.54)
(name "PA10"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "31"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "TIM1_CH3" bidirectional line)
(alternate "TIM1_CH3_1" bidirectional line)
(alternate "USART1_RX" bidirectional line)
)
(pin bidirectional line
(at 17.78 5.08 180)
(length 2.54)
(name "PA11"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "32"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "CAN1_RX" bidirectional line)
(alternate "TIM1_CH4" bidirectional line)
(alternate "TIM1_CH4_1" bidirectional line)
(alternate "USART1_CTS" bidirectional line)
(alternate "USART1_CTS_1" bidirectional line)
(alternate "USBDM" bidirectional line)
)
(pin bidirectional line
(at 17.78 2.54 180)
(length 2.54)
(name "PA12"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "33"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "CAN1_TX" bidirectional line)
(alternate "TIM1_ETR" bidirectional line)
(alternate "TIM1_ETR_1" bidirectional line)
(alternate "USART1_RTS" bidirectional line)
(alternate "USART1_RTS_1" bidirectional line)
(alternate "USBDP" bidirectional line)
)
(pin bidirectional line
(at 17.78 0 180)
(length 2.54)
(name "SWDIO"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "34"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "PA13" bidirectional line)
)
(pin passive line
(at 0 -40.64 90)
(length 2.54) hide
(name "VSS"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "35"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 2.54 38.1 270)
(length 2.54)
(name "VDD"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "36"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 17.78 -2.54 180)
(length 2.54)
(name "SWCLK"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "37"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "PA14" bidirectional line)
)
(pin bidirectional line
(at 17.78 -5.08 180)
(length 2.54)
(name "PA15"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "38"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "TIM2_CH13" bidirectional line)
(alternate "TIM2_CH1_1" bidirectional line)
(alternate "TIM2_ETR_1" bidirectional line)
(alternate "TIM2_ETR_3" bidirectional line)
(alternate "USART4_RTS_1" bidirectional line)
)
(pin bidirectional line
(at -15.24 -2.54 0)
(length 2.54)
(name "PB3"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "39"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "SPI1_SCK_1" bidirectional line)
(alternate "TIM2_CH2_1" bidirectional line)
(alternate "TIM2_CH2_3" bidirectional line)
(alternate "USART4_CTS" bidirectional line)
)
(pin bidirectional line
(at -15.24 10.16 0)
(length 2.54)
(name "PC15"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "OSC32_OUT" bidirectional line)
)
(pin bidirectional line
(at -15.24 -5.08 0)
(length 2.54)
(name "PB4"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "40"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "SPI1_MISO" bidirectional line)
(alternate "TIM3_CH1_2" bidirectional line)
(alternate "USART4_RTS" bidirectional line)
)
(pin bidirectional line
(at -15.24 -7.62 0)
(length 2.54)
(name "PB5"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "41"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "CAN2_RX" bidirectional line)
(alternate "SPI1_MOSI_1" bidirectional line)
(alternate "TIM3_CH2_2" bidirectional line)
(alternate "USART4_RX_1" bidirectional line)
)
(pin bidirectional line
(at -15.24 -10.16 0)
(length 2.54)
(name "PB6"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "42"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "I2C1_SCL" bidirectional line)
(alternate "TIM4_CH1" bidirectional line)
(alternate "USART1_TX_1" bidirectional line)
(alternate "USBFS_DM" bidirectional line)
)
(pin bidirectional line
(at -15.24 -12.7 0)
(length 2.54)
(name "PB7"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "43"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "I2C1_SDA" bidirectional line)
(alternate "TIM4_CH2" bidirectional line)
(alternate "USART1_RX_1" bidirectional line)
(alternate "USBFS_DP" bidirectional line)
)
(pin bidirectional line
(at -15.24 -15.24 0)
(length 2.54)
(name "PB8"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "45"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "CAN1_RX_2" bidirectional line)
(alternate "I2C1_SCL_1" bidirectional line)
(alternate "TIM4_CH3" bidirectional line)
)
(pin bidirectional line
(at -15.24 -17.78 0)
(length 2.54)
(name "PB9"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "46"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "CAN1_TX_2" bidirectional line)
(alternate "I2C1_SDA_1" bidirectional line)
(alternate "TIM4_CH4" bidirectional line)
)
(pin passive line
(at 0 -40.64 90)
(length 2.54) hide
(name "VSS"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "47"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 5.08 38.1 270)
(length 2.54)
(name "VDD"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "48"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -15.24 22.86 0)
(length 2.54)
(name "OSC_IN"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "5"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "PD0" bidirectional line)
)
(pin bidirectional line
(at -15.24 20.32 0)
(length 2.54)
(name "OSC_OUT"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "6"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "PD1" bidirectional line)
)
(pin input line
(at -15.24 33.02 0)
(length 2.54)
(name "~{RST}"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "7"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
)
(symbol "CH32V203F6P6"
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "U"
(at -10.16 19.05 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Value" "CH32V203F6P6"
(at 2.54 19.05 0)
(effects
(font
(size 1.27 1.27)
)
(justify left)
)
)
(property "Footprint" "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm"
(at 0 3.81 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "http://www.wch-ic.com/products/CH32V203.html"
(at 0 -6.35 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "The CH32V203 is an industrial-grade enhanced low-power general-purpose MCU based on 32-bit RISC-V core."
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "RISC-V WCH MCU"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_fp_filters" "TSSOP*4.4x6.5mm*P0.65mm*"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "CH32V203F6P6_0_1"
(rectangle
(start -10.16 -17.78)
(end 10.16 17.78)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
)
(symbol "CH32V203F6P6_1_1"
(pin bidirectional line
(at -12.7 10.16 0)
(length 2.54)
(name "BOOT0"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "CAN1_RX_2" bidirectional line)
(alternate "I2C1_SCL_1" bidirectional line)
(alternate "PB8" bidirectional line)
)
(pin bidirectional line
(at 12.7 5.08 180)
(length 2.54)
(name "PA4"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "10"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN4" input line)
(alternate "OPA2_OUT1" output line)
(alternate "SPI1_NSS" bidirectional line)
(alternate "USART2_CK" bidirectional line)
)
(pin bidirectional line
(at 12.7 2.54 180)
(length 2.54)
(name "PA5"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "11"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN5" input line)
(alternate "OPA2_CH1N" bidirectional line)
(alternate "SPI1_SCK" input line)
)
(pin bidirectional line
(at 12.7 0 180)
(length 2.54)
(name "PA6"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "12"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN6" input line)
(alternate "OPA1_CH1N" bidirectional line)
(alternate "SPI1_MISO" output line)
(alternate "TIM1_BKIN_1" bidirectional line)
(alternate "TIM3_CH1" bidirectional line)
)
(pin bidirectional line
(at 12.7 -2.54 180)
(length 2.54)
(name "PA7"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "13"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN7" input line)
(alternate "OPA2_CH1P" bidirectional line)
(alternate "SPI1_MOSI" input line)
(alternate "TIM1_CH1N_1" bidirectional line)
(alternate "TIM3_CH2" bidirectional line)
)
(pin bidirectional line
(at -12.7 -2.54 0)
(length 2.54)
(name "PB1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "14"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN9" input line)
(alternate "OPA1_OUT1" output line)
(alternate "TIM1_CH3N_1" bidirectional line)
(alternate "TIM3_CH4" output line)
(alternate "TIM3_CH4_2" bidirectional line)
)
(pin power_in line
(at 0 -20.32 90)
(length 2.54)
(name "VSS"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "15"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 0 20.32 270)
(length 2.54)
(name "VDD"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "16"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 12.7 -5.08 180)
(length 2.54)
(name "PA11"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "17"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "CAN1_RX" input line)
(alternate "TIM1_CH4" bidirectional line)
(alternate "TIM1_CH4_1" bidirectional line)
(alternate "USART1_CTS" bidirectional line)
(alternate "USART1_CTS_1" bidirectional line)
(alternate "USBDM" bidirectional line)
)
(pin bidirectional line
(at 12.7 -7.62 180)
(length 2.54)
(name "PA12"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "18"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "CAN1_TX" output line)
(alternate "TIM1_ETR" bidirectional line)
(alternate "TIM1_ETR_1" bidirectional line)
(alternate "USART1_RTS" bidirectional line)
(alternate "USART1_RTS_1" bidirectional line)
(alternate "USBDP" bidirectional line)
)
(pin bidirectional line
(at 12.7 -10.16 180)
(length 2.54)
(name "SWDIO"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "19"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "PA13" bidirectional line)
)
(pin bidirectional line
(at -12.7 5.08 0)
(length 2.54)
(name "OSC_IN"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "PD0" bidirectional line)
)
(pin bidirectional line
(at 12.7 -12.7 180)
(length 2.54)
(name "SWCLK"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "20"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "PA14" bidirectional line)
)
(pin bidirectional line
(at -12.7 2.54 0)
(length 2.54)
(name "OSC_OUT"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "PD1" bidirectional line)
)
(pin input line
(at -12.7 15.24 0)
(length 2.54)
(name "~{RST}"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 2.54 20.32 270)
(length 2.54)
(name "VDDA"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "5"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 12.7 15.24 180)
(length 2.54)
(name "PA0"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "6"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN0" bidirectional line)
(alternate "TIM2_CH1" passive line)
(alternate "TIM2_CH1_2" bidirectional line)
(alternate "TIM2_ETR" passive line)
(alternate "TIM2_ETR_2" bidirectional line)
(alternate "USART2_CTS" bidirectional line)
(alternate "WKUP" input line)
)
(pin bidirectional line
(at 12.7 12.7 180)
(length 2.54)
(name "PA1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "7"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN1" passive line)
(alternate "TIM2_CH2" bidirectional line)
(alternate "TIM2_CH2_2" bidirectional line)
(alternate "USART2_RTS" bidirectional line)
)
(pin bidirectional line
(at 12.7 10.16 180)
(length 2.54)
(name "PA2"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "8"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN2" input line)
(alternate "OPA2_OUT0" bidirectional line)
(alternate "TIM2_CH3" bidirectional line)
(alternate "TIM2_CH3_1" bidirectional line)
(alternate "USART2_TX" output line)
)
(pin bidirectional line
(at 12.7 7.62 180)
(length 2.54)
(name "PA3"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "9"
(effects
(font
(size 1.27 1.27)
)
)
)
(alternate "ADC_IN3" input line)
(alternate "OPA1_OUT0" output line)
(alternate "TIM2_CH4" bidirectional line)
(alternate "TIM2_CH4_1" bidirectional line)
(alternate "USART2_RX" input line)
)
)
)
(symbol "CH32V203GxUx"
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(property "Reference" "U"
(at -21.59 24.384 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "CH32V203GxUx"
(at 15.748 24.13 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" "Package_DFN_QFN:QFN-28-1EP_4x4mm_P0.4mm_EP2.8x2.8mm"
(at -33.02 -21.59 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "https://www.wch-ic.com/downloads/CH32V203DS0_PDF.html"
(at 0 37.084 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "NanjingQinheng WCH RISC-V MCU, 32-64KB flash, 10-20KB RAM, 144 MHz, 2.4-3.6V, 24 GPIO, ADC, OpAmp, CAN, USB, QFN-28"
(at -0.508 39.37 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "RISCV WCH MCU"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_fp_filters" "QFN*4x4mm*P0.4mm*"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "CH32V203GxUx_1_1"
(rectangle
(start -22.86 22.86)
(end 22.86 -20.32)
(stroke
(width 0.254)
(type default)
)
(fill
(type background)
)
)
(pin bidirectional line
(at 25.4 -2.54 180)
(length 2.54)
(name "BOOT0/PB8"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 5.08 0)
(length 2.54)
(name "PA4"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "10"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 2.54 0)
(length 2.54)
(name "PA5"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "11"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 0 0)
(length 2.54)
(name "PA6"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "12"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 -2.54 0)
(length 2.54)
(name "PA7"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "13"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 25.4 15.24 180)
(length 2.54)
(name "PB0"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "14"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 25.4 12.7 180)
(length 2.54)
(name "PB1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "15"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 0 -22.86 90)
(length 2.54)
(name "VSS"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "16"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 0 25.4 270)
(length 2.54)
(name "VDD"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "17"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 -5.08 0)
(length 2.54)
(name "PA9"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "18"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 -7.62 0)
(length 2.54)
(name "PA10/PA11/USB_D-"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "19"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 25.4 -7.62 180)
(length 2.54)
(name "OSC_IN/PD0"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 -10.16 0)
(length 2.54)
(name "PA12/USB_D+"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "20"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 -12.7 0)
(length 2.54)
(name "PA13/SWDIO"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "21"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 -15.24 0)
(length 2.54)
(name "PA14/SWCLK"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "22"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 -17.78 0)
(length 2.54)
(name "PA15"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "23"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 25.4 10.16 180)
(length 2.54)
(name "PB3"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "24"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 25.4 7.62 180)
(length 2.54)
(name "PB4"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "25"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 25.4 5.08 180)
(length 2.54)
(name "PB5"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "26"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 25.4 2.54 180)
(length 2.54)
(name "PB6"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "27"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 25.4 0 180)
(length 2.54)
(name "PB7"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "28"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 0 -22.86 90)
(length 2.54) hide
(name "VSS"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "29"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at 25.4 -10.16 180)
(length 2.54)
(name "OSC_OUT/PD1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin input line
(at -25.4 20.32 0)
(length 2.54)
(name "~{RST}"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin power_in line
(at 2.54 25.4 270)
(length 2.54)
(name "VDDA"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "5"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 15.24 0)
(length 2.54)
(name "PA0"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "6"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 12.7 0)
(length 2.54)
(name "PA1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "7"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 10.16 0)
(length 2.54)
(name "PA2"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "8"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin bidirectional line
(at -25.4 7.62 0)
(length 2.54)
(name "PA3"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "9"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
)
)