This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Konsool pinouts

In this section you can find the pinout of the chips and connectors of the device.

1 - Konsool connectors

1.1 - CATT pinout

Description

The CATT connector combines several different connectors in one.

  • Special Addon (SAO)
  • JTAG
  • PMOD

Because of this multi functional nature, the name for the connector is CATT (Connect all the things), even though there are more kind of things to connect.

SAO

CATT pinout
  • *DET: Detect, when pulled down during power up, JTAG functionality is provided
  • *3V3: Not connected by default, jumper on the PCB needs to be closed to supply 3V3

Schematic

CATT schematic

1.2 - Internal expansion port

Back Expansion layout

Back Expansion pinout

Back expansion port

This port is not exposed by default, and modified back covers need to be used to make it accessible. For this reason the port is also named “Internal expansion port”.

PinTypePower domainMaximum currentNameP4 GPIOFunction
1PowerVOTG1AVOTG-Supply rail of the USB-A plug, provides 5 volt if OTG boost is enabled or voltage of VSYS when OTG boost is disabled
2USB3.3v-HUB_USB1_P-USB port 4 on the internal USB hub, allows add-ons to make a device available to the host PC via the USB-C port
3PowerVBATT (~3.7v)1AVBATT-Direct connection to the Lithium Polymer battery, can also be used to supply current to the device if (AND ONLY IF) there is no battery connected to the battery connector
4USB3.3v-HUB_USB1_N-USB port 4 on the internal USB hub, allows add-ons to make a device available to the host PC via the USB-C port
5PowerVSYS (~3.7-5v)1AVSYS-Same as VBATT but switched by the PMIC, turns off when the device is turned off via the soft power on/off feature
6PowerGND-GND-Ground, voltage reference for all supply rails
7PowerGND-GND-Ground, voltage reference for all supply rails
8Power3.3v1A+3.3V-Regulated 3.3v rail
9I2C3.3v40mA source, 28mA sinkINT_SCL10Internal I2C bus SCL signal, can only be used for I2C communication. We recommend connecting an EEPROM for add-on identification to this bus
10I2C3.3v40mA source, 28mA sinkINT_SDA9Internal I2C bus SDA signal, can only be used for I2C communication. We recommend connecting an EEPROM for add-on identification to this bus
11GPIO3.3v40mA source, 28mA sinkE036GPIO, needs to remain HIGH level (4.7k pull-up on the mainboard) for USB firmware download boot option to function
12GPIO3.3v40mA source, 28mA sinkE20GPIO
13GPIO3.3v40mA source, 28mA sinkE168Supply rail for the micro SD card socket and some GPIO pins, can either be off, 3.3v or 1.8v depending on card type and communication speed and configuration in software
14GPIOVSDCARD40mA source, 28mA sink (limited by supply rail)E345GPIO, uses VSDCARD supply rail!
15GPIOVSDCARD40mA source, 28mA sink (limited by supply rail)E448GPIO, uses VSDCARD supply rail!
16GPIOVSDCARD40mA source, 28mA sink (limited by supply rail)E547GPIO, uses VSDCARD supply rail!
17GPIOVSDCARD40mA source, 28mA sink (limited by supply rail)E646GPIO, uses VSDCARD supply rail!
18GPIO3.3v40mA source, 28mA sinkEXT_INT7GPIO, connected to GPIO in low power domain: can be used to wake up the ESP32-P4 from deep sleep, if the add-on requires an interrupt pin we recommend connecting it here, otherwise this pin can be used like any other GPIO
19GPIO3.3v40mA source, 28mA sinkE1254GPIO
20GPIO3.3v40mA source, 28mA sinkE749GPIO
21GPIO3.3v40mA source, 28mA sinkE1153GPIO
22GPIO3.3v40mA source, 28mA sinkEXT_USB_P27GPIO, USB full-speed PHY D+: can be used as either normal GPIO or to connect an USB device to the ESP32-P4
23GPIO3.3v40mA source, 28mA sinkE1052GPIO
24GPIO3.3v40mA source, 28mA sinkEXT_USB_N26GPIO, USB full-speed PHY D-: can be used as either normal GPIO or to connect an USB device to the ESP32-P4
25GPIO3.3v40mA source, 28mA sinkE951GPIO
26GPIO3.3v40mA source, 28mA sinkP4_TX37GPIO
27GPIO3.3v40mA source, 28mA sinkE850GPIO
28GPIO3.3v40mA source, 28mA sinkP4_RX38GPIO
29GPIO3.3v40mA source, 28mA sinkI2S_MCLK30GPIO
30GPIO3.3v40mA source, 28mA sinkI2S_LRCK31GPIO
31GPIO3.3v40mA source, 28mA sinkI2S_DATA28GPIO
32GPIO3.3v40mA source, 28mA sinkI2S_SCLK29GPIO
33Power3.3v1A+3.3V-Regulated 3.3v rail
34GPIO3.3v40mA source, 28mA sinkI3C_SDA33GPIO, connected to the QWIIC connector, I3C peripheral SDA pin
35PowerGND-GND-Ground, voltage reference for all supply rails
36GPIO3.3v40mA source, 28mA sinkI3C_SCL32GPIO, connected to the QWIIC connector, I3C peripheral SCL pin

