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
| SG41 Connections | MB2 Connector | SG41 Connections | |||||
|---|---|---|---|---|---|---|---|
| Sercom # | IOSET | Pin # | J803 | J802 | Pin # | IOSET | Sercom # |
| — | — | — | GND | GND | — | — | — |
| — | — | — | 5.0V | 3.3V | — | — | — |
| Sercom #2 | IOSET4-PAD0 | PB25 | SDA | SDI | PC12 | IOSET1-PAD0 | Sercom #7 |
| Sercom #2 | IOSET4-PAD1 | PB24 | SCL | SDO | PC15 | IOSET1-PAD3 | Sercom #7 |
| Sercom #6 | IOSET1-PAD0 | PC16 | TX | SCK | PC13 | IOSET1-PAD1 | Sercom #7 |
| Sercom #6 | IOSET1-PAD1 | PC17 | RX | CS | PC14 | IOSET1-PAD2 | Sercom #7 |
| — | EXTINT[6] | PA06 | INT | RST | PA07 | — | — |
| — | TC[4] | PB08 | PWM | AN | PA04 | AIN[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.
- The PWM signal can be configured as PWM signal TC4.
- 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.
