Microchip Technology Curiosity PIC32MZ EF 2.0 User Manual

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:
• PIC32MZ2048EFM144, 200 MHz, 2 MB Flash, 512 Kb SRAM
• 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:
© 2019 Microchip Technology Inc.
DS70005400A-page 1
© 2019 Microchip Technology Inc.
DS70005400A-page 2

Table of Contents

Introduction.....................................................................................................................................................1
1. Curiosity PIC32MZ EF 2.0 Development Board Features............................................................1
2. Kit Contents..................................................................................................................................1
Curiosity PIC32MZ EF 2.0 Development Board .....................................................................................1
1. Development Board Functionality and Features..................................................................................... 4
1.1. Board Feature Location................................................................................................................4
1.2. System Block Diagram................................................................................................................. 5
1.3. Power Block Diagram...................................................................................................................5
1.4. PICKit On-Board 4........................................................................................................................6
1.5. I2C Voltage Selection................................................................................................................... 8
1.6. X32 Audio Interface....................................................................................................................10
1.7. mikroBUS................................................................................................................................... 12
1.8. Control Area Network (CAN) Bus Interface................................................................................13
1.9. Ethernet......................................................................................................................................13
1.10. Xplained Pro Extension Standard Header..................................................................................15
1.11. Graphics Connector/GFX Card Interface...................................................................................16
1.12. Buttons and LEDs...................................................................................................................... 19
1.13. USB............................................................................................................................................19
2. Hardware...............................................................................................................................................20
2.1. Schematics.................................................................................................................................20
2.2. Bill of Materials........................................................................................................................... 36
2.3. Board Dimensions...................................................................................................................... 38
The Microchip Web Site............................................................................................................................... 39
Customer Change Notification Service........................................................................................................ 39
Customer Support........................................................................................................................................ 39
Microchip Devices Code Protection Feature................................................................................................ 39
Legal Notice................................................................................................................................................. 40
Trademarks.................................................................................................................................................. 40
Quality Management System Certified by DNV........................................................................................... 40
Worldwide Sales and Service.......................................................................................................................41
© 2019 Microchip Technology Inc.
DS70005400A-page 3
1
2
2
3 3
3 3
4 4 4 4
5
6
7
8
910
11
12
13
14
15
Development Board Functionality and Features

1. Development Board Functionality and Features

1.1 Board Feature Location

Figure 1-1. Curiosity PIC32MZ EF 2.0 Development Board Layout (Top View)
Table 1-1. Board Features and Locations
Number Description of Item
1 PICKit on Board 4 (PKoB4)
2 Arduino Uno interface. Headers not populated
3 mikroBUS Click interface. 2 per board
4 X32 Audio interface. 2 per board. Bluetooth & Audio codecs sold separately
5 CAN interface
6 Authentication interface. Header not populated
7 Xplained pro expansion compatible interface
8 Ethernet interface (RMII, SPI, GPIO). Ethernet PHY not included.
9 Quad SPI Memory 256 Mb
10 PIC32MZ2048EFM144
11 Graphics Interface
12 Programmable user buttons & LEDs
13 USB to PIC32MZ EF
14 2.5 mm barrel jack power input
© 2019 Microchip Technology Inc.
DS70005400A-page 4
...........continued
PKoB4
EXT1
(ADC,GPIO,PWM,
IRQ,UART_2w)
PIC32MZEF
X32#1/Mirko1
(I2C,SPI,UART,
REFCLK1,GPIO)
USB
USB
ETH (RMII,SPI,GPIO)
SPI#3
PGC/PGD
UART#6
I2C#1
X32#2/Mirko2
(I2C,SPI,UART,
REFCLK1,GPIO)
SPI#1
SPI#2
UART#3
UART#1
UART#2
GFXConnector
(I2C,SPI,UART,REFCLK1,GPIO)
UART#4
SQI
CAN
SPI#3_SS3(GPIO)
SPI#3_SS(GPIO)
SPI#3_SS2(GPIO)
I2C#2
Number Description of Item
15 USB 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.
© 2019 Microchip Technology Inc.
DS70005400A-page 5
Figure 1-3. Power Block Diagram
USB
USB
Target
PKoB
ArduinoHeader
BarrelJack
MIC24052
MIC5528
MIC5528
ToP KoB 4
ToM ZE F
ToS ystem
3.3v
3.3v
5.0v
5.5v‐14v
OTG
bypass
TestPoint
Jumper
5.0v
5.0v
3.3v
Vin
5.0v
Development Board Functionality and Features

1.4 PICKit On-Board 4

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
• Indicates debugger status through on-board LEDs
© 2019 Microchip Technology Inc.
DS70005400A-page 6
Performance and Speed:
TOPofBoard
BOTTOMofBoard
TOPofBoard
• More and faster memory
• A Real-Time Operating System (RTOS)
• No firmware download delays incurred when switching devices
• A 32-bit MCU running at 300 MHz

1.4.1 Recovery Method

