background image

NuMaker-HMI-M032KI

 

 

May 25, 2022 

Page 

55

 of 58 

Rev 1.00 

N

UMA

K

E

R

-HMI

-M

03
2

K

I U

S

E

R

 M
A

NUA

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

8.3 

Extension Connectors 

Figure 8-3 shows extension connectors of NuMaker-M032KI. 

 

Figure 8-3 Extension Connectors Circuit  

 

P2
P4
P6
P8
P10
P12
P14
P16
P18
P20
P22
P24
P26
P28
P30
P32

PC13

PG2

PG3

PG4

PF11

PF10

PF9

PF8

PH4

PH5

Ph6

PH7

GND

VDD_MCU

PG9

PG10

PG11

PG12

PG13

PG14

PG15

GND

VDD_MCU

P36

P34

PH8

PH9

PH10

PH11

P44

P42

P40

P38

P46

PD14

P48
P50

P54

P52

P56
P58
P60
P62
P64

PA5_NU3_D8

PA4_NU3_D9

PC4_NU3_D2

PC5_NU3_D3

PA6_NU3_D7
PA7_NU3_D6

P35

P33

P43

P41

P39

P37

P45

PC2_NU3_D5
PC3_NU3_D4

P47
P49

P53

P51

P55
P57
P59
P61
P63

VDD

P65 - P96

JP4

HEADER 2.54 16X2 (NC)

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

JP6

HEADER 2.54 16X2 (NC)

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

VDD

P97 - P128

P99

P97

P107

P105

P103

P101

P109
P111
P113

P117

P115

External Connector

P119
P121
P123
P125
P127

P67

P65

P75

P73

P71

P77
P79
P81

P85

P83

P87
P89
P91
P93
P95

UNO Interface

P33 - P64

P1 - P32

P1

P5
P7

P3

P9
P11
P13
P15
P17
P19
P21
P23
P25
P27
P29
P31

JP3

HEADER 2.54 16X2 (NC)

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

JP5

HEADER 2.54 16X2 (NC)

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

PB5_NU2_A2

PB4_NU2_A3

PB3_NU3_D1/TX

Tit le

Size

Docum ent   Num ber

Rev

Dat e:

Sheet

of

NuMaker-M032KI

v1.0

Ext. Connector

Custom

3

3

Wednesday , June 26, 2019

PB2_NU3_D0/RX

PC12
PC10

PB1_NU2_A5/SCL/TX

PC11
PC9
PB0_NU2_A4/SDA/RX

GND

VDD_MCU

PA11_NU5_CLK

PA10_NU5_MOSI

PA9_NU5_MISO

PA8_NU5_SS
PD12

PD11

PD10

PF7
PF14
PF4_X32_OUT

PF5_X32_IN

PF6

PE12

PC8

PE15

PC6

PA5_NU3_D8

PA3_NU3_D10/SS

PA1_NU3_D12/MISO

PF15

VDD_MCU

PA6_NU3_D7

PF3_XT1_IN

PF2_XT1_OUT

PE8

PE9

PE10

PE11
PE13
PC7
PA7_NU3_D6

GND

PD15
PA4_NU3_D9
PA2_NU3_D13/CLK
PA0_NU3_D11/MOSI
PE14
TICERST

TICECLK
PD8

P86

P82

P88

P84

P94

P92

P90

P66

P96

P72

P70

P69

P68

P76

P74

P80

P78

TICEDAT

PD9

PC3_NU3_D4

PC2_NU3_D5

PD2
PD0

PC0_NU4_SDA

PC1_NU4_SCL

USB_VBUS

PC5_NU3_D3

PD3
PD1

PC4_NU3_D2

USB_D-

USB_D+

USB_VDD33_CAP

GND

VDD_MCU

PD6
PD4

PD7
PD5

PD13

NU5

header 2.54 2X4 

(

正面

)

SPI0_MISO

1

VCC

2

SPI0_CLK

3

SPI0_MOSI

4

RESET

5

GND

6

SPI0_SS

7

GPIO

8

NU1

HEADER 2.54 8X1 f emale

NC

1

VDD

2

MCU_RESET

3

3VCC

4

5VCC

5

VSS

6

VSS

7

VIN

8

NU3

HEADER 2.54 8X1 f emale

D0

1

D1

2

D2

3

D3

4

D4

5

D5

6

D6

7

D7

8

NU4

HEADER 2.54 10X1 f emale

D8

1

D9

2

D10

3

D11

