background image

OLIMEX© 2017

PIC32-HMZ144 user's manual

Page 10 of 26

-

LEDS

BUTTONS

VOLTAGE_REFERENCE

POWER_SUPPLY

UEXT

USB_OTG

Battery Charger

appr. 70 mA charge current

MICRO_SD

Designed by Olimex LTD

Iset = 6800/R68

Iset = 523mA

Re

Rf

Vout=0.6x(1+Re/Rf)

24MHz

Oscillator

PIC32-HMZ144, board revision C1

Designed and assembled by Olimex LTD, Bulgaria

www.OLIMEX.com

PIC32-HMZ144, board revision C1

1
2

3.7V-LI_BAT

DW02R

BUT

C2

22uF/6.3V

C3

22uF/6.3V

C4

22uF/6.3V

C13

C15

10nF

C16

C20

100nF

C29NA(20pF)

C30NA(10pF)

C31NA(10pF)

C32NA(20pF)

C3322uF/6.3V

C3422uF/6.3V

C35
100nF

C36

NA(100nF)

C37

27pF

VDD

VSS

OU T

E/D

1

3

4

2

CD1

F535L-24(24MHz/50ppm/5x3.2mm)

D1
1N5819(S4SOD-123)

D2

1N5819(SS14)

D3

1N5819(SS14)

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

EXT1

NA

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

EXT2

NA

FB1

FB0805/600R/2A

FET1

IRLML6402

GND_PIN

1
2
3
4
5
6

ICSP

WF6S

1
2
3
4
5
6

JTAG

NA(HN1X6)

L1

FB0805/600R/2A

L2

FB0805/600R/2A

L4

2.2uH/1.5A/DCR<0.1R/CD32

LED1
LED/GREEN/0603

CD/DAT3/CS

2

CLK/SCLK

5

CMD/DI

3

9

DAT0/DO

7

DAT1/RES

8

DAT2/RES

1

13

VDD4
VSS6

MICRO-SD

TFC-WPAPR-08

+5V

+5V

+5V

+5V

+5V

+5V

+5V

Q1

NA(Q12.000MHz/HC-49S/SMD/20pF/30ppm)

Q2

NA(MC-306_32.768KHz/6pF)

R1
330R

R2

47k

R4

10k

R5

100k

R6

13k/1%

R8

3M

R9

1M/1%

0R

R10

0R(Board_Mounted)

R11

15k

R13
2.2k

R14
47k

R15
2.2k

R16
47k

R17
NA

R18
NA

R19
NA

R20
NA

R23

100k

R24
10k

R25
10k

R26

330R

R27
1k

R28
330R

R29

330R

R31

NA

R32

R33

R34
NA

R35
NA

R36

1.5k

RST

C

A

R

SR1

U1_MAIN

PIC32MZ2048EFG144-I/PH

#MCLR

20

AN2/C2INB/RPB2/RB2

34

AN3/C2INA/RPB3/RB3

31

AN4/C1INB/RB4

26

AN6/RB11

50

AN7/RB12

59

AN8/RB13

60

AN9/RPB14/SCK3/RB14

61

AN10/RPB15/OCFB/RB15

62

AN12/C2IND/RPG8/SCL4/RG8

16

AN13/C1INC/RPG7/SDA4/RG7

15

AN14/C1IND/RPG6/SCK2/RG6

14

AN23/RG15

1

AN25/RPE8/RE8

23

AN26/RPE9/RE9

24

AN32/RPD14/RD14

69

AN33/RPD15/SCK6/RD15

70

AN35/ETXD0/RJ8

7

AN36/ETXD1/RJ9

8

AN37/ERXCLK/EREFCLK/RJ11

27

AN38/ETXD2/RH0

43

AN39/ETXD3/RH1

44

AN40/ERXERR/RH4

65

AN41/ERXD1/RH5

66

AN42/ERXD2/RH6

67

AN45/C1INA/RPB5/RB5

25

CVREFOU T/AN5/RPB10/RB10

49

D+

77

D-

76

EBIA0/PMA0/RJ15

30

EBIA1/PMA1/RK1

51

EBIA2/AN11/C2INC/RPG9/PMA2/RG9

21

EBIA3/PMA3/RK2

52

EBIA4/PMA4/RH7

68

EBIA5/AN34/PMA5/RA5

2

EBIA6/AN22/RPC1/PMA6/RC1

6

EBIA7/AN49/RPB9/PMA7/RB9

48

EBIA8/RPF5/SCL5/PMA8/RF5

91

EBIA9/RPF4/SDA5/PMA9/RF4

90

EBIA10/AN48/RPB8/PMA10/RB8