Limitations & warnings

  • Total for all 3.3v outputs must not exceed 1A of current. It is generally adviced to stay well below this figure.
  • VSDCARD power rail can supply at most 100mA total to both the SD card and the expansion header.
  • Do not exceed a current of 1A from or to the battery when the battery is connected to the internal battery connector.

2 - IC pinouts

IC pinout mapping to functions on the board.

2.1 - CH32V203 pinout

CH32V203

Pin NumberPin NameNet NameDirectionNotes
1VBATVBATPowerRegulated 2.5V supply
2PC13POWER_ON_PULSEOutputEmit pulse to wake up badge
3PC14XTALInputCrystal Oscillator
4PC15XTALInputCrystal Oscillator
5PD0AMP_ENOutputEnable audio speaker amplifier
6PD1USB_ENABLEOutputEnable to USB-A OTG port
7NRSTNRSTInput3V3
8VSSAVSSAPowerAnalog Ground
9VDDAVDDAPowerAnalog Power
10PA0INTOutputInterrupt line to ESP32-P4
11PA1KB_ROW5OutputKeyboard IO
12PA2KB_ROW8OutputKeyboard IO
13PA3KB_ROW4OutputKeyboard IO
14PA4KB_ROW3OutputKeyboard IO
15PA5KB_ROW7OutputKeyboard IO
16PA6KB_ROW6OutputKeyboard IO
17PA7KB_COL3InputKeyboard IO
18PB0KB_COL7InputKeyboard IO
19PB1KB_COL2InputKeyboard IO
20PB2/BOOT1KB_COL6InputKeyboard IO
21PB10PM_SCLOutputI2C Clock PMIC (Power controller)
22PB11PM_SDABidirectionalI2C Data PMIC
23VSS1GNDPowerGround
24VDDIO1+3.3VPowerPower Supply
25PB12KB_COL1InputKeyboard IO
26PB13KB_COL5InputKeyboard IO
27PB14KB_COL0InputKeyboard IO
28PB15KB_COL4InputKeyboard IO
29PA8KB_ROW0OutputKeyboard IO
30PA9KB_ROW1OutputKeyboard IO
31PA10KB_ROW2OutputKeyboard IO
32PA11LED_DATAOutputSerial data to SK6805 LEDs
33PA12POWER_BTNInputPower button input (low when pressed)
34PA13SWDIOBidirectionalDebug Interface CH32V203
35VSS2GNDPowerGround
36VDD2+3.3VPowerPower Supply
37PA14SWCLKOutputDebug Clock
38PA15SD_DETInputSD card detect
39PB3KEYBOARD_BLOutputEnable backlight Keyboard
40PB4DISPLAY_BLOutputEnable backlight display
41PB5HP_DETInputHead phone detect
42PB6SCLinputI2C Clock shared bus
43PB7SDABidirectionalI2C Data shared bus
44BOOT0DCAM_IO0OutputCamera module power enable (if present)
45PB8RADIO_ENABLE / CAM_IO0OutputEnable C6 and MIPI_CSI camera IO 0
46PB9PM_INTInputInterrupt signal PMIC
47VSS3GNDPowerGND
48VDDIO3+3.3VPowerPower

