Table of Contents

Advertisement

Quick Links

NuMaker-NUC029L
NuMicro
®
Family
Arm
®
Cortex
®
-M0-based Microcontroller
NuMaker-NUC029L
User Manual
Evaluation Board for NuMicro
®
NUC029xAN 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 and
microprocessor 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
Dec. 26, 2022
Page 1 of 46
Rev 1.00

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NuMicro NuMaker-NUC029L and is the answer not in the manual?

Questions and answers

Summary of Contents for Nuvoton NuMicro NuMaker-NUC029L

  • 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 and microprocessor based system design. Nuvoton assumes no responsibility for errors or omissions.
  • Page 2: Table Of Contents

    3.8.2 Status LEDs ........................24 4 QUICK START ....................25 4.1 Toolchains Supporting ....................25 4.2 Nuvoton Nu-Link Driver Installation ................25 4.3 BSP Firmware Download ................... 27 4.4 Hardware Setup ......................27 4.5 Find the Example Project ................... 29 4.6 Execute the Project under Toolchains ..............
  • Page 3 NuMaker-NUC029L 5.3 Extension Connectors ....................43 5.4 PCB Placement ......................44 6 REVISION HISTORY ..................45 Dec. 26, 2022 Page 3 of 46 Rev 1.00...
  • Page 4 NuMaker-NUC029L List of Figures Figure 1-1 NuMaker-NUC029L Evaluation Board................7 Figure 3-1 Front View of NuMaker-NUC029L .................. 9 Figure 3-2 Rear View of NuMaker-NUC029L ................10 Figure 3-3 NUC029LAN Extension Connectors ................11 Figure 3-4 Arduino UNO Compatible Extension Connectors ............14 Figure 3-5 External Power Supply Sources on Nu-Link2-Me ............
  • Page 5 NuMaker-NUC029L Figure 4-27 Startup Tab Configuration ..................39 Figure 4-28 NuEclipse Debug Mode ....................40 Figure 4-29 Debug Message on Serial Port Terminal Windows ............ 40 Figure 5-1 Nu-Link2-Me Circuit ...................... 41 Figure 5-2 NUC029 Target Board Circuit ..................42 Figure 5-3 Extension Connectors Circuit ..................
  • Page 6 NuMaker-NUC029L List of Tables Table 3-1 Extension Connectors ....................11 Table 3-2 NUC029LAN Full-pin Extension Connectors and GPIO Function List ......13 Table 3-3 Arduino UNO Extension Connectors and NUC029LAN Mapping GPIO List ....15 Table 3-4 Vin Power Source ......................16 Table 3-5 5 V Power Sources ......................
  • Page 7: Overview

    NuMaker-NUC029L OVERVIEW The NuMaker-NUC029L is an evaluation board for Nuvoton NuMicro NUC029LAN, NUC029NAN, NUC029ZAN and NUC029TAN microcontrollers. The NuMaker-NUC029L consists of two parts: an NUC029 target board and an on-board Nu-Link2-Me debugger and programmer. The NuMaker- NUC029L is designed for project evaluation, prototype development and validation with power consumption monitoring function.
  • Page 8: Features

    NuMaker-NUC029L FEATURES  NuMicro NUC029LAN used as main microcontroller with function compatible with: NUC029LAN – NUC029NAN – NUC029ZAN – NUC029TAN –  NUC029LAN full pins extension connectors  Arduino UNO compatible extension connectors  Ammeter connector for measuring the microcontroller’s power consumption ...
  • Page 9: Hardware Configuration

    NuMaker-NUC029L HARDWARE CONFIGURATION Front View Arduino UNO Compatible Extension Connectors Switch Reset Button External V Connector Ammeter VCOM Switch ICE USB Connector USB PWR Connector ICE Chip: M48SSIDAE Power LED ICE Status LED P3.6 LED Off-line Program Button External V Connector NUC029 Target Board Nu-Link2-Me...
  • Page 10: Rear View

    NuMaker-NUC029L Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-NUC029L. 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 3-2 Rear View of NuMaker-NUC029L Dec.
  • Page 11: Extension Connectors

    NuMaker-NUC029L Extension Connectors Table 3-1 presents the extension connectors. Connector Description JP3, JP4, JP5 and JP6 Full pins extension connectors on the NuMaker-NUC029L. NU1, NU2, NU3 and Arduino UNO compatible pins on the NuMaker-NUC029L. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-NUC029L provides the NUC029LAN onboard and extension connectors (JP3, JP4, JP5 and JP6).
  • Page 12 NuMaker-NUC029L NUC029LAN Header Pin No. Function P1.5 / AIN5 / ACMP0_P / MOSI_0 JP3.1 JP3.2 P1.6 / AIN6 / MISO_0 / ACMP2_N JP3.3 P1.7 / AIN7 / SPICLK0 / ACMP2_P JP3.4 nRST JP3.5 P3.0 / UART0_RXD / ACMP1_N JP3.6 JP3.7 P3.1 / UART0_TXD / ACMP1_P JP3.8 P3.2 / nINT0 / STADC / T0EX...
  • Page 13: Table 3-2 Nuc029Lan Full-Pin Extension Connectors And Gpio Function List

    NuMaker-NUC029L NUC029LAN Header Pin No. Function JP4.12 P4.1 / PWM1 / T3EX JP6.1 P0.3 / AD3 / RTS0 / UART0_RXD JP6.2 P0.2 / AD2 / CTS0 / UART0_TXD JP6.3 P0.1 / RTS1 / RXD1 / ACMP3_N / AD1 JP6.4 P0.0 / CTS1 / TXD1 / ACMP3_P / AD0 JP6.5 JP6.6 JP6.7...
  • Page 14: 3.3.2 Arduino Uno Compatible Extension Connectors

    NuMaker-NUC029L 3.3.2 Arduino UNO Compatible Extension Connectors Figure 3-4 shows the Arduino UNO compatible extension connectors. MOSI P1.5 P2.0 UART1_RXD P0.1 UART1_TXD P0.0 PWM2 P4.2 PWM3 P4.3 PWM4 P2.4 PWM5 P2.5 PWM6 P2.6 PWM7 P2.7 PWM0 P4.0 PWM1 P4.1 SPI1_SS P0.4 SPI1_MOSI P0.5...
  • Page 15: Table 3-3 Arduino Uno Extension Connectors And Nuc029Lan Mapping Gpio List

    NuMaker-NUC029L NuMaker-NUC029L NuMaker-NUC029L Header Header Compatible to GPIO Pin of Compatible to GPIO Pin of Arduino UNO NUC029 Arduino UNO NUC029 NU3.1 P0.1 NU2.6 P4.4 NU3.2 P0.0 NU2.5 P4.5 NU3.3 P4.2 NU2.4 P1.3 NU3.4 P4.3 NU2.3 P1.2 NU3.5 P2.4 NU2.2 P1.1 NU3.6 P2.5...
  • Page 16: Power Supply Configuration

    NuMaker-NUC029L Power Supply Configuration The NuMaker-NUC029L is able to adopt multiple power supplies. External power sources include NU1 Vin (7 V to 12 V), V (depending on the target chip operating voltage), and PC through USB connector. By using switches and voltage regulator, multiple power domains can be created on the NuMaker- NUC029L.
  • Page 17: Power Sources

    NuMaker-NUC029L 3.4.3 3.3 V Power Sources Table 3-6 presents the 3.3 V power sources. Voltage 5 V Source Description Regulator ICEUP1 converts USB_HS_VBUS to 3.3 V and ICEUP1 USB_HS_VBUS supplies 3.3 V to NUC029 target board or ICE chip. UP1 converts USB_VBUS to 3.3 V and supplies 3.3 V to NUC029 target board.
  • Page 18: Usb Connectors

    NuMaker-NUC029L 3.4.6 USB Connectors Table 3-9 presents the USB connectors. Connector Description ICE USB connector on Nu-Link2-Me for power supply, debugging and ICEJ3 programming from PC. USB PWR connector on NuMaker-NUC029L for power supply. Table 3-9 USB Connectors 3.4.7 Power Switches Table 3-10 presents the power switches.
  • Page 19: Figure 3-6 External Power Supply Sources On Nuc029 Target Board

    NuMaker-NUC029L Solder the resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage. Switch the SW2 to OFF. Connect the external power supply to ICEJ3. Table 3-11 presents all power models when supplying external power through Nu-Link2-Me. The Nu- Link2-Me external power sources are highlighted in yellow.
  • Page 20: Figure 3-7 Detach The Nu-Link2-Me From Numaker-Nuc029L

    NuMaker-NUC029L Remove the resistor on ICEJPR1 (MCUVCC). Solder the resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage. Connect ICEJ3 to PC. Connect the external power supply to JP1. To use Vin or J2 as external power supply source with Nu-Link2-Me detached from NuMaker- NUC029L, please follow the steps below: Switch the SW2 depending on the target chip operating voltage.
  • Page 21: Ammeter Connector

    NuMaker-NUC029L Table 3-12 presents all power models when supplies external power through NUC029 target board. The NUC029 target board external power sources are highlighted in yellow. ICEJPR1 ICEJPR2 Target Chip ICE Chip Model ICEJ3 (MCUVCC) (ICEVCC) Voltage Selection Voltage Selection Selection 7 V ~ 12 V Remove...
  • Page 22: Push Buttons

    NuMaker-NUC029L Remove the R16 Resistor Figure 3-8 Wiring between Ammeter Connector and Ammeter  NUC029xAN_Series_BSP_CMSIS_V3.XX.XXX  SampleCode  StdDriver  SYS_PowerDown_MinCurrent Figure 3-9 Project Path of SYS_PowerDown_MinCurrent Push Buttons Table 3-14 presents the push buttons. Component Description ICESW1 Offline program button to start offline ICP programming the target chip. Reset button to reset the target chip.
  • Page 23: Leds

    NuMaker-NUC029L LEDs Table 3-15 presents the LEDs. Component Description Power LED The power LED indicates that the NuMaker-NUC029L is powered. P3.6 LED The LED is connected to the target chip P3.6. ICES0, ICES1, ICES2 Nu-Link2-Me status LED. and ICES3 Table 3-15 LEDs Nu-Link2-Me The Nu-Link2-Me is an attached on-board debugger and programmer.
  • Page 24: Status Leds

    NuMaker-NUC029L 3.8.2 Status LEDs Table 3-15 presents the status LEDs patterns for different operation on Nu-Link2-Me. Status LED Operation Status ICES0 ICES1 ICES2 ICES3 Boot Flash x 3 Flash x 3 Flash x 3 Flash x 3 Idle One Nu-Link2-Me is selected to connect Flash x 3 Flash x 3 Flash x 3...
  • Page 25: Quick Start

    KEIL MDK Nuvoton edition M0/M23  IAR EWARM  NuEclipse GCC (for Windows)  NuEclipse GCC (for 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.
  • Page 26: Figure 4-2 Nu-Link Usb Driver Installation

    NuMaker-NUC029L Figure 4-2 Nu-Link USB Driver Installation Dec. 26, 2022 Page 26 of 46 Rev 1.00...
  • Page 27: Bsp Firmware Download

    NuMaker-NUC029L BSP Firmware Download Download and unzip the Board Support Package (BSP). Hardware Setup Open the virtual COM (VCOM) function by changing Nu-Link2-Me VCOM Switch No. 1 and 2 to ON. Figure 4-3 Open VCOM Function Connect the ICE USB connector shown in Figure 4-4 to the PC USB port through a USB cable.
  • Page 28: Figure 4-5 Device Manger

    NuMaker-NUC029L Find the “Nuvoton Virtual COM Port” on the Device Manger as Figure 4-5. Figure 4-5 Device Manger Open a serial port terminal, PuTTY for example, to print out debug message. Set the speed to 115200. Figure 4-6 presents the PuTTY session setting.
  • Page 29: Find The Example Project

    NuMaker-NUC029L Find the Example Project Use the “Template” project as an example. The project can be found under the BSP folder as shown in Figure 4-7.  NUC029xAN_Series_BSP_CMSIS_V3.XX.XXX  SampleCode  Template   Keil  Figure 4-7 Template Project Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain.
  • Page 30: Figure 4-9 Project File Migrate To Version 5 Format

    Make sure the debugger is “Nuvoton Nu-Link Debugger” as shown in Figure 4-10 and Figure 4-11. Figure 4-10 Debugger Setting in Options Window Note: If the dropdown menu in Figure 4-10 does not contain “Nuvoton Nu-Link Debugger” item, please rework section 4.2. Dec. 26, 2022 Page 30 of 46 Rev 1.00...
  • Page 31: Figure 4-11 Programming Setting In Options Window

    NuMaker-NUC029L Figure 4-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 debug mode. 1. Rebuild 2. Successfully compile 3. Download 4. Start/Stop Debug Figure 4-12 Compile and Download the Project Dec.
  • Page 32: Figure 4-13 Keil Mdk Debug Mode

    NuMaker-NUC029L Figure 4-13 shows the debug mode under Keil MDK. Click “Run” and the debug message will be printed out as shown in Figure 4-14. User can debug the project under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc.
  • Page 33: Iar Ewarm

    NuMaker-NUC029L 4.6.2 IAR EWARM This section provides steps to beginners on how to run a project by using IAR EWARM. Double click the “Template.eww” to open the project. Make sure the toolbar contains “Nu-Link” item as shown in Figure 4-15. Note: If the toolbar does not contain “Nu-Link”...
  • Page 34: Figure 4-17 Iar Ewarm Debug Mode

    NuMaker-NUC029L Figure 4-17 shows the debug mode under IAR EWARN. Click “Go” and the debug message will be printed out as shown in Figure 4-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.
  • Page 35: Nueclipse

    NuMaker-NUC029L 4.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. Double-click “NuEclipse.exe" to open the toolchain. Import the “Template” project by following the steps presented in Figure 4-19 and Figure 4-20. Figure 4-19 Import the Project in NuEclipse Figure 4-20 Import Projects Windows Dec.
  • Page 36: Figure 4-21 Open Project Properties Window

    NuMaker-NUC029L Click the “Template” project and find the project properties as shown in Figure 4-21. Make sure the settings are the same as settings in Figure 4-22. Figure 4-21 Open Project Properties Window Figure 4-22 Project Properties Settings Dec. 26, 2022 Page 36 of 46 Rev 1.00...
  • Page 37: Figure 4-23 Build Project

    NuMaker-NUC029L Click the “Template” project and build the project. Figure 4-23 Build Project After the project is built, click the “Template” project and set the “Debug Configuration” as shown in Figure 4-24. Follow the settings presented in Figure 4-25, Figure 4-26 and Figure 4-27 to enter debug mode.
  • Page 38: Figure 4-25 Main Tab Configuration

    NuMaker-NUC029L 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 4-25 Main Tab Configuration Figure 4-26 Debugger Tab Configuration Dec.
  • Page 39: Figure 4-27 Startup Tab Configuration

    NuMaker-NUC029L Note: User must follow those settings highlighted in green, and configure other settings depending on the needs. Figure 4-27 Startup Tab Configuration Dec. 26, 2022 Page 39 of 46 Rev 1.00...
  • Page 40: Figure 4-28 Nueclipse Debug Mode

    NuMaker-NUC029L Figure 4-28 shows the debug mode under NuEclipse. Click “Resume” and the debug message will be printed out as shown in Figure 4-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.
  • Page 41: Numaker-Nuc029L Schematics

    NuMaker-NUC029L NUMAKER-NUC029L SCHEMATICS Nu-Link2-Me Figure 5-1 shows the Nu-Link2-Me circuit. 3.3V ICER1 O f f - page C onnect or 200 1% USB_HS_CAP R0603 ICE5V ICEC1 ICEC2 ICE5V 0.1u MCUVCC_DIODE C0603 C0603 MCUVCC_DIODE SWDH_DAT TICEDAT SWDH_CLK TICECLK SWDH_RST# TICERST ICE_RX_S MCU_TX ICE_TX_S MCU_RX...
  • Page 42: Nuc029 Target Board

    NuMaker-NUC029L NUC029 Target Board Figure 5-2 shows the NUC029 target board circuit. Figure 5-2 NUC029 Target Board Circuit Dec. 26, 2022 Page 42 of 46 Rev 1.00...
  • Page 43: Figure 5-3 Extension Connectors Circuit

    NuMaker-NUC029L Extension Connectors Figure 5-3 shows extension connectors of NuMaker-NUC029L. Figure 5-3 Extension Connectors Circuit Dec. 26, 2022 Page 43 of 46 Rev 1.00...
  • Page 44: Figure 5-4 Front Placement

    NuMaker-NUC029L PCB Placement Figure 5-4 and Figure 5-5 show the front and rear placement of NuMaker-NUC029L. Figure 5-4 Front Placement Figure 5-5 Rear Placement Dec. 26, 2022 Page 44 of 46 Rev 1.00...
  • Page 45 NuMaker-NUC029L REVISION HISTORY Date Revision Description 2022.12.26 1.00 Initial version. Dec. 26, 2022 Page 45 of 46 Rev 1.00...
  • Page 46 NuMaker-NUC029L 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”.

Table of Contents