47

EBIA11/PMA11/RJ14

29

EBIA12/AN21/RPC2/PMA12/RC2

11

EBIA13/PMA13/RJ13

28

EBIA14/PMCS1/PMA14/RA4

87

EBIA15/RPD9/PMCS2/PMA15/RD9

97

EBIA16/RK0

19

EBIA17/RK3

53

EBIA18/RK4

92

EBIA19/RK5

93

EBIA20/RK6

94

EBIA21/RK7

126

EBIA22/RJ3

117

EBIA23/RH15

103

EBIBS0/RJ12

9

EBIBS1/RJ10

10

EBICS0/RJ4

131

EBICS1/RJ5

132

EBICS2/RJ6

133

EBICS3/RJ7

134

EBID0/PMD0/RE0

135

EBID1/PMD1/RE1

138

EBID2/PMD2/RE2

142

EBID3/RPE3/PMD3/RE3

143

EBID4/AN18/PMD4/RE4

144

EBID5/AN17/RPE5/PMD5/RE5

3

EBID6/AN16/PMD6/RE6

4

EBID7/AN15/PMD7/RE7

5

EBID8/RPG0/PMD8/RG0

128

EBID9/RPG1/PMD9/RG1

127

EBID10/RPF1/PMD10/RF1

125

EBID11/RPF0/PMD11/RF0

124

EBID12/RPD12/PMD12/RD12

112

EBID13/PMD13/RD13

113

EBID14/RPD2/PMD14/RD2

110

EBID15/RPD3/PMD15/RD3

111

EBIOE/AN19/RPC4/PMRD/RC4

13

EBIRDY1/SDA2/RA3

86

EBIRDY2/RH11

84

EBIRDY3/RJ2

116

EBIRP/RH2

45

EBIWE/AN20/RPC3/PMWR/RC3

12

ECOL/RH10

83

ECRS/RH12

100

EMDC/RPD11/RD11

99

EMDIO/RJ1

115

ERXD0/RH8

81

ERXD3/RH9

82

ERXDV/ECRSDV/RH13

101

ETXCLK/RPD7/RD7

121

ETXEN/RPD6/RD6

120

ETXERR/RJ0

114

OSCI/CLKI/RC12

71

OSCO/CLKO/RC15

72

PGEC1/AN1/RPB1/RB1

35

PGEC2/AN46/RPB6/RB6

37

PGED1/AN0/RPB0/RB0

36

PGED2/AN47/RPB7/RB7

38

RH3 46

RH14 102

RPA14/SCL1/RA14

95

RPA15/SDA1/RA15

96

RPD0/RTCC/INT0/RD0

104

RPD1/SCK1/RD1

109

RPD10/SCK4/RD10

98

RPF3/U SBID/RF3

78

SCL2/RA2

85

SCL3/RPF8/RF8

80

SDA3/RPF2/RF2

79

SOSCI/RPC13/RC13

105

SOSCO/RPC14/T1CK/RC14

106

SQICS0/RPD4/RD4

118

SQICS1/RPD5/RD5

119

TCK/AN29/RA1

56

TDI/AN30/RPF13/SCK5/RF13

57

TDO/AN31/RPF12/RF12

58

TMS/AN24/RA0

22

TRCLK/SQICLK/RA6

129

TRD0/SQID0/RG13

141

TRD1/SQID1/RG12

140

TRD2/SQID2/RG14

139

TRD3/SQID3/RA7

130

VREF+/CVREF+/AN28/RA10

40

VREF-/CVREF-/AN27/RA9

39

U1_PWR

PIC32MZ2048EFG144-I/PH

AVDD41

AVSS 42

VBU S73

VDD

18

VDD

33

VDD

55

VDD

64

VDD

88

VDD

107

VDD

122

VDD

137

VSS 75

VSS

17

VSS

32

VSS

54

VSS

63

VSS

89

VSS

108

VSS

123

VSS

136

VUSB3V3

74

BATTERY
CHARGER

CE 1

PROG

5

VBAT

3

VDD

4

VSS

2

U2

MCP73812T-420I/OT

EN

4

IN

5

ISET

3

OUT

1

U3

SY6280

EN

1

FB

5

GND

2

IN

4

LX

3

U4

SY8009AAAC(SOT23-5)

1

2

3

4

5

6

7

8

9

10

UEXT

GBH-254-SMT-10

D+

D-

GND

ID

VBU S

USB

USB-OTG

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V

3.3V_AVCC

3.3V_AVCC

3.3V_AVCC

3.3V_AVCC

RESET,TMS,TCK

+5V

+5V_OTG_PWR

+5V_OTG_PWR

+5V_OTG_PWR

AGND

AGND

AREF

AREF

AREF

AREF

CLKI

CLKI

D+

D+

D+

D+

D-

D-

D-

D-

GND

GND

GND

GND

OSC_PWR

OSC_PWR

PGEC2

PGEC2

PGED2

PGED2

RA2/SCL2

RA2/SCL2

RA3/SDA2

RA3/SDA2

RA4/PMA14

RA4/PMA14

RA5/PMA5

RA5/PMA5

RA6

RA6

RA7

RA7

RA9

RA9

RA14

RA14

RA15

RA15

RB0

RB0

RB1

RB1

RB2(OTG_FAULT)

RB2(OTG_FAULT)
RB3

RB3

RB4

RB4

RB5(OTG_EN)

RB5(OTG_EN)

RB8/PMA10

RB8/PMA10

RB9/PMA7

RB9/PMA7

RB10

RB10

RB11

RB11

RB12(BUT)

RB12(BUT)

RB13

RB13

RB14/#SS2

RB14/#SS2

RB15/#SS1

RB15/#SS1

RC1/PMA6

RC1/PMA6

RC2/PMA12

RC2/PMA12

RC3/PMWR

RC3/PMWR

RC4/PMRD

RC4/PMRD

RD0

RD0

RD1/SCK1

RD1/SCK1

RD2/PMD14

RD2/PMD14

RD3/PMD15

RD3/PMD15

RD4

RD4

RD5

RD5

RD6

RD6

RD7/SDI2(MISO2)

RD7/SDI2(MISO2)

RD9/PMA15

RD9/PMA15

RD10

RD10

RD11

RD11

RD12/PMD12

RD12/PMD12

RD13/PMD13

RD13/PMD13

RD14/SDI1(MISO1)

RD14/SDI1(MISO1)

RD15/SDO1(MOSI1)

RD15/SDO1(MOSI1)

RE0/PMD0

RE0/PMD0

RE1/PMD1

RE1/PMD1

RE2/PMD2

RE2/PMD2

RE3/PMD3

RE3/PMD3

RE4/PMD4

RE4/PMD4

RE5/PMD5

RE5/PMD5

RE6/PMD6

RE6/PMD6

RE7/PMD7

RE7/PMD7

RE8/U2TX

RE8/U2TX

RE9/U2RX

RE9/U2RX

RESET

RESET

RESET

RESET

RESET

RESET

RF0/PMD11

RF0/PMD11

RF1/PMD10

RF1/PMD10

RF2

RF2

RF4/PMA9

RF4/PMA9

RF5/PMA8

RF5/PMA8

RF8

RF8

RG0/PMD8

RG0/PMD8

RG1/PMD9

RG1/PMD9

RG6/SCK2

RG6/SCK2

RG7(E_MEASUREMENT)

RG7(E_MEASUREMENT)

RG8/SDO2(MOSI2)

RG8/SDO2(MOSI2)
RG9/PMA2

RG9/PMA2

RG12

RG12

RG13

RG13

RG14

RG14

RG15(V_BAT)

RG15(V_BAT)

RH0

RH0

RH1

RH1

RH2(LED1)

RH2(LED1)
RH3

RH3

RH4

RH4

RH5

RH5
RH6

RH6

RH7/PMA4

RH7/PMA4

RH8

RH8

RH9

RH9

RH10

RH10

RH11

RH11

RH12

RH12

RH13

RH13

RH14

RH14

RH15

RH15

RJ0

RJ0

RJ1

RJ1

RJ2

RJ2
RJ3

RJ3
RJ4

RJ4

RJ5(SD_CP)

RJ5(SD_CP)
RJ6

RJ6

RJ7

RJ7

RJ8

RJ8

RJ9

RJ9

RJ10

RJ10

RJ11

RJ11

RJ12

RJ12

RJ13/PMA13

RJ13/PMA13

RJ14/PMA11

RJ14/PMA11

RJ15/PMA0

RJ15/PMA0

RK0

RK0

RK1/PMA1

RK1/PMA1

RK2/PMA3

RK2/PMA3

RK3

RK3

RK4

RK4

RK5

RK5

RK6

RK6

RK7

RK7

TCK

TCK

TDI

TDI

TDO

TDO

TMS

TMS

USB_ID

USB_ID

USB_ID

USB_ID

Summary of Contents for PIC32-HMZ144

Page 1: ...PIC32 HMZ144 General purpose development board USER S MANUAL Document revision D October 2017 Designed by OLIMEX Ltd 2015 All boards produced by Olimex LTD are ROHS compliant Page 1 of 26 ...

