Skip to content

Commit 1311325

Browse files
authored
Merge pull request #139 from badgeteam/ch32v203_pin_description_fixes
Fixed the direction of the keyboard matrix pin signal, and claried so…
2 parents 66ecb44 + 86cf589 commit 1311325

File tree

1 file changed

+50
-50
lines changed
  • content/en/docs/Badges/Konsool/hardware/pinout/ICs/ch32v203

1 file changed

+50
-50
lines changed

content/en/docs/Badges/Konsool/hardware/pinout/ICs/ch32v203/_index.md

+50-50
Original file line numberDiff line numberDiff line change
@@ -7,53 +7,53 @@ weight: -10
77

88
## CH32V203
99

10-
| Pin Number | Pin Name | Net Name | Direction | Notes |
11-
| ---------- | --------- | ---------------------- | ------------- | ------------------------------------------ |
12-
| 1 | VBAT | VBAT | Power | |
13-
| 2 | PC13 | POWER_ON_PULSE | Output | Emit pulse to wake up badge |
14-
| 3 | PC14 | XTAL | Input | Crystal Oscillator |
15-
| 4 | PC15 | XTAL | Input | Crystal Oscillator |
16-
| 5 | PD0 | AMP_EN | Output | Enable audio out |
17-
| 6 | PD1 | USB_ENABLE | Output | Enable to USB-A OTG port |
18-
| 7 | NRST | NRST | Input | 3V3 |
19-
| 8 | VSSA | VSSA | Power | Analog Ground |
20-
| 9 | VDDA | VDDA | Power | Analog Power |
21-
| 10 | PA0 | INT | Bidirectional | Interrupt line to ESP32-P4 |
22-
| 11 | PA1 | KB_ROW5 | Bidirectional | Keyboard IO |
23-
| 12 | PA2 | KB_ROW8 | Bidirectional | Keyboard IO |
24-
| 13 | PA3 | KB_ROW4 | Bidirectional | Keyboard IO |
25-
| 14 | PA4 | KB_ROW3 | Bidirectional | Keyboard IO |
26-
| 15 | PA5 | KB_ROW7 | Bidirectional | Keyboard IO |
27-
| 16 | PA6 | KB_ROW6 | Bidirectional | Keyboard IO |
28-
| 17 | PA7 | KB_COL3 | Bidirectional | Keyboard IO |
29-
| 18 | PB0 | KB_COL7 | Bidirectional | Keyboard IO |
30-
| 19 | PB1 | KB_COL2 | Bidirectional | Keyboard IO |
31-
| 20 | PB2/BOOT1 | KB_COL6 | Bidirectional | Keyboard IO |
32-
| 21 | PB10 | PM_SCL | Output | I2C Clock PMIC (Power controller) |
33-
| 22 | PB11 | PM_SDA | Bidirectional | I2C Data PMIC |
34-
| 23 | VSS1 | GND | Power | Ground |
35-
| 24 | VDDIO1 | +3.3V | Power | Power Supply |
36-
| 25 | PB12 | KB_COL1 | Bidirectional | Keyboard IO |
37-
| 26 | PB13 | KB_COL5 | Bidirectional | Keyboard IO |
38-
| 27 | PB14 | KB_COL0 | Bidirectional | Keyboard IO |
39-
| 28 | PB15 | KB_COL4 | Bidirectional | Keyboard IO |
40-
| 29 | PA8 | KB_ROW0 | Bidirectional | Keyboard IO |
41-
| 30 | PA9 | KB_ROW1 | Bidirectional | Keyboard IO |
42-
| 31 | PA10 | KB_ROW2 | Bidirectional | Keyboard IO |
43-
| 32 | PA11 | LED_DATA | Output | Serial data to SK6805 LEDs |
44-
| 33 | PA12 | POWER_BTN | Input | Power button IO |
45-
| 34 | PA13 | SWDIO | Bidirectional | Debug Interface CH32V203 |
46-
| 35 | VSS2 | GND | Power | Ground |
47-
| 36 | VDD2 | +3.3V | Power | Power Supply |
48-
| 37 | PA14 | SWCLK | Output | Debug Clock |
49-
| 38 | PA15 | SD_DET | Input | SD card detect |
50-
| 39 | PB3 | KEYBOARD_BL | Output | Backlight enable Keyboard |
51-
| 40 | PB4 | DISPLAY_BL | Output | Backlight enable display |
52-
| 41 | PB5 | HP_DET | Input | Head phone detect |
53-
| 42 | PB6 | SCL | input | I2C Clock shared bus |
54-
| 43 | PB7 | SDA | Bidirectional | I2C Data shared bus |
55-
| 44 | BOOT0 | DCAM_IO0 | Output | When camera module is connected enable LED |
56-
| 45 | PB8 | RADIO_ENABLE / CAM_IO0 | Output | Enable C6 and MIPI_CSI camera IO 0 |
57-
| 46 | PB9 | PM_INT | Input | Interrupt signal PMIC |
58-
| 47 | VSS3 | GND | Power | GND |
59-
| 48 | VDDIO3 | +3.3V | Power | Power |
10+
| Pin Number | Pin Name | Net Name | Direction | Notes |
11+
| ---------- | --------- | ---------------------- | ------------- | --------------------------------------- |
12+
| 1 | VBAT | VBAT | Power | Regulated 2.5V supply |
13+
| 2 | PC13 | POWER_ON_PULSE | Output | Emit pulse to wake up badge |
14+
| 3 | PC14 | XTAL | Input | Crystal Oscillator |
15+
| 4 | PC15 | XTAL | Input | Crystal Oscillator |
16+
| 5 | PD0 | AMP_EN | Output | Enable audio speaker amplifier |
17+
| 6 | PD1 | USB_ENABLE | Output | Enable to USB-A OTG port |
18+
| 7 | NRST | NRST | Input | 3V3 |
19+
| 8 | VSSA | VSSA | Power | Analog Ground |
20+
| 9 | VDDA | VDDA | Power | Analog Power |
21+
| 10 | PA0 | INT | Output | Interrupt line to ESP32-P4 |
22+
| 11 | PA1 | KB_ROW5 | Output | Keyboard IO |
23+
| 12 | PA2 | KB_ROW8 | Output | Keyboard IO |
24+
| 13 | PA3 | KB_ROW4 | Output | Keyboard IO |
25+
| 14 | PA4 | KB_ROW3 | Output | Keyboard IO |
26+
| 15 | PA5 | KB_ROW7 | Output | Keyboard IO |
27+
| 16 | PA6 | KB_ROW6 | Output | Keyboard IO |
28+
| 17 | PA7 | KB_COL3 | Input | Keyboard IO |
29+
| 18 | PB0 | KB_COL7 | Input | Keyboard IO |
30+
| 19 | PB1 | KB_COL2 | Input | Keyboard IO |
31+
| 20 | PB2/BOOT1 | KB_COL6 | Input | Keyboard IO |
32+
| 21 | PB10 | PM_SCL | Output | I2C Clock PMIC (Power controller) |
33+
| 22 | PB11 | PM_SDA | Bidirectional | I2C Data PMIC |
34+
| 23 | VSS1 | GND | Power | Ground |
35+
| 24 | VDDIO1 | +3.3V | Power | Power Supply |
36+
| 25 | PB12 | KB_COL1 | Input | Keyboard IO |
37+
| 26 | PB13 | KB_COL5 | Input | Keyboard IO |
38+
| 27 | PB14 | KB_COL0 | Input | Keyboard IO |
39+
| 28 | PB15 | KB_COL4 | Input | Keyboard IO |
40+
| 29 | PA8 | KB_ROW0 | Output | Keyboard IO |
41+
| 30 | PA9 | KB_ROW1 | Output | Keyboard IO |
42+
| 31 | PA10 | KB_ROW2 | Output | Keyboard IO |
43+
| 32 | PA11 | LED_DATA | Output | Serial data to SK6805 LEDs |
44+
| 33 | PA12 | POWER_BTN | Input | Power button input (low when pressed) |
45+
| 34 | PA13 | SWDIO | Bidirectional | Debug Interface CH32V203 |
46+
| 35 | VSS2 | GND | Power | Ground |
47+
| 36 | VDD2 | +3.3V | Power | Power Supply |
48+
| 37 | PA14 | SWCLK | Output | Debug Clock |
49+
| 38 | PA15 | SD_DET | Input | SD card detect |
50+
| 39 | PB3 | KEYBOARD_BL | Output | Enable backlight Keyboard |
51+
| 40 | PB4 | DISPLAY_BL | Output | Enable backlight display |
52+
| 41 | PB5 | HP_DET | Input | Head phone detect |
53+
| 42 | PB6 | SCL | input | I2C Clock shared bus |
54+
| 43 | PB7 | SDA | Bidirectional | I2C Data shared bus |
55+
| 44 | BOOT0 | DCAM_IO0 | Output | Camera module power enable (if present) |
56+
| 45 | PB8 | RADIO_ENABLE / CAM_IO0 | Output | Enable C6 and MIPI_CSI camera IO 0 |
57+
| 46 | PB9 | PM_INT | Input | Interrupt signal PMIC |
58+
| 47 | VSS3 | GND | Power | GND |
59+
| 48 | VDDIO3 | +3.3V | Power | Power |

0 commit comments

Comments
 (0)