3.6 Extension Headers

The PIC32CM SG00/GC00 Curiosity Pro development board has two Extension headers, J400 and J401, which are Xplained Pro compatible interfaces that enable the use of existing expansion boards. Each interface consists of a dual-row, 20-pin, 100 mil pitch, right angle male header, while Xplained Pro extensions have their female counterparts. The Extension headers can be used to connect a variety of Xplained Pro extension boards or to access the pins of the target MCU directly, and some of these pins are shared between both Extension headers and even Arduino UNO R3 headers and mikroBUS socket.

Figure 3-9. EXT1 Extension Header (J400) Schematic
Table 3-3. Extension Header1 Pin Assignment
Pin NumberPin NameDescriptionGPIO
1IDCommunication line to the ID chip on an extension board-
2GNDGroundGND
3ADC(+)Analog-to-Digital converter, alternatively positive part of differential ADCPA03
4ADC(-)Analog-to-Digital converter, alternatively negative part of differential ADCPA04
5GPIO1General purpose I/OPC00
6GPIO2General purpose I/OPC01
7PWM(+)Pulse-Width Modulation, alternatively positive part of differential PWMPA01
8PWM(-)Pulse-Width Modulation, alternatively negative part of differential PWMPA02
9IRQ/GPIOInterrupt request line and/or general purpose I/OPA00
10SS/GPIOClient select for SPI and/or general purpose I/OPC09
11TWDData line for I2C interface. Always implemented, bus typePD01
12TWCKClock line for I2C interface. Always implemented, bus typePD00
13RXDReceiver line of target device UARTPB16
14TXDTransmitter line of target device UARTPB15
15SSClient select for SPI, should preferably be uniquePC10
16MOSIHost out Client in line of Serial Peripheral InterfacePA16
17MISOHost in Client out line of Serial Peripheral InterfacePA15
18SCKClock for Serial Peripheral InterfacePA17
19GNDGroundGND
20VCCPower for extension boardVCC_P3V3
Figure 3-10. EXT2 Extension Header (J401) Schematic
Table 3-4. Extension Header 2 Pin Assignment
Pin NumberPin NameDescriptionGPIO
1IDCommunication line to the ID chip on an extension board-
2GNDGroundGND
3ADC(+)Analog-to-Digital converter, alternatively positive part of differential ADCPA05
4ADC(-)Analog-to-Digital converter, alternatively negative part of differential ADCPA06
5GPIO1General Purpose I/OPA12
6GPIO2General Purpose I/OPA13
7PWM(+)Pulse-Width Modulation, alternatively positive part of differential PWMPA01
8PWM(-)Pulse-Width Modulation, alternatively negative part of differential PWMPA02
9IRQ/GPIOInterrupt request line and/or general purpose I/OPD08
10SS/GPIOClient select for SPI and/or general purpose I/OPD09
11TWDData line for I2C interface. Always implemented, bus typePD01
12TWCKClock line for I2C interface. Always implemented, bus typePD00
13RXDReceiver line of target device UARTPB16
14TXDTransmitter line of target device UARTPB15
15SSClient select for SPI, should preferably be uniquePA14
16MOSIHost out Client in line of Serial Peripheral InterfacePA16
17MISOHost in Client out line of Serial Peripheral InterfacePA15
18SCKClock for Serial Peripheral InterfacePA17
19GNDGroundGND
20VCCPower for extension boardVCC_P3V3