Olimex HMZ144 board

Serge Vakulenko edited this page Apr 12, 2016 · 6 revisions

HMZ144

Olimex PIC32-HMZ144 is a development board (schematic) equipped with Microchip PIC32MZ microcontroller.

Features:

  • PIC32MZ microcontroller 200 MHz (MIPS architecture, DSP)
  • 98 available i/o pins, 5V tolerant
  • Micro SD card connector at SPI2
  • On-board oscillator 12 MHz
  • USB 2.0 OTG controller with mini-USB connector
  • One user LED
  • One user button
  • Reset button
  • ICSP port
  • JTag port
  • 3.3V operating voltage

Memory:

  • 2 Mbytes of program Flash memory
  • 160 kbytes of additional boot Flash memory
  • 512 kbytes of RAM

A rich set of peripheral functions is available: UART, SPI, I2C, I2S, ADC, timers. Two internal oscillators available: 8 MHz and 32 kHz.

Signals

Signal Connector Function
RA0 JTAG/3 TMS
RA1 JTAG/2 TCK
RA2 UEXT/5 SCL2
RA3 UEXT/6 SDA2
RA4 EXT1/49
RA5 EXT1/47
RA6 EXT1/45
RA7 EXT1/43
RA9 EXT1/41
RA10 EXT1/5 Voltage reference
RA14 EXT1/39 SCL1
RA15 EXT1/37 SDA1
RB0 EXT1/35 PGED1
RB1 EXT1/33 PGEC1
RB2 --- USB OTG Fault
RB3 EXT1/31
RB4 EXT1/29
RB5 --- USB OTG Enable
RB6 ICSP/5 PGEC2
RB7 ICSP/4 PGED2
RB8 EXT1/27
RB9 EXT1/25
RB10 EXT1/23
RB11 EXT1/21
RB12 --- Button
RB13 EXT1/19
RB14 --- SCK3, SD Select
RB15 UEXT/10 #SS1
RC1 EXT1/17
RC2 EXT1/15
RC3 EXT1/13
RC4 EXT1/11
RC12 --- OSCI
RC13 --- SOSCI
RC14 --- SOSCO
RC15 --- OSCO
RD0 EXT1/9 RTCC, INT0
RD1 UEXT/9 SCK1
RD2 EXT1/7
RD3 EXT1/8
RD4 EXT1/10
RD5 EXT1/12
RD6 EXT1/14 ETXEN
RD7 --- SD Data Out
RD9 EXT1/16
RD10 EXT1/18 SCK4
RD11 EXT1/20 EMDC
RD12 EXT1/22
RD13 EXT1/24
RD14 UEXT/7 SDI1
RD15 UEXT/8 SDO1, SCK6
RE0 EXT1/26
RE1 EXT1/28
RE2 EXT1/30
RE3 EXT1/32
RE4 EXT1/34
RE5 EXT1/36
RE6 EXT1/38
RE7 EXT1/40
RE8 UEXT/3 U2TX
RE9 UEXT/4 U2RX
RF0 EXT1/42
RF1 EXT1/44
RF2 EXT1/46 SDA3
RF3 --- USBID
RF4 EXT1/48 SDA5
RF5 EXT1/50 SCL5
RF8 EXT2/45 SCL3
RF12 JTAG/4 TDO
RF13 JTAG/5 TDI, SCK5
RG0 EXT2/43
RG1 EXT2/41
RG6 --- SCK2, SD Clock
RG7 --- SDA4, E_MEASUREMENT
RG8 --- SCL4, SD Data In
RG9 EXT2/39
RG12 EXT2/37
RG13 EXT2/35
RG14 EXT2/33
RG15 --- V_BAT
RH0 EXT2/31
RH1 EXT2/29
RH2 --- LED1
RH3 EXT2/27
RH4 EXT2/25
RH5 EXT2/23 ERXD1
RH6 EXT2/21
RH7 EXT2/19
RH8 EXT2/17 ERXD0
RH9 EXT2/15
RH10 EXT2/13
RH11 EXT2/11
RH12 EXT2/9
RH13 EXT2/7 ERXDV
RH14 EXT2/5
RH15 EXT2/3
RJ0 EXT2/4
RJ1 EXT2/6 EMDIO
RJ2 EXT2/8
RJ3 EXT2/10
RJ4 EXT2/12
RJ5 --- SD Copy Protect
RJ6 EXT2/14
RJ7 EXT2/16
RJ8 EXT2/18 ETXD0
RJ9 EXT2/20 ETXD1
RJ10 EXT2/22
RJ11 EXT2/24 EREFCLK
RJ12 EXT2/26
RJ13 EXT2/28
RJ14 EXT2/30
RJ15 EXT2/32
RK0 EXT2/34
RK1 EXT2/36
RK2 EXT2/38
RK3 EXT2/40
RK4 EXT2/42
RK5 EXT2/44
RK6 EXT2/46
RK7 EXT2/48

