3.5 mikroBUS Sockets (J400 and J404)

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

The mikroBUS connector consists of:
  • Pair of 1x8 female headers with proprietary pin configuration and silkscreen markings
  • The pinout consists of three groups of communications pins:
    • Serial Peripheral Interface (SPI)
    • Universal Asynchronous Receiver/Transmitter (UART)
    • Inter-Integrated Circuit (I2C)
  • Two power groups
    • 3.3V, Ground line
    • 5V, Ground line
  • Four additional pins
    • Pulse Width Modulation (PWM)
    • Reset Pin (RST)
    • Interrupt
    • Analog
Note: For a complete listing of the click boards, refer to www.mikroe.com/click.

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).

Figure 3-6. mikroBUS Pinout Diagram
Table 3-7. mikroBUS Socket Pin Description – J400
Pin NumberPin on mikroBUS SocketPin Description of mikroBUS SocketPin on the WFI32E04 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 OutputPTA_WLAN_ACTIVE/RPK5/RK5(5)
J400-6MOSISPI Host Input Client InputBT_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(5) or PGD4/AN9/CVD9/CVDR9/RPB9/RB9(2, 3)
J400-14RXUART/CAN receivePGD4/AN9/CVD9/CVDR9/RPB9/RB9 or PTA_BT_ACTIVE/RPK7/RK7(2, 3, 4)
J400-15INTHardware interruptPTA_BT_PRIO/RPK6/RK6(5)
J400-16PWMPWM outputANA0/RPB12/RB12
Note:
  1. For more details on the WFI32E04 pins, refer to the PIC32MZ W1 MCU and WFI32 Module with Wi-Fi® and Hardware-Based Security Accelerator Data Sheet (DS70005425).
  2. For UART operation, the user must mount the jumper (J403) between pin 1-2 and 3-4.
  3. For CAN operation, the user must mount the jumper (J403) between pin 2-4 and 1-3.
  4. 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).
  5. 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 WFI32E04 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 OutputSDI1/RPC7/RC7
J404-6MOSISPI Host Input Client InputSDO1/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(2, 3)
J404-14RXUART/CAN receiveAN16/CVD16/CVDR16/RPA12/RA12 or USBID/AN2/CVD2/CVDR2/CVDT5/RPB2/RB2(2, 3)
J404-15INTHardware interruptANN1/CVD15/CVDR15/RPA13/RA13
J404-16PWMPWM outputANA0/RPB12/RB12
Note:
  1. For more details on the WFI32E04 pins, refer to the PIC32MZ W1 MCU and WFI32 Module with Wi-Fi® and Hardware-Based Security Accelerator Data Sheet (DS70005425).
  2. 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.
  3. 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.
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).
Figure 3-7. PTA Header (J407) Pinout
Table 3-9. PTA Header with mikroBUS Socket (J404) – J407 Pinout Details
Pin NumberPin on PTA HeaderPin Description of PTA HeaderPin on the WFI32E04 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).