1.2.4 mikroBUS MB2 Connector

The mikroBUS MB2 connector is set up as a generic mikroBUS header. The devices can be used with mikroBUS extension boards that have SPI, I2C, Serial Port I/O, as well as some generic GPIO signals. The MB2 connector signaling is entirely separate from that of the MB1 connector.

Expected uses of the port includes digital sensors, analog sensors, WiFi modules and other devices.

Microcontroller Interface

Table 1-3. MB2 Connector
SG41 ConnectionsMB2 ConnectorSG41 Connections
Sercom #IOSETPin #J803J802Pin #IOSETSercom #
GNDGND
5.0V3.3V
Sercom #2IOSET4-PAD0PB25SDASDIPC12IOSET1-PAD0Sercom #7
Sercom #2IOSET4-PAD1PB24SCLSDOPC15IOSET1-PAD3Sercom #7
Sercom #6IOSET1-PAD0PC16TXSCKPC13IOSET1-PAD1Sercom #7
Sercom #6IOSET1-PAD1PC17RXCSPC14IOSET1-PAD2Sercom #7
EXTINT[6]PA06INTRSTPA07
TC[4]PB08PWMANPA04AIN[0]/AIN[4]
Note: Configuration Options: The PWM and AN signals are defined as digital GPIOs for the default application but can be configured to support the intended mikroBUS functionality. See the PIC32CX1025SG41 data sheet for more information.
  1. The PWM signal can be configured as PWM signal TC4.
  2. The AN signal can be configured as either ADC0/AIN[4] analog input or AC/AIN[0] analog comparator input.
Operational Notes:
  • The on-board temperature sensor (MCP9804), light sensor (OTP3001) and AT24MAC402 serial EEPROM share the I2C bus.
  • The UART signals Rx/Tx swap as they pass through the mikroBUS extension board.
  • The microcontroller pins selected for the INT, RST, PWM and AN signals support the functionality intended by the mikroBUS specification. These signals can be used for alternate GPIO functionality as required.