Curiosity PIC32MZ EF 2.0 Development Board Users Guide
Introduction
The Microchip Technology Curiosity PIC32MZ EF 2.0 Development Board (DM320209) includes an integrated
programmer and debugger, which requires no additional hardware to get started. Users can expand functionality
through MikroElectronika mikroBUS™ Click™ adapter boards, add Ethernet connectivity with the Microchip PHY
Daughter Board, add Wi-Fi® connectivity capability using the Microchip expansions boards, and add audio input and
output capability with Microchip audio daughter boards.
With or without expansion boards, the Curiosity PIC32MZ EF 2.0 Development Board provides the freedom to
develop a variety of applications, including Bluetooth Audio, CAN, Graphics/UI, Internet of Things (IoT), robotics
development, and proof-of-concept designs.
Curiosity PIC32MZ EF 2.0 Development Board Features
The Curiosity PIC32MZ EF 2.0 Development Board has the following features:
• On-Board debugger (PKoB4)
– Real time Programming & Debugging
– Virtual COM port (VCOM)
– Data Gateway Interface (DGI)
• Two mikroBUS interfaces
• Two X32 Audio interfaces supporting Bluetooth® and Audio
• Ethernet interface
• Graphics interface
• Xplained pro extension compatible interface
• CAN interface
• User buttons
• User LEDs
• 8 MB QSPI memory
• Arduino Uno R3 compatible interface
Kit Contents
The kit contains one Curiosity PIC32MZ EF 2.0 Development Board (DM320209).
Note: If any part is missing from the kit, contact a Microchip sales office for assistance. A list of Microchip offices for
sales and service is provided on the last page of this document.
Curiosity PIC32MZ EF 2.0 Development Board
The Curiosity PIC32MZ EF 2.0 Development Board (DM320209) is shown in the following figure:
The Microchip Web Site............................................................................................................................... 39
15USB to PKoB4 for debugging, power, virtual COM port
1.2 System Block Diagram
The following high-level block diagram that shows the major data bus routing.
Figure 1-2. System Block Diagram
Development Board Functionality and Features
1.3 Power Block Diagram
The following figure shows a block diagram of the power system on the Curiosity PIC32MZ EF 2.0 Development
Board. The Curiosity PIC32MZ EF 2.0 Development Board has several power sub systems that allow it to accept up
to 16V. The barrel jack is a 2.1 mm center positive connector. The power in can also be connected through the
Arduino header, this input is before the reverse voltage protection.
The MPLAB® PICkit™ On-Board 4 (PKoB4) is a new generation of In-Circuit Debugger. The MPLAB PKoB4
programs faster than its predecessor, and is designed to use a high-speed 2.0 USB interface and provide a feature
rich debugging experience through one USB cable. The PKoB4 is intended to support programming debugging and a
Data Gateway interface.
The MPLAB PKoB4 In-Circuit Debugger is compatible with any of these platforms:
• Microsoft Windows® 7 or later
®
™
download at https://www.microchip.com/mplabx/)
• Linux
• macOS
The MPLAB PKoB4 In-Circuit Debugger system provides the following advantages:
Features and Capabilities:
• Connects to computer through high-speed USB 2.0 (480 Mbits/s) cable
• Programs devices using MPLAB X IDE or MPLAB IPE
• Supports multiple hardware and software breakpoints, stopwatch, and source
• code file debugging
• Debugs your application in real time
• Sets breakpoints based on internal events
• Monitors internal file registers
• Debugs at full speed
• Configures pin drivers
• Field-upgradeable through an MPLAB X IDE firmware download
• Adds new device support and features by installing the latest version of MPLAB X IDE (available as a free
3.Click on Debug > Hardware Tool Emergency Boot Firmware Recovery.
Figure 1-5. Debugging Window
4.Follow the directions on the screen. This will bring the tool back to the factory conditions.
For additional information on the PKoB4, refer to the “MPLAB® PICkit™ 4 In-Circuit Debugger User’s Guide”
(DS50000251), which is available for download at http://ww1.microchip.com/downloads/en/DeviceDoc/MPLAB
The I2C voltage is defaulted to 3.3-volt pull ups. A 5.0-volt option is possible. In order to do this the trace must be cut
and a resistor of 0 ohm or a bus bar must be installed. A 0805 SMD footprint has been provided. This is located on
the back side of the board. The following figure shows the I2C jumper in the trace:
The X32 is a 32-pin interface to the board to support audio codec, DACs, and Bluetooth radios. This interface has
audio supply I2S and other control lines, and data interfaces.
1.6.1 Block Diagram
The Curiosity PIC32MZ EF 2.0 Development Board has two X32 interfaces that share two I2S signals. The following
figure shows the relation between the I2S signals and the X32 daughter board interface.
The following table shows the pinout and description for the X32 Audio interface. Refer to the Schematics for
additional information.
Table 1-2. X32 Audio Interface Pinout
Pin NumberNameDescriptionInterface
1GNDGroundPower
2GNDGroundPower
3UART RXUART RX, receive to MCU from DBUART
4UART CTSUART Clear to sendUART
5UART TXUART TX, transmit from MCU to DBUART
DS70005400A-page 10
Development Board Functionality and Features
...........continued
Pin NumberNameDescriptionInterface
6UART RTSUART Ready to sendUART
7I2C SCLClock line for I2C interface.I2C
8STBY/RSTStandby/Reset controlGPIO
9I2C SDAData line for I2C interface.I2C
10Audio WS/LRCLKAudio Word Select/Left Right ClockI2S
11Audio InAudio into MCU, out from CODECI2S
12Audio CLKAudio clockI2S
13Audio outAudio out of MCU, in to CODEC/DACI2S
14REFCLK/MCKReference clock #1REFCLK
15GNDGroundPower
16GNDGroundPower
17NCLegacy hold over-
18+3.3vVDDPower
19NCLegacy hold over-
20+5.0vVDDPower
21 (1)Audio WS/ Audio LRCLKAudio Word Select/Left Right ClockI2S
22 (2)Card ID pinCommunication line to the daughter card and
23 (3)Audio CLKAudio ClockI2S
24 (4)NC
25 (5)Audio INAudio into MCU, out from CODECI2S
26 (6)NC
27 (7)Audio OUTAudio out of MCU, in to CODEC/DACI2S
28 (8)NC
29 (9)REFCLK2/MCK2Reference clock #2REFCLK
30 (10)NC
31 (11)GNDGroundPower
32 (12)GNDGroundPower
1.6.3 Port Connections
The following table provides the port and connections to the X32 Audio interface. The I2S signals listed are the main
signals, and both of these signals are available at each interface, refer to the X32 Interface Block Diagram for
additional information.
The mikroBUS interface allows for the use of additional click™ boards. For additional information and to see the
boards which can be used with this development board, refer to: https://www.mikroe.com/.
Table 1-4. mikroBUS™ Pinout
Development Board Functionality and Features
InterfaceX32#1X32#2
UART RTSRPE8RPF5
UART CTSRPF12RPD10
I2C SDARA3RA3
I2C SCLRA2RA2
ResetRJ12RJ10
REFCLKRPD15RPD15
I2S ClockRPD1RPG6
I2S Audio Out (MOSI)RPD7RPG8
I2S Audio In (MISO)RPD14RPG7
I2S LRCLKRPD9RPC2
Pin NumberNameFunction
1GNDGround
2+5V+5.0V
3SDAI2C SDA
4SCLI2C SCL
5TXUART TX
6RXUART RX
7INTInterrupt request line
8PWMPulse width modulation
9GNDGround
10+3.3VGround
11MOSIMaster Out Slave In line of serial peripheral interface.
12MISOMaster In Slave Out line of serial peripheral interface.
13SCKClock for serial peripheral interface
14CSChip Select for serial peripheral interface. (Active low)
15RSTReset
16ANAnalog-to-digital converter.
1.7.1 Port Connections
The following table provides the port connections to the mikroBUS interface. The mikroBUS is nested inside of the
X32 Audio interface. Due to mechanical interference, either a mikroBUS or Audio interface can be used in the same
socket. The mikroBUS interface shares signals with the X32 Audio interface, refer to Pinout for additional information
on pinout or signal probing.
Table 1-5. Port Connections for the mikroBUS Interface
InterfacemikroBUS™ #1mikroBUS™ #2
UART RXRPC4RPE9
UART TXRPC1RPG9
INT/IRQRPF12RPD10
I2C SDARA3RA3
I2C SCLRA2RA2
ResetRJ12RJ10
PWMRPD15RPD15
SPI ClockRPD1RPG6
SPI MOSIRPD7RPG8
SPI MISORPD14RPG7
SPI SSRPD9RPC2
ADCAN5AN6
1.8 Control Area Network (CAN) Bus Interface
The Curiosity PIC32MZ EF 2.0 Development Board provides access to a CAN interface that is post transceiver. The
on-board CAN transceiver is an ATA6561, which allows the application to be used directly with any CAN bus
compliant interface.
Table 1-6. CAN Bus Interface
Pin NumberNameDescriptionPort
1CAN_HCAN High Signal-
2GNDGround-
3CAN_LCAN Low Signal-
-CAN2_TXCAN TransmitRPD5
-CAN2_RXCAN ReceiveRPF5
1.9 Ethernet
The Curiosity PIC32MZ EF 2.0 Development Board has a modular Ethernet PHY system that enables different PHYs
to be plugged into the board. This interface is set up to use a Reduced Media-Independent Interface (RMII interface)
and a SPI bus interface with GPIO.