"Wireless Made Easy!" - Full workshop experience to learn and touch PIC32MZ W1 family
-
PIC32WFI32E Curiosity Board
Order a PIC32WFI32E Curiosity Board -
Micro-USB to USB Cables
-
USB-UART converter such as FTDI (TTL-232R-3V3) cable or an ADM00393 MCP2200 USB-UART board
-
(optional) Programmer/debugger: MPLAB® SNAP, PICkit 4, or MPLAB® ICD4
-
(optional) AC164110 RJ11 to ICSP Adapter for ICD4
-
Wi-Fi Access Point or Mobile Hotspot with Internet access
(make sure you have the credentials to the Wi-Fi AP with internet access handy) -
Personal Computer
The PIC32WFI32E Curiosity Board has the PKOB debugger on-board. You can either setup the board to use the on-board programmer/debugger or either use an external programmer/debugger tool for faster programming experience.
The table below provide the possible combinations for the jumpers (open/close) and the connectors (Yes: connected, No: not connected).
| Mode of operation | External Power Supply J201 | Power Source Selection Jumpers J202 | Standalone USB Power J204 | USB Host/Device Selection Jumper J205 | ICSP Header J206 | Int/Ext Debugger/Programmer Jumpers J301 | USB Prog/Debug J302 |
|---|---|---|---|---|---|---|---|
| On-board programming/debugger | No | PKOB | No | Open | No | Close | Yes |
| External programming/debugging | Yes | VBUS | No | Open | Yes | Open | No |
| External programming/debugging (tool supplies 3V) | No | Open | No | Open | Yes | Open | No |
| USB Device Standalone power operation/run | No | VBUS | Yes | Open | No | Open | No |
| USB Host powered from external 5V | Yes | PS | No | Close | No | Open | No |
| USB Device powered from USB debug | No | PKOB | No | Close | No | Close | Yes |
The PKOB debugger enables the user to program/debug through Debug USB (J302) on PIC32WFI32E Curiosity Board.
- Make sure J202 jumper is connected to PKOB
- Make sure J301 jumpers are shorted (Pins 1-2 shorted, Pins 3-4 shorted)
- Connect the USB Cable between USB Debug J302 and your PC
| J301 | Jumpers Position |
|---|---|
| Pins 1-2 | shorted |
| Pins 3-4 | shorted |
No external debug tool is needed.
MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC32MZ W1 family.
- Make sure that J202 jumper is connected to VBUS
- Make sure J301 jumpers are open (Pins 1-2 open, Pins 3-4 open)
- To power supply the board , connect the USB Cable between USB Power J204 and your PC
- Connect the MPLAB® ICD 4 tool between ICSP J206 connector and your PC
| J301 | Jumpers Position |
|---|---|
| Pins 1-2 | open |
| Pins 3-4 | open |
To observe the application logs, you can connect a USB-to-UART converter to J207 (GPIO Header) of the Curiosity Board. Application debug logs can be captured from UART1.
The UART1 pins (Tx and Rx) are marked on the GPIO Header silkscreen.
Serial port settings: 115200 8N1
| USB-UART Cable | GPIO Header J207 of the Curiosity Board |
|---|---|
| Tx | UART1_RX (Pin 13) |
| Rx | UART1_TX (Pin 23) |
| Ground | GND (Pin 17) |
| PICKIT Serial header | GPIO Header J207 of the Curiosity Board |
|---|---|
| Tx (Pin 1) | UART1_RX (Pin 13) |
| Rx (Pin 6) | UART1_TX (Pin 23) |
| Ground (Pin 3) | GND (Pin 17) |
Curiosity board J207 pins 13 to 23 are aligned with PICKIT serial header output.
If using ADM00393 MCP2200 Breakout module, make sure to change jumper position to 3.3V position
The Microchip TC1047A temperature sensor is on-board and connected to pin AN15/RPA13 of the WFI32E01PC module.
- Make sure jumper J209 is shorted to enable temperature sensor
- MPLAB® X IDE v6.10
- MPLAB® XC32 Compiler v3.01 or above
- MPLAB® Code Configurator v5.3.7 or above
- Serial Terminal like TeraTerm
This material has been developped and validated with:
- MPLAB® X IDE v6.10
- MPLAB® XC32 Compiler v3.01
- MPLAB® Code Configurator v5.3.7
- Device Pack PIC32MZ-W_DFP v1.6.220
- Download and install MPLAB® X IDE
- Download and install XC32 Compiler
- Install the MPLAB® Code Configurator Plugin (tutorial) (Make sure MPLAB® Code Configurator is installed under tools -> Pluggins -> Installed).
| Tools | Version | |
|---|---|---|
| MPLAB® X IDE | v6.10.0 | |
| MPLAB® XC32 Compiler | v3.01 | |
| MCC | v5.3.7 |
PIC32MZ W1 Device support comes automatically with latest MPLAB X IDE, check out from MPLAB Pack Manager.
- Open MPLAB Pack Manager from Tools -> Packs
- Type "w1" in Show Packs Compatible text box
You are now ready to use the MPLAB® Harmony Framework to start your first application with PIC32MZ W1 device.