Page 2: ...However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded This document is intended only to assist the reader in the use of the product OLIMEX Ltd shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect us...

Page 3: ... DIAGRAM 15 4 3 MICROCONTROLLER MEMORY MAP 16 CHAPTER 5 CONTROL CIRCUITRY 17 5 1 POWER SUPPLY CIRCUIT 17 5 2 RESET CIRCUIT 18 5 3 CLOCK CIRCUIT 18 CHAPTER 6 JUMPERS CONNECTORS AND INTERFACES 19 6 1 JUMPER DESCRIPTION 19 6 2 INPUT OUTPUT 19 6 3 EXTERNAL CONNECTOR DESCRIPTION 19 6 3 1 ICSP CONNECTOR 19 6 3 2 JTAG ROW 20 6 3 3 UEXT 20 6 3 4 MICROSD CARD 21 CHAPTER 7 AVAILABLE DEMO SOFTWARE 22 7 1 BLI...

Page 4: ...6 x UARTs 6 x SPIs 5 x I2Cs 120 x IO pins 48 channel ADC two analog comparators Ethernet USB OTG JTAG TRACE etc The board has several ready to use interfaces exposed and available on connectors a microSD card connector mini USB connector with OTG functionality ICSP connector for programming and debugging UEXT connector for extension modules user programmable LED user programmable button 100 pinhol...

Page 5: ...r is not capable of powering the board via the ICSP connector then you would need either USB cable 1 or Li Po battery 2 or 5V external power supply 3 1 The USB cable should have male mini USB connector to be able to fit the board s female mini USB connector 2 The battery requires a male DW02R connector CI0102 to fit in the on board female DW02R connector 3 There are only pinholes available on the ...

Page 6: ...nt covers a separate topic organized as follows Chapter 1 is an overview of the board usage and features Chapter 2 contains the general board diagram and layout Chapter 3 provides the schematics and the dimensions of the board Chapter 4 provides a guide for quickly setting up the board and software notes Chapter 5 describes the component that is the heart of the board the Microchip s PIC32MZ2048 p...

Page 7: ...OLIMEX 2017 PIC32 HMZ144 user s manual CHAPTER 2 BOARD DESCRIPTION 2 1 LAYOUT TOP VIEW The picture below shows the top side of the board and highlights the most important parts Page 7 of 26 ...

Page 8: ...OLIMEX 2017 PIC32 HMZ144 user s manual 2 2 PINOUT Page 8 of 26 ...

Page 9: ... SCHEMATIC The schematic of PIC32 HMZ144 is available for reference on the next page The design files are available at our GitHub repository Refer to chapter 8 to find the link to our repository If you are looking for a schematic of an older revision of the board and it isn t available at our web site you may request it by the support e mail Page 9 of 26 ...

Page 10: ... EBID14 RPD2 PMD14 RD2 110 EBID15 RPD3 PMD15 RD3 111 EBIOE AN19 RPC4 PMRD RC4 13 EBIRDY1 SDA2 RA3 86 EBIRDY2 RH11 84 EBIRDY3 RJ2 116 EBIRP RH2 45 EBIWE AN20 RPC3 PMWR RC3 12 ECOL RH10 83 ECRS RH12 100 EMDC RPD11 RD11 99 EMDIO RJ1 115 ERXD0 RH8 81 ERXD3 RH9 82 ERXDV ECRSDV RH13 101 ETXCLK RPD7 RD7 121 ETXEN RPD6 RD6 120 ETXERR RJ0 114 OSCI CLKI RC12 71 OSCO CLKO RC15 72 PGEC1 AN1 RPB1 RB1 35 PGEC2 ...

Page 11: ...OLIMEX 2017 PIC32 HMZ144 user s manual 3 2 PHYSICAL DIMENSIONS Note that all dimensions are in millimeters Page 11 of 26 ...

Page 12: ...C32MZ2048ECG144 which lacked FPU unit The design was upgraded to PIC32MZ2048EFG144 following a number of requests to change the chip since the ECG144 chip was no longer recommended for new products The PIC32MZ family of processors are 32 bit MCUs that pack the following shared features Operating Conditions 2 1V to 3 6V 40ºC to 85ºC DC to 252 MHz 2 1V to 3 6V 40ºC to 125ºC DC to 180 MHz Core 200 MH...

Page 13: ...ripheral and memory region access control Direct Memory Access DMA Eight channels with automatic data size detection Programmable Cyclic Redundancy Check CRC Advanced Analog Features 12 bit ADC module 18 Msps with up to six Sample and Hold S H circuits five dedicated and one shared Up to 48 analog inputs Can operate during Sleep and Idle modes Multiple trigger sources Six Digital Comparators and s...

Page 14: ...d Class B Support Class B Safety Library IEC 60730 Back up internal oscillator Debugger Development Support In circuit and in application programming 4 wire MIPS Enhanced JTAG interface Unlimited software and 12 complex breakpoints IEEE 1149 2 compatible JTAG boundary scan Non intrusive hardware based instruction trace Software and Tools Support C C compiler with native DSP fractional support MPLA...

Page 15: ...4 2 MICROCONTROLLER BLOCK DIAGRAM A block diagram with main functional parts of the microcontroller as seen in the official Microchip documentation Page 15 of 26 ...

Page 16: ...4 3 MICROCONTROLLER MEMORY MAP The microcontroller s memory regions as seen in the official Microchip documentation Page 16 of 26 ...

Page 17: ...B 5V to pin 1 of the EXT2 connector The board can be powered by external power supply adapter capable of providing 5V of voltage You should connect the 5V wire to pin 1 of EXT2 connector You also need to connect the ground wire to pin 2 of the same EXT2 connector The names of the pins are printed at the bottom of the board Different methods of powering would lead to different maximum current avail...

Page 18: ...on consists of RC group R24 10kΩ and C35 100nF Serial resistor R26 330Ω is used to prevent fast C35 charge and discharge when PIC32MZ2048 is being programmed Manual reset is possible by the RESET button 5 3 CLOCK CIRCUIT Oscillator CD1 24MHz handles the clocks Previous hardware revisions used crystals due to the different chip Make sure to refer to the errata sheets the chips if you investigating ...

Page 19: ...available Cannot be programmed 6 3 EXTERNAL CONNECTOR DESCRIPTION In this sub chapter you would find the pinout of the most interfaces It is also a good practice 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 d...

Page 20: ...ally mounted on Olimex boards They pack three common interfaces in a single connector UART I2C and SPI You can use the UEXT connector to access this interfaces easier via jumper wires for example You can also connect expansion modules to the UEXT connectors More on UEXT might be found here https www olimex com Products Modules UEXT Pin Wire name 1 3 3V 2 GND 3 RE8 U2TX 4 RE9 U2RX 5 RA2 SCL2 6 RA3 ...

Page 21: ...6 3 4 MICROSD CARD Pin Wire name 1 MCIDAT2 2 RB14 SS2 3 RG8 SDO2 MOSI2 4 VDD 3 3 V 5 AC1TX SCK3A 6 GND 7 MISO3A 8 MCIDAT1 9 Card presence 10 Not Connected 11 Not Connected 12 Not Connected Page 21 of 26 ...

Page 22: ...le you need to use a USB serial cable like Olimex USB SERIAL CABLE F or MOD USB RS232 to the UART pins of the UEXT pin 3 is TX pin 4 is RX In order to switch between the different demos push the button Upon reset a fast external clock test will be done to ensure that the clock is OK After that SD card demo would start start It will read a file on the SD card with the name FILE_TOO_LONG_NAME_EXAMPL...

Page 23: ... all configs available in order to be initialized But having all of them in the project would make the archive too big So in the archive are left only the libraries that are necessary for rebuilding So if you want to change the configurations from MHC you have to copy the project inside the Microchip harmony directory apps usb device and then open the MHC from MPLABX Page 23 of 26 ...

Page 24: ...ATTERY LIPO1400 a standard Li Po battery equipped with a connector that fits the one located on PIC32 HMZ144 Olimex sells a range of such batteries with different capacity JW 200x10 jumper wires with male male connectors and 240mm of length perfect for breadboarding there are different lengths and configurations of connectors m m f m f f You can also find a big number of extension boards that can ...

Page 25: ...C1 1 The main processor was changed from PIC32MZ2048ECG144 I PH to PIC32MZ2048EFG144 I PH the ECG was declared not recommended for new designs by Microchip 2 R36 was changed from 10k to 1 5k 3 Removed quartz Q1 Q1 C29 C32 and R30 were changed to NA this is because of the errata sheets of both chips Refer to 4 4 Added oscillator CD1 instead CD1 is 24MHz oscillator 5 Q2 C30 and C31 were changed to N...

Page 26: ...ms are allowed subject to a 10 restocking fee What is unaffected If you hooked it to power you affected it To be clear this includes items that have been soldered to or have had their firmware changed Because of the nature of the products we deal with prototyping electronic tools we cannot allow returns of items that have been programmed powered up or otherwise changed post shipment from our wareh...

Page 27: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Olimex Ltd PIC32 HMZ144 ...

Reviews: