OLIMEX© 2017
PIC32-EMZ64 user's manual
6.2 HARDWARE INPUT/OUTPUT
The board has a number of LEDs and buttons. Not all of them can be used as input. The board has:
- programmable user buttons BUT1, BUT2, BUT3:
BUT1 – connected to PIC32MZ's pin #27 (TCK/AN7/PMA11/RB12).
BUT2 – connected to PIC32MZ's pin #28 (TDI/AN8/RB13).
BUT3 – connected to PIC32MZ's pin #29 (AN9/RPB14/SCK3/PMA1/RB14).
- non-programmable reset button RST – connected to PIC32MZ's pin #9 (#MCLR).
- programmable user LEDs LED1, LED2, LED3:
LED1 (green) – connected to PIC32MZ's pin #21 (RB8).
LED2 (yellow) – connected to PIC32MZ's pin #22 (AN49/RPB9/PMA7/RB9).
LED3 (red) – connected to PIC32MZ's pin #23 (TMS/CVREFOUT/AN5/RPB10/PMA13/RB10).
- non-programmable power supply red LED PWR – indicates if 5V voltage is applied. Cannot be
programmed.
6.3 EXTERNAL CONNECTOR DESCRIPTION
In this sub-chapter you would find the pinout of peripherals and the connectors on the board. It is
also a good idea to refer to the latest schematic.
6.3.1 ICSP CONNECTOR
The ICSP connector is used for serial programming. It is the place where most common PIC32-
compatible programmers and debuggers are connected. The pins have 0.1'' step. If your
programmer/debugger has only the smaller 0.05'' connector you might need an adapter or you
should use jumper wires.
Pin #
Signal name
1
RESET
2
3.3V
3
GND
4
PGED2
5
PGEC2
6
NC
PGED2
conducts I/O operations for the “Program Data” signal. Serial data for programming.
PGEC2
serves only as input for the “Program Clock” signal. Clock used for transferring the serial
data (output from ICSP, input for the MCU).
Wrongfully mirroring the pins is a very common problem. If you have problems during
programming trace each wire separately.
Page 19 of 28