2.2 - ESP32C6 pinout

Schematic

ESP32 Pin table

PinNameNetDirectionFunction
1GNDPower
23V3Power
3ENENInputEnable signal from the CH32V203
4IO4LORA_DIO1InputLoRa IRQ (Interrupt)
5IO5LORA_BUSYInputLoRa Busy Signal
6IO6I2C_SDABidirectionalI2C Data Line
7IO7I2C_SCLInputI2C Clock Line
8IO0LORA_SCKInputLoRa SPI Clock
9IO1LORA_CSOutputLoRa SPI Chip Select
10IO8INTOutputInterrupt line to ESP32-P4
11IO10LORA_RESETOutputLoRa Reset
12GNDPower
13IO12C6_USB1_NBidirectionalVia USB hub to USB-C port
14IO13C6_USB1_PBidirectionalVia USB hub to USB-C port
15IO9BOOTInputBOOT mode select and VUSB (USB-A power) enable line
16IO18SDIO_CMDBidirectionalSDIO bus to P4 Command
17IO19SDIO_CLKOutputSDIO bus to P4 Clock
18IO20SDIO_DATA0BidirectionalSDIO bus to P4 Data Line 0
19IO21SDIO_DATA1BidirectionalSDIO bus to P4 Data Line 1
20IO22SDIO_DATA2BidirectionalSDIO bus to P4 Data Line 2
21IO23SDIO_DATA3BidirectionalSDIO bus to P4 Data Line 3
22NC
23IO15IR_LEDOutputInfrared LED Control
24RXD0RXInputUART to P4 Receive
25TXD0TXOutputUART to P4 Transmit
26IO3LORA_MISOInputLoRa SPI MISO
27IO2LORA_MOSIOutputLoRa SPI MOSI
28GNDPower
29GNDPower

2.3 - ESP32-P4 pinout

ESP32-P4 (U8)

LDO

Pin numberPin namePin net
71VFB/VO1VFLASH
72VFB/VO2VPSRAM
73VFB/VO3VMIPI
74VFB/VO4VSDCARD

GPIO