When the MPLAB® PICkit™ On-Board 4 is not responding, the user can recover the it by following these steps:
1. With the Curiosity PIC32MZ EF 2.0 Development Board is still powered, short the two pads for approximately 10 seconds.
Figure 1-4. Location of Pads to Short
Development Board Functionality and Features
© 2019 Microchip Technology Inc.
DS70005400A-page 7
Development Board Functionality and Features
2. Open The latest version of MPLAB X.
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
%20PICkit%204%20ICD%20Users%20Guide%20DS50002751C.pdf

1.5 I2C Voltage Selection

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:
© 2019 Microchip Technology Inc.
DS70005400A-page 8
Development Board Functionality and Features
Figure 1-6. I2C Jumper
The following figure shows the schematic representation:
Figure 1-7. Schematic Representation
© 2019 Microchip Technology Inc.
DS70005400A-page 9

1.6 X32 Audio Interface

X32#1
X32#2
Main
Main
Aux
Aux
PIC32MZEF
I2S#1
I2S#2
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.
Figure 1-8. X32 Interface Block Diagram
Development Board Functionality and Features

1.6.2 Pinout

© 2019 Microchip Technology Inc.
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 Number Name Description Interface
1 GND Ground Power
2 GND Ground Power
3 UART RX UART RX, receive to MCU from DB UART
4 UART CTS UART Clear to send UART
5 UART TX UART TX, transmit from MCU to DB UART
DS70005400A-page 10
Development Board Functionality and Features
...........continued
Pin Number Name Description Interface
6 UART RTS UART Ready to send UART
7 I2C SCL Clock line for I2C interface. I2C
8 STBY/RST Standby/Reset control GPIO
9 I2C SDA Data line for I2C interface. I2C
10 Audio WS/LRCLK Audio Word Select/Left Right Clock I2S
11 Audio In Audio into MCU, out from CODEC I2S
12 Audio CLK Audio clock I2S
13 Audio out Audio out of MCU, in to CODEC/DAC I2S
14 REFCLK/MCK Reference clock #1 REFCLK
15 GND Ground Power
16 GND Ground Power
17 NC Legacy hold over -
18 +3.3v VDD Power
19 NC Legacy hold over -
20 +5.0v VDD Power
21 (1) Audio WS/ Audio LRCLK Audio Word Select/Left Right Clock I2S
22 (2) Card ID pin Communication line to the daughter card and
23 (3) Audio CLK Audio Clock I2S
24 (4) NC
25 (5) Audio IN Audio into MCU, out from CODEC I2S
26 (6) NC
27 (7) Audio OUT Audio out of MCU, in to CODEC/DAC I2S
28 (8) NC
29 (9) REFCLK2/MCK2 Reference clock #2 REFCLK
30 (10) NC
31 (11) GND Ground Power
32 (12) GND Ground Power

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.
Table 1-3. Port Connections
PKoB4.
Connected to
PKoB4
© 2019 Microchip Technology Inc.
Interface X32#1 X32#2
UART RX RPC4 RPE9
UART TX RPC1 RPG9
DS70005400A-page 11
...........continued

1.7 mikroBUS

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
Interface X32#1 X32#2
UART RTS RPE8 RPF5
UART CTS RPF12 RPD10
I2C SDA RA3 RA3
I2C SCL RA2 RA2
Reset RJ12 RJ10
REFCLK RPD15 RPD15
I2S Clock RPD1 RPG6
I2S Audio Out (MOSI) RPD7 RPG8
I2S Audio In (MISO) RPD14 RPG7
I2S LRCLK RPD9 RPC2
Pin Number Name Function
1 GND Ground
2 +5V +5.0V
3 SDA I2C SDA
4 SCL I2C SCL
5 TX UART TX
6 RX UART RX
7 INT Interrupt request line
8 PWM Pulse width modulation
9 GND Ground
10 +3.3V Ground
11 MOSI Master Out Slave In line of serial peripheral interface.
12 MISO Master In Slave Out line of serial peripheral interface.
13 SCK Clock for serial peripheral interface
14 CS Chip Select for serial peripheral interface. (Active low)
15 RST Reset
16 AN Analog-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
© 2019 Microchip Technology Inc.
DS70005400A-page 12
Development Board Functionality and Features
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
Interface mikroBUS™ #1 mikroBUS™ #2
UART RX RPC4 RPE9
UART TX RPC1 RPG9
INT/IRQ RPF12 RPD10
I2C SDA RA3 RA3
I2C SCL RA2 RA2
Reset RJ12 RJ10
PWM RPD15 RPD15
SPI Clock RPD1 RPG6
SPI MOSI RPD7 RPG8
SPI MISO RPD14 RPG7
SPI SS RPD9 RPC2
ADC AN5 AN6

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 Number Name Description Port
1 CAN_H CAN High Signal -
2 GND Ground -
3 CAN_L CAN Low Signal -
- CAN2_TX CAN Transmit RPD5
- CAN2_RX CAN Receive RPF5

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.
© 2019 Microchip Technology Inc.
DS70005400A-page 13
Loading...
+ 28 hidden pages