Summary of Contents for Nuvoton NuMicro M032 Series
Page 1
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.
Page 4
NuMaker-M032KG List of Figures Figure 1-1 NuMaker-M032KG Board ....................6 Figure 2-1 Front View of NuMaker-M032KG ................... 8 Figure 2-2 Rear View of NuMaker-M032KG ..................9 Figure 2-3 Arduino UNO Compatible Extension Connectors ............10 Figure 2-4 M032KG8AE Extension Connectors ................12 Figure 2-5 External Power Supply Sources on Nu-Link2-Me ............
Page 5
NuMaker-M032KG List of Tables Table 2-1 Arduino UNO Extension Connectors and M032KG8AE Mapping GPIO List ....11 Table 2-2 M032KG8AE Full-pin Extension Connectors and GPIO Function List ......16 Table 2-3 Vin Power Source ......................17 Table 2-4 5V Power Sources ......................17 Table 2-5 3.3 V Power Sources .....................
NuMaker-M032KG OVERVIEW This user manual is aimed to give users a fast introduction to the use of NuMaker-M032KG board. The NuMaker-M032KG consists of two parts, a M032 platform and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-M032KG allows users to quickly develop and easily program and debug application.
Page 7
NuMaker-M032KG Fixable board power supply: External V power connector Arduino UNO compatible extension connector Vin USB FS connector on M032 platform ICE USB connector on Nu-Link2-Me On-board Nu-Link2-Me debugger and programmer: Debug through SWD interface ...
NuMaker-M032KG NUMAKER-M032KG OVERVIEW Front View Arduino UNO Compatible Extension Connector Switch Reset Button External V Connector Ammeter VCOM Switch External V Connector ICE USB Connector USB FS Connector ICE Chip: M48SSIDAE Power LED ICE Status LED PB14 LED Off-line Program Button External V Connector M032 Platform...
NuMaker-M032KG Rear View Figure 2-2 shows the main components and connectors from the rear side of NuMaker-M032KG. The following lists components and connectors from the rear view: Nu-Link2-Me MCUVCC Power Switch (ICEJPR1) ICEVCC Power Switch (ICEJPR2) ICEVCC Power Switch MCUVCC Power Switch Figure 2-2 Rear View of NuMaker-M032KG Sep.
NuMaker-M032KG System Configuration 2.5.1 VIN Power Source Table 2-3 presents the Vin power source. Net Name in Connector Comment Schematic Board external power source, with voltage range from 7 V to 12 V. The voltage regulator UP2 converts the NU1 NU1 pin8 NU1_VIN pin8 input voltage to 5 V and supplies it to NuMaker-...
NuMaker-M032KG 2.5.4 1.8V Power Sources Table 2-6 presents the 1.8 V power source. Voltage Regular 5V Source Comment ICEUP2 converts USB_HS_VBUS to 1.8V and supplies ICEUP2 USB_HS_VBUS 1.8V to M032 platform or ICE chip. Table 2-6 1.8V Power Sources 2.5.5 Power Connectors Table 2-7 presents the power connectors.
NuMaker-M032KG 2.5.8 Power Supply Models External Power Supply through Nu-Link2-Me to Target Chip The external power supply source on Nu-Link2-Me is shown in Figure 2-5. ICE USB Connector (ICEJ3) Nu-Link2-Me Figure 2-5 External Power Supply Sources on Nu-Link2-Me To use ICEJ3 as external power supply source with Nu-Link2-Me, please follow the below steps: 1.
NuMaker-M032KG External Power Supply through M032 platform to Target Chip The external power supply sources on M032 platform are shown in Figure 2-6. External V Connector (JP1) USB Power Connector (J2) External V Connector (JP2) NU1 pin8 (Vin) Figure 2-6 External Power Supply Sources on M032 platform To use Vin or J2 as external power supply source, please follow the below steps: 1.
NuMaker-M032KG External V Connector (JP1) USB Power Connector (J2) " External V Connector (JP2) Separate Nu-Link2-Me NU1 pin8 (Vin) Figure 2-7 Separate the Nu-Link2-Me from NuMaker-M032KG Table 2-11 presents all power models when supplies external power through M032 platform. The M032 platform external power sources are highlighted in yellow.
NuMaker-M032KG 2.5.9 External Reference Voltage Connector Table 2-13 presents the external reference voltage connector. Connector Comment Connector for user to easily connect to the external reference voltage pin VREF1 of the target chip. User needs to remove the L5 ferrite bead. Table 2-12 External Reference Voltage Connector 2.5.10 Ammeter Connector Table 2-13 presents the ammeter connector.
NuMaker-M032KG 2.5.12 Push-Buttons Table 2-15 presents the push-buttons. Component Comment ICESW1 Off-line program button to start off-line programming the target chip. Reset button to reset the target chip. Table 2-15 Push-Buttons 2.5.13 LEDs Table 2-16 presents the LEDs. Component Comment Power LED The power LED indicates that the NuMaker-M032KG is powered.
NuMaker-M032KG PCB Placement Figure 2-9 and Figure 2-10 show the front and rear placement of NuMaker-M032KG. Figure 2-9 Front Placement Figure 2-10 Rear Placement Sep. 24, 2019 Page 24 of 46 Rev 1.00...
KEIL MDK Nuvoton edition M0/M23 IAR 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. Download and install Nu-Link_IAR_Driver when using IAR EWARM.
2. Connect the ICE USB connector shown in Figure 3-4 to the PC USB port through USB cable. Figure 3-4 ICE USB Connector 3. Find the “Nuvoton Virtual COM Port” on the Device Manger as Figure 3-5. Sep. 24, 2019 Page 27 of 46 Rev 1.00...
NuMaker-M032KG 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 session setting. Figure 3-6 PuTTY Session Setting Sep. 24, 2019 Page 28 of 46 Rev 1.00...
NuMaker-M032KG Find the Example Project Use the “Template” project as an example. The project can be found under the BSP folder as shown in Figure 3-7. M032_Series_BSP_CMSIS_V3.XX.XXX SampleCode Template Keil Figure 3-7 Template Project Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain.
Figure 3-9 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 Nu-Link Debugger” item, please rework section 3.2.
NuMaker-M032KG 3.6.2 IAR EWARM This section provides steps to beginners on how to run a project by using IAR EWARM. 1. Double click the “Template.eww” 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”...
NuMaker-M032KG 4. Figure 3-17 shows the debug mode under IAR EWARN. Click “Go” 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, step run, value monitor, etc.
NuMaker-M032KG 3.6.3 NuEclipse This section provides steps 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 toolchain. 2.
Page 36
NuMaker-M032KG 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 Figure 3-22. Figure 3-21 Open Project Properties Window Sep. 24, 2019 Page 36 of 46 Rev 1.00...
Page 37
NuMaker-M032KG Figure 3-22 Project Properties Settings 4. Click the “Template” project and build the project. Figure 3-23 Build Project Sep. 24, 2019 Page 37 of 46 Rev 1.00...
Page 38
Figure 3-24. Follow the settings presented in Figure 3-25, Figure 3-26 and Figure 3-27 to enter debug mode. Figure 3-24 Open Debug Configuration Note 1: Double click the “GDB Nuvoton Nu-Link Debugging” to create the subitem. Note 2: After the project is built, the “*.elf” file will be shown in “C/C++ Application” frame. Sep.
Page 40
NuMaker-M032KG Note 1: Users must follow those settings highlighted in green. Note 2: Users can configure other settings depend on the needs. Figure 3-27 Startup Tab Configuration Sep. 24, 2019 Page 40 of 46 Rev 1.00...
Page 41
NuMaker-M032KG 6. Figure 3-28 shows the debug mode under NuEclipse. Click “Resume” and the debug message will be printed out as shown 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.
NuMaker-M032KG REVISION HISTORY Date Revision Description 2019.09.24 1.00 Initially issued. Sep. 24, 2019 Page 45 of 46 Rev 1.00...
Page 46
NuMaker-M032KG Important Notice Nuvoton Products are neither intended nor warranted for usage in systems or equipment, any malfunction or failure of which may cause loss of human life, bodily injury or severe property damage. Such applications are deemed, “Insecure Usage”.
Need help?
Do you have a question about the NuMicro M032 Series and is the answer not in the manual?
Questions and answers