GPIODirection / BusFunctionNote
0User controlledInternal Add-On: E2
1InputInterrupt from CH32V203 coprocessorHigh on interrupt from CH32 co-processor
2User controlledJTAG: MTCK, PMOD: IOCan be used as JTAG interface or as generic GPIO on the external Add-On connector
3User controlledJTAG: MTDI, PMOD: IOCan be used as JTAG interface or as generic GPIO on the external Add-On connector
4User controlledJTAG: MTMS, PMOD: IOCan be used as JTAG interface or as generic GPIO on the external Add-On connector
5User controlledJTAG: MTDO, PMOD: IOCan be used as JTAG interface or as generic GPIO on the external Add-On connector
6InputE1 expansion + Camera module LED enableRead from the coprocessor I2C device to clear the interrupt condition
7Input / User controlledInterrupt from internal Add-On boardCan also be used as GPIO, depending on the needs of the internal Add-On board
8InputInterrupt from ESP32-C6 radioControlled by ESP-HOSTED component
9I2C bus SDAInternal I2C bus dataInternal I2C bus connecting the ESP32-P4 to the ESP32-C6, CH32V203 coprocessor, Bosch sensors and internal Add-On board
10I2C bus SCLInternal I2C bus clockInternal I2C bus connecting the ESP32-P4 to the ESP32-C6, CH32V203 coprocessor, Bosch sensors and internal Add-On board
11InputLCD TE (Tearing effect)Synchronization pin for frame sync, used to avoid tearing
12User controlledSAO: I2C SDA, PMOD: IOCan be used as I2C interface for SAO Add-On boards or as generic GPIO on the external Add-On connector
13User controlledSAO: I2C SCL, PMOD: IOCan be used as I2C interface for SAO Add-On boards or as generic GPIO on the external Add-On connector
14OutputLCD resetHardware reset for the LCD controller
15User controlledSAO: IO1, PMOD: IOCan be used as generic GPIO for SAO Add-On boards or as generic GPIO on the external Add-On connector
16SDIO 2.0SDIO bus for ESP32-C6: CMDControlled by ESP-HOSTED component
17SDIO 2.0SDIO bus for ESP32-C6: CLKControlled by ESP-HOSTED component
18SDIO 2.0SDIO bus for ESP32-C6: D0Controlled by ESP-HOSTED component
19SDIO 2.0SDIO bus for ESP32-C6: D1Controlled by ESP-HOSTED component
20SDIO 2.0SDIO bus for ESP32-C6: D2Controlled by ESP-HOSTED component
21SDIO 2.0SDIO bus for ESP32-C6: D3Controlled by ESP-HOSTED component
22BidirectionalCH32V203 programming interface: SWDIOFor coprocessor firmware updates
23OutputCH32V203 programming interface: SWCLKFor coprocessor firmware updates
24USBUSB DN, port 1 on USB hub (USB-C port)
25USBUSB DP, port 1 on USB hub (USB-C port)
26User controlledInternal Add-On: USB DN or generic GPIOPin 24
27User controlledInternal Add-On: USB DP or generic GPIOPin 22
28I2SI2S: dataInternal I2S to the DAC towards headphone jack and speaker
29I2SI2S: sample clockInternal I2S to the DAC towards headphone jack and speaker
30I2SI2S: master clockInternal I2S to the DAC towards headphone jack and speaker
31I2SI2S: lr clockInternal I2S to the DAC towards headphone jack and speaker
32I3CI2C/I3C QWIIC port: SCLConnected to external I3C connector
33I3CI2C/I3C QWIIC port: SDAConnected to external I3C connector
34User controlledSAO: IO2, PMOD: IO
35User controlledInternal Add-On: E1 / BOOT1 during reset release SPI boot, 0 is DEBUG (page 32 data sheet) (Connected up to volume down button)
36User controlledInternal Add-On: E0Depending on fuses can influence boot
37Output / User controlledDebug UART transmitPin 26 on the back expansion
38Input / User controlledDebug UART receivePin 28 on the back expansion
39SDIO 3.0SD card slot: D0
40SDIO 3.0SD card slot: D1
41SDIO 3.0SD card slot: D2
42SDIO 3.0SD card slot: D3
43SDIO 3.0SD card slot: CLK
44SDIO 3.0SD card slot: CMD
45User controlledInternal Add-On: E6Pin 17 Back expansion header
46User controlledInternal Add-On: E3Pin 14 Back expansion header
47User controlledInternal Add-On: E4Pin 15 Back expansion header
48User controlledInternal Add-On: E5Pin 16 Back expansion header
49User controlledInternal Add-On: E7Pin 20 Back expansion header
50User controlledInternal Add-On: E8Pin 27 Back expansion header
51User controlledInternal Add-On: E9Pin 25 Back expansion header
52User controlledInternal Add-On: E10Pin 23 Back expansion header
53User controlledInternal Add-On: E11Pin 21 Back expansion header
54User controlledInternal Add-On: E12Pin 19 Back expansion header