Connectors

UEXT

Function Signal Pin Pin Signal Function
     | +3.3V  |  1  |  2  |  GND   |

U2TX | RE8 | 3 | 4 | RE9 | U2RX SCL2 | RA2 | 5 | 6 | RA3 | SDA2 SDI1 | RD14 | 7 | 8 | RD15 | SDO1 SCK1 | RD1 | 9 | 10 | RB15 | #SS1

EXT1

Signal Pin Pin Signal
+3.3V 1 2 GND
+3.3V_AVCC 3 4 AGND
AREF 5 6 AGND
RD2 7 8 RD3
RD0 9 10 RD4
RC4 11 12 RD5
RC3 13 14 RD6
RC2 15 16 RD9
RC1 17 18 RD10
RB13 19 20 RD11
RB11 21 22 RD12
RB10 23 24 RD13
RB9 25 26 RE0
RB8 27 28 RE1
RB4 29 30 RE2
RB3 31 32 RE3
RB1 33 34 RE4
RB0 35 36 RE5
RA15 37 38 RE6
RA14 39 40 RE7
RA9 41 42 RF0
RA7 43 44 RF1
RA6 45 46 RF2
RA5 47 48 RF4
RA4 49 50 RF5

EXT2

Signal Pin Pin Signal
+5V 1 2 GND
RH15 3 4 RJ0
RH14 5 6 RJ1
RH13 7 8 RJ2
RH12 9 10 RJ3
RH11 11 12 RJ4
RH10 13 14 RJ6
RH9 15 16 RJ7
RH8 17 18 RJ8
RH7 19 20 RJ9
RH6 21 22 RJ10
RH5 23 24 RJ11
RH4 25 26 RJ12
RH3 27 28 RJ13
RH1 29 30 RJ14
RH0 31 32 RJ15
RG14 33 34 RK0
RG13 35 36 RK1
RG12 37 38 RK2
RG9 39 40 RK3
RG1 41 42 RK4
RG0 43 44 RK5
RF8 45 46 RK6
RESET 47 48 RK7
GND 49 50 GND

UART module

Any 3.3V-compliant USB-to-TTL module can be used to connect to serial UART port.

USB-to-Serial

UART module UEXT PIC32 Description
+3.3V 1 --- Power Supply
GND 2 --- Ground
RXD 3 RE8 U2TX
TXD 4 RE9 U2RX

Ethernet module

The Waveshare LAN8720 module (schematic) adds Ethernet functionality to the HMZ144 board.

LAN8720

Connection:

LAN8720 Name HMZ144 PIC32 Description
1, 2 VCC EXT1/1 --- +3.3V
3, 4 GND EXT1/2 --- Ground
5 MDC EXT1/20 RD11 EMDC
6 MDIO EXT2/6 RJ1 EMDIO
7 CRS EXT2/7 RH13 ERXDV
8 RETCLK EXT2/24 RJ11 EREFCLK
9 RX1 EXT2/23 RH5 ERXD1
10 RX0 EXT2/17 RH8 ERXD0
11 TX0 EXT2/18 RJ8 ETXD0
12 TX_EN EXT1/14 RD6 ETXEN
13 n/c --- --- Not connected
14 TX1 EXT2/20 RJ9 ETXD1