Table of Contents

Advertisement

Quick Links

NuMaker-NUC029SGE
NuMicro
®
Family
Arm
®
Cortex
®
-M0-based Microcontroller
NuMaker-NUC029SGE
User Manual
Evaluation Board for NuMicro
®
NUC029SG 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
Jul. 20, 2022
Page 1 of 39
Rev 1.00

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Nuvoton NuMicro NuMaker-NUC029SGE

  • 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.9.2 Status LEDs ........................23 4 QUICK START ....................24 4.1 Toolchains Supporting ....................24 4.2 Nuvoton Nu-Link Driver Installation ................24 4.3 BSP Firmware Download ................... 26 4.4 Hardware Setup ......................26 4.5 Find the Example Project ................... 28 4.6 Execute the Project under Toolchains ..............
  • Page 3 NuMaker-NUC029SGE 5.2 NuMaker-NUC029SGE Schematics ................. 35 5.3 Extension Connectors ....................36 5.4 PCB Placement ......................37 6 REVISION HISTORY ..................38 Jul. 20, 2022 Page 3 of 39 Rev 1.00...
  • Page 4 NuMaker-NUC029SGE List of Figures Figure 1-1 NuMaker-NUC029SGE Evaluation Board ..............6 Figure 3-1 Front View of NuMaker-NUC029SGE ................8 Figure 3-2 Rear View of NuMaker-NUC029SGE ................9 Figure 3-3 NUC029SGE Extension Connectors ................10 Figure 3-4 Arduino UNO Compatible Extension Connectors ............13 Figure 3-5 External Power Supply Sources on Nu-Link2-Me ............
  • Page 5 NuMaker-NUC029SGE List of Tables Table 3-1 Extension Connectors ....................10 Table 3-2 NUC029SG Full-pin Extension Connectors and GPIO Function List ......12 Table 3-3 Arduino UNO Extension Connectors and NUC029SG Mapping GPIO List ....14 Table 3-4 Vin Power Source ......................15 Table 3-5 5 V Power Sources ......................
  • Page 6: Overview

    NuMaker-NUC029SGE OVERVIEW The NuMaker-NUC029SGE is an evaluation board for Nuvoton NuMicro NUC029SGE and NUC029LGE microcontrollers. The NuMaker-NUC029SGE consists of two parts: an NUC029SG target board and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-NUC029SGE is designed for project evaluation, prototype development and validation with power consumption monitoring function.
  • Page 7: Features

    NuMaker-NUC029SGE FEATURES  NuMicro NUC029SGE used as main microcontroller with function compatible with: NUC029SGE – NUC029LGE –  NUC029SGE full pins extension connectors  Arduino UNO compatible extension connectors  Ammeter connector for measuring the microcontroller’s power consumption  Flexible board power supply: External V power connector –...
  • Page 8: Hardware Configuration

    NuMaker-NUC029SGE HARDWARE CONFIGURATION Front View Figure 3-1 Front View of NuMaker-NUC029SGE Figure 3-1 shows the main components and connectors from the front side of NuMaker-NUC029SGE. The following lists components and connectors from the front view:  Target chip: NUC029SGE (U1) ...
  • Page 9: Rear View

    NuMaker-NUC029SGE Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-NUC029SGE. The following lists components and connectors from the rear view:  Nu-Link2-Me MCUVCC Power Switch (ICEJPR1) – ICEVCC Power Switch (ICEJPR2) – Figure 3-2 Rear View of NuMaker-NUC029SGE Jul.
  • Page 10: Extension Connectors

    NuMaker-NUC029SGE Extension Connectors Table 3-1 presents the extension connectors. Connector Description JP3, JP4, JP5 and JP6 Full pins extension connectors on the NuMaker-NUC029SGE. NU1, NU2, NU3 and Arduino UNO compatible pins on the NuMaker-NUC029SGE. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-NUC029SGE provides the NUC029SGE onboard and extension connectors (JP3, JP4, JP5 and JP6).
  • Page 11 NuMaker-NUC029SGE NUC029SGE Header Pin No. Function PB.15/ADC0_CH12/ACMP0_P3/EBI_nCS1 JP3.1 JP3.2 PB.5/ADC0_CH13/SPI0_MOSI/SPI1_MOSI/ACMP0_P2/SC1_RST/EBI_AD6/UART2_RXD JP3.3 PB.6/ADC0_CH14/SPI0_MISO/SPI1_MISO/ACMP0_P1/SC1_PWR/EBI_AD5 JP3.4 PB.7/ADC0_CH15/SPI0_CLK/SPI1_CLK/USCI2_CTL1/ACMP0_P0/SC1_DAT/EBI_AD4 nRESET,Note: It is recommended to use 10 kΩ pull-up resistor and 10 uF capacitor on nRESET JP3.5 pin. JP3.6 PD.0/SPI0_I2SMCLK/SPI1_I2SMCLK/UART0_RXD/USCI2_CTL0/ACMP1_N/SC1_CLK/INT3 JP3.7 AVSS JP3.8 PD.8/ADC0_CH17/UART0_nCTS/USCI2_CTL1/TM2/EBI_nCS0 JP3.9 PD.9/ADC0_CH18/UART0_RXD/USCI2_CTL0/ACMP1_P3/TM3/EBI_ALE JP3.10 PD.1/ADC0_CH19/PWM0_SYNC_IN/UART0_TXD/USCI2_CLK/ACMP1_P2 JP3.11...
  • Page 12: Table 3-2 Nuc029Sg Full-Pin Extension Connectors And Gpio Function List

    NuMaker-NUC029SGE NUC029SGE Header Pin No. Function PC.6/USCI0_DAT1/ACMP1_O/PWM1_CH0/EBI_AD14 JP4.1 JP4.2 PC.7/USCI0_CTL1/PWM1_CH1/EBI_AD15 JP4.3 PE.6/ICE_CLK/I2C0_SCL/UART0_RXD JP4.4 PE.7/ICE_DAT/I2C0_SDA/UART0_TXD JP4.5 PE.8/UART1_TXD/TM0/I2C1_SCL/SC0_PWR JP4.6 PE.9/UART1_RXD/TM1/I2C1_SDA/SC0_RST JP4.7 PE.10/SPI1_MISO/SPI0_MISO/UART1_nCTS/SC0_DAT/SPI1_CLK/EBI_AD7/TM0_EXT JP4.8 PE.11/SPI1_MOSI/SPI0_MOSI/UART1_nRTS/SC0_CLK/SPI1_MISO/EBI_AD6/TM1_EXT JP4.9 PE.12/SPI1_SS/SPI0_SS/UART1_TXD/I2C0_SCL/SPI1_MOSI/EBI_AD5/TM2_EXT JP4.10 PE.13/SPI1_CLK/SPI0_CLK/UART1_RXD/I2C0_SDA/SPI1_SS/EBI_AD4/TM3_EXT JP4.11 VDDIO JP4.12 USB_VBUS JP4.13 USB_D- JP4.14 USB_D+ JP4.15 PF.7 JP4.16 USB_VDD33_CAP JP6.1 PA.3/UART0_RXD/UART0_nRTS/I2C0_SCL/SC0_PWR/PWM1_CH2/EBI_AD3/USCI1_CLK JP6.2 PA.2/UART0_TXD/UART0_nCTS/I2C0_SDA/SC0_RST/PWM1_CH3/EBI_AD2/USCI1_CTL0 JP6.3...
  • Page 13: 3.3.2 Arduino Uno Compatible Extension Connectors

    NuMaker-NUC029SGE 3.3.2 Arduino UNO Compatible Extension Connectors Figure 3-4 shows the Arduino UNO compatible extension connectors. Figure 3-4 Arduino UNO Compatible Extension Connectors Jul. 20, 2022 Page 13 of 39 Rev 1.00...
  • Page 14: Table 3-3 Arduino Uno Extension Connectors And Nuc029Sg Mapping Gpio List

    NuMaker-NUC029SGE NuMaker-NUC029SGE NuMaker-NUC029SGE Header Header Compatible to GPIO Pin of Compatible to GPIO Pin of Arduino UNO NUC029SG Arduino UNO NUC029SG NU3.1 PB.0 NU2.6 PC.4 NU3.2 PB.1 NU2.5 PC.5 NU3.3 PA.3 NU2.4 PB.4 NU3.4 PA.2 NU2.3 PB.3 NU3.5 PA.1 NU2.2 PB.6 NU3.6 PA.0...
  • Page 15: Power Supply Configuration

    NuMaker-NUC029SGE Power Supply Configuration The NuMaker-NUC029SGE 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-NUC029SGE.
  • Page 16: Power Sources

    NuMaker-NUC029SGE 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 NUC029SG target board or ICE chip. UP1 converts USB_VBUS to 3.3 V and supplies 3.3 V to NUC029SG target board.
  • Page 17: Usb Connectors

    NuMaker-NUC029SGE 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 FS connector on NuMaker-NUC029SGE for power supply. Table 3-9 USB Connectors 3.4.7 Power Switches Table 3-10 presents the power switches.
  • Page 18: Figure 3-6 External Power Supply Sources On Nuc029Sg Target Board

    NuMaker-NUC029SGE 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. Target ICEJPR1 ICEJPR2 Model Chip ICEJ3 (MCUVCC) (ICEVCC) Chip Selection Voltage Selection Selection...
  • Page 19: Figure 3-7 Detach The Nu-Link2-Me From Numaker-Nuc029Sge

    NuMaker-NUC029SGE 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- NUC029SGE, please follow the steps below: Switch the SW2 depending on the target chip operating voltage. Detach the Nu-Link2-Me from NuMaker-NUC029SGE.
  • Page 20: Table 3-12 Supply External Power For Nuc029Sg Target Board

    NuMaker-NUC029SGE Table 3-12 presents all power models when supplies external power through NUC029SG target board. The NUC029SG 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 21: External Reference Voltage Connector

    NuMaker-NUC029SGE External Reference Voltage Connector Table 3-13 External Reference Voltage Connector presents the external reference voltage connector. Connector Description Connector for user to connect to the external reference voltage pin of the VREF1 target chip. User needs to remove the L5 ferrite bead. Table 3-13 External Reference Voltage Connector Ammeter Connector Table 3-14 presents the ammeter connector.
  • Page 22: Leds

    NuMaker-NUC029SGE LEDs Table 3-16 presents the LEDs. Component Description Power LED The power LED indicates that the NuMaker-NUC029SGE is powered. PB14 LED The LED is connected to the target chip PF.7. ICES0, ICES1, ICES2 Nu-Link2-Me status LED. and ICES3 Table 3-16 LEDs Nu-Link2-Me The Nu-Link2-Me is an attached on-board debugger and programmer.
  • Page 23: Status Leds

    NuMaker-NUC029SGE 3.9.2 Status LEDs Table 3-16 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 24: Quick Start

    Install the preferred toolchain. Please make sure at least one of the toolchains has been installed.  KEIL MDK Nuvoton edition M0/M23  IAR EWARM 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 25: Figure 4-2 Nu-Link Usb Driver Installation

    NuMaker-NUC029SGE Figure 4-2 Nu-Link USB Driver Installation Jul. 20, 2022 Page 25 of 39 Rev 1.00...
  • Page 26: Bsp Firmware Download

    NuMaker-NUC029SGE 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 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. Figure 4-4 ICE USB Connector Jul.
  • Page 27: Figure 4-5 Device Manger

    NuMaker-NUC029SGE 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 28: Find The Example Project

    NuMaker-NUC029SGE 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.  NUC029xGE_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 29: 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. Jul. 20, 2022 Page 29 of 39 Rev 1.00...
  • Page 30: Figure 4-11 Programming Setting In Options Window

    NuMaker-NUC029SGE 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 Jul.
  • Page 31: Figure 4-13 Keil Mdk Debug Mode

    NuMaker-NUC029SGE 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 32: Iar Ewarm

    NuMaker-NUC029SGE 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 33: Figure 4-17 Iar Ewarm Debug Mode

    NuMaker-NUC029SGE 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 34: Numaker-Nuc029Sge Schematics

    NuMaker-NUC029SGE NUMAKER-NUC029SGE SCHEMATICS Nu-Link2-Me 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 ICE_RST nRESET...
  • Page 35: Numaker-Nuc029Sge Schematics

    NuMaker-NUC029SGE NuMaker-NUC029SGE Schematics shows the NUC029SGE target board circuit. P1 - P16 P33 - P48 PB15_NU5_GPIO PB5_NU2_A0 PE6_ICE_CLK PB6_NU2_A1 TICECLK PE7_ICE_DAT PB7_NU5_SS TICEDAT nRESET TICERST PD0_RXD0 MCU_RX AVSS PE10_NU4_MISO PE11_NU4_MOSI PE12_NU4_SCL PD1_TXD0 MCU_TX PE13_NU4_SDA VDDIO PD2_NU5_MOSI VDDIO PD3_NU5_MISO USB_VBUS_10R VBAT USB_D- PF0_X32_OUT PF0_X32_OUT...
  • Page 36: Extension Connectors

    NuMaker-NUC029SGE Extension Connectors shows extension connectors of NuMaker-NUC029SGE. P1 - P16 P33 - P48 PB15_NU5_GPIO PB5_NU2_A0 PE12_NU4_SCL I2C_SCL PB6_NU2_A1 TICECLK PE13_NU4_SDA I2C_SDA PB7_NU5_SS TICEDAT VREF VREF TICERST MCU_RX TICERST PB2_NU4_CLK MCU_RESET AVSS PE10_NU4_MISO NU1_3VCC PE10_NU4_MISO 3VCC PE11_NU4_MOSI NU1_5VCC PE11_NU4_MOSI 5VCC PE12_NU4_SCL PC2_NU4_D10/SS MCU_TX...
  • Page 37: Pcb Placement

    NuMaker-NUC029SGE PCB Placement and show the front and rear placement of NuMaker-NUC029SGE. Figure 5-4 Front Placement Figure 5-5 Rear Placement Jul. 20, 2022 Page 37 of 39 Rev 1.00...
  • Page 38: Revision History

    NuMaker-NUC029SGE REVISION HISTORY Date Revision Description 2022.07.20 1.00 Initial version. Jul. 20, 2022 Page 38 of 39 Rev 1.00...
  • Page 39 NuMaker-NUC029SGE 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