Nuvoton NuMicro M032 Series User Manual Download Page 1

NuMaker-M032KI

 

 

Sep. 

24, 2019 

Page 

1

 of 47 

Rev 1.00 

N

UMA

K

E

R

-M0
32
K

I U

S

E

R

 MA
NU

A

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

 

 

ARM

®

 Cortex

®

-M 

32-bit Microcontroller

 

 

 

 

 

NuMaker-M032KI 

User Manual  

NuMicro

®

 M032 Series 

 

 

 

 

 

 

The information described in this document is the exclusive 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 microcontroller based system 

design. Nuvoton assumes no responsibility for errors or omissions. 

All data and specifications are subject to change without notice. 

 

For additional information or questions, please contact: Nuvoton Technology Corporation.  

www.nuvoton.com

 

 

Summary of Contents for NuMicro M032 Series

Page 1: ...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 microcontroller based s...

Page 2: ...8 2 5 3 3 3 V Power Sources 18 2 5 4 1 8V Power Sources 19 2 5 5 Power Connectors 19 2 5 6 USB Connectors 19 2 5 7 Power Switches 19 2 5 8 Power Supply Models 20 2 5 9 External Reference Voltage Conne...

Page 3: ...NuMaker M032KI Sep 24 2019 Page 3 of 47 Rev 1 00 NUMAKER M032KI USER MANUAL M m U 4 NuMaker M032KI Schematics 43 Nu Link2 Me 43 M032 platform 44 Extension Connector 45 5 REVISION HISTORY 46...

Page 4: ...Function 28 Figure 3 4 ICE USB Connector 28 Figure 3 5 Device Manger 29 Figure 3 6 PuTTY Session Setting 29 Figure 3 7 Template Project Folder Path 30 Figure 3 8 Warning Message of Device not found 3...

Page 5: ...e 3 26 Debugger Tab Configuration 40 Figure 3 27 Startup Tab Configuration 41 Figure 3 28 NuEclipse Debug Mode 42 Figure 3 29 Debug Message on Serial Port Terminal Windows 42 Figure 4 1 Nu Link2 Me Ci...

Page 6: ...e 18 Table 2 4 5V Power Sources 18 Table 2 5 3 3 V Power Sources 18 Table 2 6 1 8V Power Sources 19 Table 2 7 Power Connectors 19 Table 2 8 USB Connectors 19 Table 2 9 Power Switches 19 Table 2 10 Sup...

Page 7: ...microcontroller s power consumption during development The Nu Link2 Me is a debugger and programmer that supports on line programming and debugging through SWD interface The on board 16 Mbit SPI Flash...

Page 8: ...f 47 Rev 1 00 NUMAKER M032KI USER MANUAL Maker Nu mbed NUC472 User Manual ICE USB connector on Nu Link2 Me On board Nu Link2 Me debugger and programmer Debug through SWD interface On line off line pro...

Page 9: ...2 1 Front View of NuMaker M032KI Figure 2 1 shows the main components and connectors from the front side of NuMaker M032KI The following lists components and connectors from the front view Target Chip...

Page 10: ...Rear View Figure 2 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 ICEJ...

Page 11: ...A 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 D1 I...

Page 12: ...1 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 N U 1 NU1 8 VIN NU3 8 D7 PA 6 NU1 7 VSS N U 3 NU4 1 D...

Page 13: ...Extension Connectors The NuMaker M032KI provides the M032KIAAE target chip onboard and full pins extension connectors JP3 JP4 JP5 and JP6 The Figure 2 4 shows the M032KIAAE extension connectors JP3 P...

Page 14: ...PWM1_CH5 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...

Page 15: ...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_RXD I2C1_SDA PWM1...

Page 16: ...AD5 UART6_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_CT...

Page 17: ...14 ADC0_CH14 EBI_AD13 SPI0_CLK USCI0_DAT1 UART0_nRTS UART3_RXD PWM1_CH1 T M1_EXT CLKO JP6 22 118 PB 13 ADC0_CH13 ACMP0_P3 ACMP1_P3 EBI_AD14 SPI0_MISO USCI0_DAT0 UART0_TXD UA RT3_nRTS PWM1_CH2 TM2_EXT...

Page 18: ...2 USB_VBUS USB connector on NuMaker M032KI supplies 5 V power from PC to M032 platform and Nu Link2 Me NU1 pin5 NU1_5VCC ICEJ3 J2 or NU1 pin8 supplies 5 V power to NU1 pin5 NU1 pin5 supplies 5 V power...

Page 19: ...he NuMaker M032KI JP2 VSS connector on the NuMaker M032KI Table 2 7 Power Connectors 2 5 6 USB Connectors Table 2 8 presents the USB connectors Connector Comment ICEJ3 ICE USB connector on Nu Link2 Me...

Page 20: ...operating voltage 3 Switch the SW2 to OFF 4 Connect the external power supply to ICEJ3 Table 2 10 presents all power models when supplies external power through Nu Link2 Me The Nu Link2 Me external p...

Page 21: ...he external power supply to Vin or J2 To use JP1 as external power supply source please follow the below steps 1 Switch the SW2 to OFF 2 Remove the resistor on ICEJPR1 MCUVCC 3 Solder the resistor on...

Page 22: ...VCC 3 3 V output Remove resistor 3 3 V 3 3 V 6 5 V 7 V 12 V Input X Ignore NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 7 5 V X Connect to PC Ignore NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V...

Page 23: ...onnector 2 5 10 Ammeter Connector Table 2 13 presents the ammeter connector Connector Comment AMMETER Connector for user to easily measure the target chip power consumption User needs to remove the R1...

Page 24: ...u Link2 Me status LED Table 2 16 LEDs Nu Link2 Me The Nu Link2 Me is a debugger and programmer that supports on line programming and debugging through SWD interface The on board 16 Mbit SPI Flash allo...

Page 25: ...Sep 24 2019 Page 25 of 47 Rev 1 00 NUMAKER M032KI USER MANUAL M m U PCB Placement Figure 2 9 and Figure 2 10 show the front and rear placement of NuMaker M032KI Figure 2 9 Front Placement Figure 2 10...

Page 26: ...EWARM NuEclipse GCC Windows NuEclipse GCC Linux Nuvoton Nu Link Driver Installation Download and install the latest Nuvoton Nu Link Driver Download and install Nu Link_Keil_Driver when using Keil MDK...

Page 27: ...NuMaker M032KI Sep 24 2019 Page 27 of 47 Rev 1 00 NUMAKER M032KI USER MANUAL M m U Figure 3 2 Nu Link USB Driver Installation...

Page 28: ...he Board Support Package BSP Hardware Setup 1 Open the virtual COM VCOM function by changing Nu Link2 Me VCOM Switch No 1 and 2 to ON Figure 3 3 Open VCOM Function 2 Connect the ICE USB connector show...

Page 29: ...v 1 00 NUMAKER M032KI USER MANUAL M m U Figure 3 5 Device Manger 4 Open a serial port terminal PuTTY for example to print out debug message Set the speed to 115200 Figure 3 6 presents the PuTTY sessio...

Page 30: ...the Project under Toolchains Open and execute the project under the toolchain The section 3 6 1 0 and 3 6 3 describe the steps of executing project in Keil MDK IAR EWARM and NuEclipse respectively 3...

Page 31: ...Project File Migrate to Version 5 Format 2 Make sure the debugger is Nuvoton Nu Link Debugger as shown in Figure 3 10 and Figure 3 11 Note If the dropdown menu in Figure 3 10 does not contain Nuvoton...

Page 32: ...compile the project download code to the flash memory Click Start Stop Debug Section button can enter debug mode 1 3 2 4 1 Rebuild 3 Download 4 Start Stop Debug 2 Successfully compile Figure 3 12 Com...

Page 33: ...UMAKER M032KI USER MANUAL M m U source code assembly language peripherals registers and setting breakpoint step run value monitor etc 2 Stop 3 1 2 1 Run 3 Reset Figure 3 13 Keil MDK Debug Mode Figure...

Page 34: ...ww to open the project 2 Make sure the toolbar contain Nu Link item as shown in Figure 3 15 Note If the toolbar does not contain Nu Link item please rework section 3 2 Figure 3 15 IAR EWARM Window 3 M...

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

Page 36: ...to beginners on how to run a project by using NuEclipse Please make sure the filenames and project folder path contain neither invalid character nor space 1 Double click NuEclipse exe to open the too...

Page 37: ...2KI USER MANUAL M m U 7 6 5 Figure 3 20 Import Projects Windows 3 Click the Template project and find the project properties as shown in Figure 3 21 Make sure the settings are the same as settings in...

Page 38: ...24 2019 Page 38 of 47 Rev 1 00 NUMAKER M032KI USER MANUAL Maker Nu mbed NUC472 User Manual 1 2 3 Figure 3 22 Project Properties Settings 4 Click the Template project and build the project 1 2 3 Figure...

Page 39: ...he Debug Configuration as shown in Figure 3 24 Follow the settings presented in Figure 3 25 Figure 3 26 and Figure 3 27 to enter debug mode 1 3 2 Figure 3 24 Open Debug Configuration 1 2 Note 1 Double...

Page 40: ...NuMaker M032KI Sep 24 2019 Page 40 of 47 Rev 1 00 NUMAKER M032KI USER MANUAL Maker Nu mbed NUC472 User Manual Figure 3 25 Main Tab Configuration 3 4 Figure 3 26 Debugger Tab Configuration...

Page 41: ...9 Page 41 of 47 Rev 1 00 NUMAKER M032KI USER MANUAL M m U 5 7 8 Note 1 Users must follow those settings highlighted in green Note 2 Users can configure other settings depend on the needs Figure 3 27 S...

Page 42: ...in Figure 3 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...

Page 43: ...ICEC10 20p C0603 ICEC11 20p C0603 12M Crystal ICEX1 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...

Page 44: ...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_CTL1 UART2_TXD PWM...

Page 45: ...nector 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...

Page 46: ...NuMaker M032KI Sep 24 2019 Page 46 of 47 Rev 1 00 NUMAKER M032KI USER MANUAL Maker Nu mbed NUC472 User Manual 5 REVISION HISTORY Date Revision Description 2019 09 24 1 00 1 Initially issued...

Page 47: ...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 systems designed fo...

Reviews: