3.5 mikroBUS Sockets (J400 and J404)

There are two mikroBUS sockets (J400 and J404) that expand the functionality of the PIC32 WFI32 Curiosity HPC Board using the MikroElectronika click adapter boards and Microchip RN-based add-on boards.

The mikroBUS socket (J400) consists of the following interfaces:
  • Two 1x8 female headers with Serial Peripheral Interface (SPI)
  • Inter-Integrated Circuit (I2C)
  • Universal Asynchronous Receiver-Transmitter (UART)
  • Reset (GPIO)
  • Pulse Width Modulation (PWM)
  • Analog and interrupt lines
  • 3.3V, 5V and Ground (GND) rails

In addition to all the mikroBUS socket (J400) interfaces, the mikroBUS socket (J404) has an additional PTA header (J407) to interface with RN-based add-on boards. The following table provides the pinout details of the mikroBUS sockets (J400 and J404).

Table 3-7. mikroBUS Socket Pin Description – J400
Pin NumberPin on mikroBUS™ SocketPin Description of mikroBUS SocketPin on the WFI32E02 Module(1)
J400-1ANAnalog inputAN14/ANN0/CVD14/CVDR14/RPA14/RA14
J400-2RSTResetTMS/AN6/CVD6/CVDR6/RPB6/RB6
J400-3CSSPI Chip Select (CS)TDO/AN7/CVD7/CVDR7/RPB7/RB7
J400-4SCKSPI clockSCK2/RPA11/RA11
J400-5MISOSPI Host Input Client Output(6)PTA_WLAN_ACTIVE/RPK5/RK5(7)
J400-6MOSISPI Host Input Client Input(6)BT_CLK_OUT/RPK4/RK4
J400-7+3.3V3.3V power NC
J400-8GNDGroundGND
J400-9GNDGroundGND
J400-10+5V5V power NC
J400-11SDAI2C dataSDA1/RPA5/RA5
J400-12SCLI2C clockSCL1/RPA4/RA4
J400-13TXUART/CAN transmitPTA_BT_ACTIVE/RPK7/RK7(7) or PGD4/AN9/CVD9/CVDR9/RPB9/RB9(3, 4)
J400-14RXUART/CAN receivePGD4/AN9/CVD9/CVDR9/RPB9/RB9 or PTA_BT_ACTIVE/RPK7/RK7(3, 4, 5)
J400-15INTHardware interruptPTA_BT_PRIO/RPK6/RK6(7)
J400-16PWMPWM outputANA0/RPB12/RB12
Note:
  1. For more details on the WFI32E02 pins, refer to the PIC32MZ W1 MCU and WFI32 Module with Wi-Fi and Hardware-Based Security Accelerator Data Sheet (DS70005425).
  2. If using the AC243009 daughter board, the maximum frequency limit of the SPI2 interface is 12.5 MHz, but the WFI32E02 Module can operate up to 20 MHz.
  3. For UART operation, the user must mount the jumper (J403) between pin 1-2 and 3-4.
  4. For CAN operation, the user must mount the jumper (J403) between pin 2-4 and 1-3.
  5. The user must ensure not to simultaneously use the UART-based MikroElectronika click boards on the mikroBUS socket (J400) and the QT7/QT8/T9 XPRO kit on the XPRO header (J412).
  6. Traditional Serial Communication Interface documentation uses the terminology “Master” and “Slave”. The equivalent Microchip terminology used in this document is “Host” and “Client”, respectively.
  7. For more details about PTA signals, refer to the PIC32MZ W1 MCU and WFI32 Module with Wi-Fi and Hardware-Based Security Accelerator Data Sheet (DS70005425).
Table 3-8. mikroBUS Socket Pin Description – J404
Pin NumberPin on mikroBUS™ SocketPin Description of mikroBUS SocketPin on the WFI32E02 Module(1)
J404-1ANAnalog inputAN0/RPB0/RB0
J404-2

RST

ResetTMS/AN6/CVD6/CVDR6/CVDT1/RPB6/RB6
J404-3CSSPI Chip Select (CS)AN10/CVD10/CVDR10/RPB10/RB10
J404-4SCKSPI clockSCK1/RPC6/RC6
J404-5MISOSPI Host Input Client Output(5)SDI1/RPC7/RC7
J404-6MOSISPI Host Input Client Input(5)SDO1/RPC8/RC8
J404-7+3.3V3.3V powerNC
J404-8GNDGroundGND
J404-9GNDGroundGND
J404-10+5V5V powerNC
J404-11SDAI2C dataSDA2/RPA3/RA3
J404-12SCLI2C clockSCL2/RPA2/RA2
J404-13TXUART/CAN transmitRPK9/RK9 or AN16/CVD16/CVDR16/RPA12/RA12(3, 4)
J404-14RXUART/CAN receiveAN16/CVD16/CVDR16/RPA12/RA12 or USBID/AN2/CVD2/CVDR2/CVDT5/RPB2/RB2(3, 4)
J404-15INTHardware interruptANN1/CVD15/CVDR15/RPA13/RA13
J404-16PWMPWM outputANA0/RPB12/RB12
Note:
  1. For more details on the WFI32E02 pins, refer to the PIC32MZ W1 MCU and WFI32 Module with Wi-Fi and Hardware-Based Security Accelerator Data Sheet (DS70005425).
  2. If using the AC243009 daughter board, the maximum frequency limit of the SPI2 interface is 12.5 MHz, but the WFI32E02 Module can operate up to 40 MHz.
  3. For UART operation, the user must mount the jumper (J410) between pin 3-2 and the jumper (J411) between pin 1-2 and 3-4.
  4. For CAN operation, the user must mount the jumper (J410) between pin 1-2 and the jumper (J411) between pin 2-4 and 1-3.
  5. Traditional Serial Communication Interface documentation uses the terminology “Master” and “Slave”. The equivalent Microchip terminology used in this document is “Host” and “Client”, respectively.
The mikroBUS socket (J404) also offers support to interface with Microchip RN-based boards. The following table provides the pinout details of the PTA header (J407) on the mikroBUS socket (J404).
Table 3-9. PTA Header with mikroBUS Socket (J404) – J407 Pinout Details
Pin NumberPin on PTA HeaderPin Description of PTA HeaderPin on the WFI32E02 Module
J407-1PTA_BT_ACTIVEPacket Traffic Arbitration (PTA) Three-Wire interface for Wi-Fi® and Bluetooth® co-existencePTA_BT_ACTIVE/RPK7/RK7(1)
J407-2

PTA_BT_PRIO

PTA_BT_PRIO/RPK6/RK6(1)
J407-3

PTA_WLAN_ACTIVE

PTA_WLAN_ACTIVE/RPK5/RK5(1)
J407-4GNDGroundGND
Note:
  1. For more details about PTA signals, refer to the PIC32MZ W1 MCU and WFI32 Module with Wi-Fi and Hardware-Based Security Accelerator Data Sheet (DS70005425).