4

D12

5

D13

6

VSS

7

VREF

8

I2C_SDA

9

I2C_SCL

10

NU2

HEADER 2.54 6X1 f emale

A0

1

A1

2

A2

3

A3

4

A4/SDA

5

A5/SCL

6

TICERST

GND
GND

PB7_NU2_A0

PB5_NU2_A2

PB6_NU2_A1

PB4_NU2_A3

PB1_NU2_A5/SCL/TX

PB0_NU2_A4/SDA/RX

PC1_NU4_SCL
PC0_NU4_SDA

GND

VREF

PA2_NU3_D13/CLK

PA3_NU3_D10/SS

PA1_NU3_D12/MISO
PA0_NU3_D11/MOSI

PB3_NU3_D1/TX
PB2_NU3_D0/RX

TICERST

PA9_NU5_MISO

PA8_NU5_SS

PA11_NU5_CLK

PA10_NU5_MOSI
GND
PB15_NU5_GPIO

NU1_3VCC
NU1_5VCC

NU1_VIN

PB14_LED_R

PB9

PB8

PB7_NU2_A0

GND

LDO_CAP

VDD_MCU

PB11

PB10

AVDD

VREF

AVSS

PC14

PB15_NU5_GPIO

MCU_RX

MCU_TX

P114

P118

P116

P120
P122
P124
P126
P128

P98
P100
P102
P104
P106
P108
P110
P112

PE7

PE6

PE5

PE4

PE3

PE2

PE1

PE0

PB6_NU2_A1

Summary of Contents for NuMaker-HMI-M032K

Page 1: ...e intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton Nuvoton is providing this document only for reference purposes of NuMicro microcon...

Page 2: ...CONFIGURATION 16 4 1 Front View 16 4 2 Rear View 17 4 3 Extension Connectors 18 Pin Assignment for Extension Connectors 18 Arduino UNO Compatible Extension Connectors 23 4 4 Power Supply Configuration...

Page 3: ...oolchains 38 Keil MDK 38 IAR EWARM 42 NuEclipse 44 6 EMWIN GUI LIBRARY PACKAGE QUICK START 50 6 1 emWin GUI Library Package Download 50 6 2 Find the M032 emWin Quick Start Guide 50 7 NUTFT KIT BOARD S...

Page 4: ...I 29 Figure 4 8 Wiring between Ammeter Connector and Ammeter 31 Figure 5 1 Nu Link USB Driver Installation Setup 34 Figure 5 2 Nu Link USB Driver Installation 35 Figure 5 3 Open VCOM Function 36 Figur...

Page 5: ...ion 47 Figure 5 27 Startup Tab Configuration 48 Figure 5 28 NuEclipse Debug Mode 49 Figure 5 29 Debug Message on Serial Port Terminal Windows 49 Figure 6 1 M032 emWin Quick Start Guide Folder Path 50...

Page 6: ...xtension Connectors and M032KIAAE Mapping GPIO List 24 Table 4 4 Vin Power Source 25 Table 4 5 5 V Power Sources 25 Table 4 6 3 3 V Power Sources 26 Table 4 7 1 8 V Power Sources 26 Table 4 8 Power Co...

Page 7: ...ports virtual COM VCOM port for printing debug messages on PC Besides the programming status could be shown on the built in LEDs Lastly the Nu Link2 Me could be detached from the evaluation board and...

Page 8: ...NuMaker HMI M032KI May 25 2022 Page 8 of 58 Rev 1 00 NUMAKER HMI M032KI USER MANUAL Maker Nu mbed NUC472 User Manual Figure 1 2 NuMaker M032KI Board Figure 1 3 NuMaker HMI M032KI...

Page 9: ...Micro M032KIAAE used as main microcontroller with function compatible with M032KIAAE M032SIAAE M032KIAAE full pins extension connectors Arduino UNO compatible extension connectors Ammeter connector fo...

Page 10: ...1 Front View of NuTFT Kit Board Figure 3 1 shows the main components and connectors from the front side of NuTFT Kit Board The following lists components and connectors from the front view Five Direc...

Page 11: ...d connectors from the rear view 16 Mbits 2 MB SPI Flash 1 W25Q16CV U1 Arduino UNO Compatible Interface Connectors NU1 NU2 NU5 NU6 and NU7 SPI Flash Arduino compatible interface connectors Arduino comp...

Page 12: ...tion joystick and two push buttons for developing and verifying some special feature Besides the pin arrangement of NuTFT Kit Board is compatible with Arduino UNO NC NC NC 3 3V NC GND GND NC ADC YU AD...

Page 13: ...SO GPIO GND LCM_SPI_MOSI 3 3V NC NC NC 3 3V NC GND GND NC ADC YU ADC XL ADC YD ADC XR Button SW7 Button SW8 NC NC NC VSS SPIFlash CLK SPIFlash MISO0 SPIFlash MOSI0 SPIFlash SS SPIFlash MOSI1 SPIFlash...

Page 14: ...nel by switching the SPI Flash SS0 D10 and LCM_SPI_SS Header Arduino UNO Pin Define NuMaker Pin Define NuTFT Kit Board Function NU1 NC NC NC IOREF IOREF NC RESET RESET NC 3 3V 3 3V Power for NuTFT Kit...

Page 15: ...MOSI1 D10 D10 SPI0 SPI Flash SS0 D11 D11 SPI0 SPI Flash MOSI0 D12 D12 SPI0 SPI Flash MISO0 D13 D13 SPI0 SPI Flash CLK0 GND GND GND AREF AREF NC SDA SDA NC SCL SCL NC NU7 D12 SPI_MISO SPI1 LCM_SPI_MISO...

Page 16: ...rnal VREF Connector Figure 4 1 Front View of NuMaker M032KI Figure 4 1 shows the main components and connectors from the front side of NuMaker M032KI The following lists components and connectors from...

Page 17: ...w Figure 4 2 shows the main components and connectors from the rear side of NuMaker M032KI The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch ICEJPR1 ICEV...

Page 18: ...extension connectors on the NuMaker M032KI NU1 NU2 NU3 and NU4 Arduino UNO compatible pins on the NuMaker M032KI Table 4 1 Extension Connectors Pin Assignment for Extension Connectors The NuMaker M03...

Page 19: ...PWM0_BRAKE1 JP3 11 11 VSS JP3 12 12 VDD JP3 13 13 PA 11 ACMP0_P0 EBI_nRD USCI0_CLK UART6_TXD BPWM0_CH0 TM0_EXT JP3 14 14 PA 10 ACMP1_P0 EBI_nWR USCI0_DAT0 UART6_RXD BPWM0_CH1 TM1_EXT JP3 15 15 PA 9 E...

Page 20: ...TM0 INT3 JP5 17 49 PC 6 EBI_AD8 UART4_RXD UART0_nRTS UART6_RXD PWM1_CH3 BPWM1_CH1 TM1 INT2 JP5 18 50 PA 7 EBI_AD7 UART0_TXD I2C1_SCL PWM1_CH4 BPWM1_CH2 ACMP0_WLAT TM2 INT1 JP5 19 51 PA 6 EBI_AD6 UART0...

Page 21: ..._RXD BPWM0_CH0 JP4 19 83 PG 15 CLKO ADC0_ST JP4 20 84 PD 7 UART1_TXD I2C0_SCL USCI1_CLK JP4 21 85 PD 6 UART1_RXD I2C0_SDA USCI1_DAT1 JP4 22 86 PD 5 I2C1_SCL USCI1_DAT0 JP4 23 87 PD 4 USCI0_CTL0 I2C1_S...

Page 22: ...E1 JP6 21 117 PB 14 ADC0_CH14 EBI_AD13 SPI0_CLK USCI0_DAT1 UART0_nRTS UART3_RXD PWM1_CH1 TM1_EXT CLKO JP6 22 118 PB 13 ADC0_CH13 ACMP0_P3 ACMP1_P3 EBI_AD14 SPI0_MISO USCI0_DAT0 UART0_TXD UA RT3_nRTS P...

Page 23: ...H2 PA 3 D10 SPI0_MOSI PWM0_CH5 PA 0 D11 SPI0_MISO PWM0_CH4 PA 1 D12 SPI0_CLK PWM0_CH3 PA 2 D13 VSS VSS VREF VREF I2C0_SDA PC 0 SDA I2C0_SCL PC 1 SCL UART1_RXD PWM0_CH3 PB 2 D0 UART1_TXD PWM0_CH2 PB 3...

Page 24: ...2 D1 PB 3 NU2 5 A4 PB 0 NU3 3 D2 PC 4 NU2 4 A3 PB 4 NU3 4 D3 PC 5 NU2 3 A2 PB 5 NU3 5 D4 PC 3 NU2 2 A1 PB 6 NU3 6 D5 PC 2 NU2 1 A0 PB 7 NU3 7 D6 PA 7 NU1 NU1 8 VIN NU3 8 D7 PA 6 NU1 7 VSS NU4 NU4 1 D...

Page 25: ...power source with voltage range from 7 V to 12 V The voltage regulator UP2 converts the NU1 pin8 input voltage to 5 V and supplies it to NU1_5VCC Table 4 4 Vin Power Source 5 V Power Sources Table 4 5...

Page 26: ...hed to ON UP1 NU1_5VCC UP1 converts NU1_5VCC to 3 3 V and supplies 3 3 V to M032KI target board Note SW2 2 NU1 3VCC should be switched to ON Table 4 6 3 3 V Power Sources 1 8 V Power Sources Table 4 7...

Page 27: ...he target chip operating voltage at 1 8 V 3 3 V 5 V Note M032 operating voltage range is from 1 8 V to 3 6 V Do not switch ICEJPR1 MCUVCC to 5 V ICEJPR2 Configures the ICE chip operating voltage at 1...

Page 28: ...V Off 1 8 V output 2 3 3 V Connect to PC 3 3 V default 3 3 V default 3 3 V Off 3 3 V output 3 5 V Connect to PC 5 V 3 3 V default 3 3 V Off 5 V output Note 1 0 should be soldered between ICEJPR1 s MC...

Page 29: ...ith Nu Link2 Me detached from NuMaker M032KI please follow the steps below Switch the SW2 depending on the target chip operating voltage Detach the Nu Link2 Me from NuMaker M032KI Connect the external...

Page 30: ...2 V Input NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 7 5 V Connect to PC NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 8 1 8 V 3 6 V Connect to PC OFF DC Input 1 8 V 3 6 V Remove resistor 1 8 V...

Page 31: ...nal Reference Voltage Connector 4 6 Ammeter Connector Table 4 14 presents the ammeter connector Connector Description AMMETER Connector for user to measure the target chip power consumption easily Use...

Page 32: ...lso supports virtual COM port VCOM for printing debug messages on PC Besides the programming status could be shown on the built in LEDs Lastly the Nu Link2 Me could be detached from the evaluation boa...

Page 33: ...Me is selected to connect Flash x 3 Flash x 3 Flash x 3 On ICE online Not connected to a target chip On Flash x 3 Flash x 3 ICE online Connected to a target chip On On ICE online Failed to connect to...

Page 34: ...23 IAR EWARM NuEclipse GCC for Windows NuEclipse GCC for Linux 5 2 Nuvoton Nu Link Driver Installation Download and install the latest Nuvoton Nu Link Driver Download and install Nu Link_Keil_Driver w...

Page 35: ...NuMaker HMI M032KI May 25 2022 Page 35 of 58 Rev 1 00 NUMAKER HMI M032KI USER MANUAL M m U Figure 5 2 Nu Link USB Driver Installation...

Page 36: ...P Firmware Download Download and unzip the Board Support Package BSP 5 4 Hardware Setup Open the virtual COM VCOM function by changing Nu Link2 Me VCOM Switch No 1 and 2 to ON Figure 5 3 Open VCOM Fun...

Page 37: ...NUAL M m U Find the Nuvoton Virtual COM Port on the Device Manger as Figure 5 5 Figure 5 5 Device Manger Open a serial port terminal PuTTY for example to print out debug message Set the speed to 11520...

Page 38: ...5 6 Execute the Project under Toolchains Open and execute the project under the toolchain The section 5 6 1 5 6 2 and 5 6 3 describe the steps of executing project in Keil MDK IAR EWARM and NuEclipse...

Page 39: ...e 5 9 Project File Migrate to Version 5 Format Make sure the debugger is Nuvoton Nu Link Debugger as shown in Figure 5 10 and Figure 5 11 2 1 Figure 5 10 Debugger Setting in Options Window Note If the...

Page 40: ...Figure 5 11 Programming Setting in Options Window Rebuild all target files After successfully compiling the project download code to the Flash memory Click Start Stop Debug Section button to enter deb...

Page 41: ...Run and the debug message will be printed out as shown in Figure 5 14 User can debug the project under debug mode by checking source code assembly language peripherals registers and setting breakpoint...

Page 42: ...w to open the project Make sure the toolbar contains Nu Link item as shown in Figure 5 15 Note If the toolbar does not contain Nu Link item please rework section 5 2 Figure 5 15 IAR EWARM Window Make...

Page 43: ...Go and the debug message will be printed out as shown in Figure 5 18 User can debug the project under debug mode by checking source code assembly language peripherals registers and setting breakpoint...

Page 44: ...the filenames and project folder path contain neither invalid character nor space Double click NuEclipse exe to open the toolchain Import the Template project by following the steps presented in Figu...

Page 45: ...M032KI USER MANUAL M m U Click the Template project and find the project properties as shown in Figure 5 21 Make sure the settings are the same as settings in Figure 5 22 1 2 3 Figure 5 21 Open Projec...

Page 46: ...k the Template project and build the project 1 2 3 Figure 5 23 Build Project After the project is built click the Template project and set the Debug Configuration as shown in Figure 5 24 Follow the se...

Page 47: ...KI USER MANUAL M m U 4 1 5 2 Note 1 Double click the GDB Nuvoton Nu Link Debugging to create the sub item Note 2 After the project is built the elf file will be shown in C C Application frame Figure 5...

Page 48: ...of 58 Rev 1 00 NUMAKER HMI M032KI USER MANUAL Maker Nu mbed NUC472 User Manual 8 10 11 9 1 Note User must follow those settings highlighted in green and configure other settings depending on the needs...

Page 49: ...5 29 User can debug the project under debug mode by checking source code assembly language peripherals registers and setting breakpoint step run value monitor etc For more information about how to use...

Page 50: ...GUI Library Package Download Download and unzip the emWin GUI Library Package to Board Support Package BSP 6 2 Find the M032 emWin Quick Start Guide The M032 emWin Quick Start Guide pdf can be found...

Page 51: ...CM_SPI_CLK LCM_SPI_SS LCM_RESET Joy Stick_U Joy Stick_R NU7 HEADER 4X2 f emale SMD HEADER4X2_2 54_SMD LCM_SPI_MISO 1 3 3V 2 LCM_SPI_CLK 3 LCM_SPI_MOSI 4 LCM_Panel_RESET 5 GND 6 LCM_SPI_SS 7 GPIO 8 3VC...

Page 52: ...e 52 of 58 Rev 1 00 NUMAKER HMI M032KI USER MANUAL Maker Nu mbed NUC472 User Manual 7 2 PCB Placement Figure 7 2 and Figure 7 3 show the front and rear placement of NuTFT Kit Board Figure 7 2 Front Pl...

Page 53: ...12MHz SMD X3225B 1 XIN 2 GND 4 GND 3 XOUT 3 3V SPIM_MISO0 ICEU2 W25Q16JVSSIQ SOP8 5 23 1 27MM CS 1 DO 2 WP 3 GND 4 DI 5 CLK 6 HOLD 7 VCC 8 3 3V SPI FLASH ICEC12 0 1u C0603 SN74LV2T45DCUR ICEU4 SOP8 3...

Page 54: ...TM3 INT5 30 PF 5 PWM0_CH0 BPWM0_CH4 X32_IN ADC0_ST 31 PF 4 PWM0_CH1 BPWM0_CH5 X32_OUT 32 PH 4 33 PH 5 34 PH 6 35 PH 7 36 PF 3 XT1_IN BPWM1_CH0 37 PF 2 XT1_OUT BPWM1_CH1 38 VSS 39 VDD 40 PE 8 USCI1_CTL...

Page 55: ...xt Connector Custom 3 3 Wednesday June 26 2019 PB2_NU3_D0 RX PC12 PC10 PB1_NU2_A5 SCL TX PC11 PC9 PB0_NU2_A4 SDA RX GND VDD_MCU PA11_NU5_CLK PA10_NU5_MOSI PA9_NU5_MISO PA8_NU5_SS PD12 PD11 PD10 PF7 PF...

Page 56: ...ge 56 of 58 Rev 1 00 NUMAKER HMI M032KI USER MANUAL Maker Nu mbed NUC472 User Manual 8 4 PCB Placement Figure 8 4 and Figure 8 5 show the front and rear placement of NuMaker M032KI Figure 8 4 Front Pl...

Page 57: ...NuMaker HMI M032KI May 25 2022 Page 57 of 58 Rev 1 00 NUMAKER HMI M032KI USER MANUAL M m U 9 REVISION HISTORY Date Revision Description 2022 03 25 1 00 Initial version...

Page 58: ...re usage includes but is not limited to equipment for surgical implementation atomic energy control instruments airplane or spaceship instruments the control or operation of dynamic brake or safety sy...

Reviews: