Nuvoton NuMicro Series User Manual
Hide thumbs Also See for NuMicro Series:

Advertisement

Quick Links

NUC029SDE
®
®
ARM
Cortex
-M
32-bit Microcontroller
®
NuMicro
Family
NuTiny-SDK-NUC029SDE
User Manual
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
Jan 21, 2019
Page 1 of 28
Rev 1.00

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NuMicro Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Nuvoton NuMicro Series

  • Page 1 NuTiny-SDK-NUC029SDE User Manual 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.
  • Page 2: Table Of Contents

    NuTiny-SDK-NUC029SDE PCB Placement ............11 How to Start NuTiny-SDK-NUC029SDE on the Keil mdk ENVIRONMENT .... 12 Downloading and Installing Keil MDK Software..........12 Downloading and Installing Nuvoton Nu-Link Driver ..........12 Hardware Setup ..................12 Example Program ..................12 How to Start NuTiny-SDK-NUC029SDE on the IAR Embedded Workbench ..14 Downloading and Installing IAR Embedded Workbench Software ......
  • Page 3 NUC029SDE GPIO for 64 pin Schematic ................24 SDK Circuit Schematic ................25 Target Chip .................... 26 REVISION HISTORY ................27 Jan 21, 2019 Page 3 of 28 Rev 1.00...
  • Page 4: Overview

    NUC029SDE OVERVIEW ® NuTiny-SDK-NUC029SDE is a specific development tool for NuMicro NUC029SDE. With the NuTiny-SDK-NUC029SDE, user can develop and verify the application program easily. The NuTiny-SDK-NUC029SDE includes two portions. One is NuTiny-EVB-NUC029SDE and the other is Nu-Link-Me. NuTiny-EVB-NUC029SDE is the evaluation board and Nu-Link-Me is its Debug Adaptor.
  • Page 5: Nutiny-Sdk-Nuc029Sde Introduction

    To use the Nu-Link-Me Debug adaptor with ® ® IAR or Keil, please refer to “Nuvoton NuMicro IAR ICE driver user manual “or Nuvoton NuMicro Keil ICE driver user manual” in detail. These two documents will be stored in the local hard disk when the user installs each driver.
  • Page 6: Nutiny-Sdk-Nuc029Sde Jumper Description

    VCOM function. SW2 connects pin 17(PB.0/RXD) and pin 18(PB.1/TXD) in NuTiny-EVB-NUC029SDE with pin 22(PB.1/TXD) and pin 21(PB.0/RXD) in Nuvoton ICE adaptor (Nu-Link-Me V3.0). SW2 connects pin 29(VCOM) in Nuvoton ICE adaptor (Nu-Link-Me V3.0) to GND to enable VCOM function.
  • Page 7 NUC029SDE Switch Pin Function UART0 Mode VCOM Mode Number Name ICE_TX ICE_RX VCOM_EN X: Unused. Jan 21, 2019 Page 7 of 28 Rev 1.00...
  • Page 8: Pin Assignment For Extended Connector

    NUC029SDE Pin Assignment for Extended Connector The NuTiny-EVB-NUC029SDE provides NUC029SDE on board and the extended connector (JP5, JP6, JP7 and JP8) for LQFP-64 pin. Table 2-1 is the pin assignment for NUC029SDE. Pin No Pin Function INT0/PB.14 PB.13 CLKO/PB.12 PWM1_CH5/I2C0_SCL/PF.5 PWM1_CH4/I2C0_SDA/PF.4 PWM1_CH3/I2C1_SCL/PA.11 PWM1_CH2/I2C1_SDA/PA.10...
  • Page 9 NUC029SDE PB.11/TM3/PWM0_CH4 PB.10/TM2 PB.9/TM1 PC.11/PWM1_BRAKE1 PC.10/PWM1_BRAKE0 PC.9/PWM0_BRAKE1 PC.8/PWM0_BRAKE0 PA.15/PWM0_CH3 PA.14/PWM0_CH2 PA.13/PWM0_CH1 PA.12/PWM0_CH0 PF.7/ICE_DAT PF.6/ICE_CLK PA.0/ADC_CH0/PWM0_CH4/I2C1_SCL PA.1/ADC_CH1/PWM0_CH5/I2C1_SDA PA.2/ADC_CH2/PWM1_CH0/UART3_TXD PA.3/ADC_CH3/PWM1_CH1/UART3_RXD PA.4/ADC_CH4 UART3_RXD/ADC_CH5/PA.5 UART3_TXD/ADC_CH6/PA.6 /ADC_CH7/PA.7 PWM0_BRAKE1/I2C0_SCL/PC.7 PWM0_BRAKE0/I2C0_SDA/PC.6 PC.15 PC.14 TM0/TM0_EXT/INT1/PB.15 XT1_OUT/PF.0 XT1_IN/PF.1 nRESET Jan 21, 2019 Page 9 of 28 Rev 1.00...
  • Page 10 NUC029SDE CLKO/PF.8 CLKO/TM0/STADC/PB.8 Table 2-1 Pin Assignment for NUC029SDE Jan 21, 2019 Page 10 of 28 Rev 1.00...
  • Page 11: Nutiny-Sdk-Nuc029Sde Pcb Placement

    NUC029SDE NuTiny-SDK-NUC029SDE PCB Placement Figure 2-2 shows the NuTiny-SDK-NUC029SDE PCB placement. Figure 2-2 NuTiny-SDK-NUC029SDE PCB Placement Jan 21, 2019 Page 11 of 28 Rev 1.00...
  • Page 12: How To Start Nutiny-Sdk-Nuc029Sde On The Keil Mdk Environment

    Figure 3-1 NuTiny-SDK-NUC029SDE Hardware Setup Example Program This example demonstrates downloading and debugging an application on a NuTiny-SDK- ® NUC029SDE board. It can be found on the list directory and downloaded from Nuvoton NuMicro website. Jan 21, 2019 Page 12 of 28...
  • Page 13 NUC029SDE Directory ..\NUC029xDEBSPv3.00.001\SampleCode\Template\Keil This sample code will show some functions about system manager controller and clock controller. ®   Start debug mode Start uVision When using debugger commands, you may:   Project – Open Review variables in the watch window Open the SYS.uvproj project file ...
  • Page 14: How To Start Nutiny-Sdk-Nuc029Sde On The Iar Embedded Workbench

    Figure 4-1 NuTiny-SDK-NUC029SDE Hardware Setup Example Program This example demonstrates downloading and debugging an application on a NuTiny-SDK- ® NUC029SDE board. It can be found on the list directory and downloaded from Nuvoton NuMicro website. Jan 21, 2019 Page 14 of 28...
  • Page 15 NUC029SDE Directory ..\NUC029xDEBSPv3.00.001\SampleCode\Template\IAR This sample code will show some functions about system manager controller and clock controller.   Project – Download and Debug Start IAR Embedded Workbench Program the application code into on-chip Flash ROM  File-Open-Workspace  Open the SYS.eww workspace file Single step through code ...
  • Page 16: Starting To Use Nu-Link-Me 3.0 Vcom Function

    ICP Programming Tool and Nu-Link USB Driver, which included VCOM driver. Figure 5-1 Optional Step after ICP Programming Tool Installation Figure 5-2 Install Nuvoton COM&LPT Driver Jan 21, 2019 Page 16 of 28 Rev 1.00...
  • Page 17 NUC029SDE Figure 5-3 Install Nuvoton Universal Serial Bus Controllers Jan 21, 2019 Page 17 of 28 Rev 1.00...
  • Page 18: Vcom Mode Setting On Nutiny-Sdk-Nuc029Sde

    NUC029SDE VCOM Mode Setting on NuTiny-SDK-NUC029SDE Before the NuTiny-SDK-NUC029SDE is connected to the PC, please enable VCOM function by switching on SW2. The NuTiny-EVB-NUC029SDE transmits through UART0 to VCOM to send out data. Switch SW2 off when using UART0 function without VCOM function. Development Tool Setup ®...
  • Page 19: Check The Target Device And Debug Setting

    NUC029SDE 5.3.2 Check the Target Device and Debug Setting The target device has to be the same as the setting in Debug. Please click “Target Option” to open the Option windows, and find the setting in “Device”, “Debug”, and “Utilities” page. Please follow the steps below to check the setting.
  • Page 20 NUC029SDE Step 2 Step 3 Jan 21, 2019 Page 20 of 28 Rev 1.00...
  • Page 21: Build And Download Code To Nutiny-Sdk-Nuc029Sde

    NUC029SDE 5.3.3 Build and Download Code to NuTiny-SDK-NUC029SDE Please build the project and download code to the NuTiny-SDK-NUC029SDE. 5.3.4 Open the Serial Port Terminal User can use serial port terminal, PuTTY for example, to print out debug message. Figure 5-5 Set Baud Rate Jan 21, 2019 Page 21 of 28 Rev 1.00...
  • Page 22: Reset Chip

    NUC029SDE 5.3.5 Reset Chip After pushing the reset button, the chip will reprogram application and print out debug message. Figure 5-6 Serial Port Terminal Windows Note: Please switch SW2 on before the NuTiny-SDK-NUC029SDE is connected to the PC. When the NuTiny-SDK-NUC029SDE is connected to the PC with SW2 switch on, PC will detect VCOM as a USB device and the detection will only be processed once.
  • Page 23: Nutiny-Sdk-Nuc029Sde Schematics

    NUC029SDE NUTINY-SDK-NUC029SDE SCHEMATICS Nu-Link-Me V3.0 Schematic USBVBUS Off-page Connector VBUS ICE1 ICELED USB_D- ICP1 Shield ICPLED USB_D+ Shield IDLE1 Y ELLOW Shield IDLE1 VCC_connect VCC_connect Shield ICE_TX 8P4R-330 Tiny _TX Shield BUSY 1 ICE_RX Shield Tiny _RX BUSY 1 ICERST TICERST GREEN micro USB 5pin...
  • Page 24: Gpio For 64 Pin Schematic

    NUC029SDE GPIO for 64 pin Schematic Off-page Connector P[1:64] P[1:64] Title GPIO for 64 pin Size Document Number <Doc> Date: Monday , January 21, 2019 Sheet Jan 21, 2019 Page 24 of 28 Rev 1.00...
  • Page 25: Sdk Circuit Schematic

    NUC029SDE SDK Circuit Schematic Off-page Connector D12MO FERRITE BEAD AVDD P[1:64] P[1:64] SW PUSHBUTTON TICERST 12MHz D12MO D12MO RESET 10uF/10V 0.1u 10uF/10V 0.1u D12MI XTAL3-1 D12MI D12MI AVDD AVDD ADAVSS Crystal 10uF/10V Reset Power FERRITE BEAD ADAVSS ADAVSS TICERST RESET RESET GPIO1 VCC_connect...
  • Page 26: Target Chip

    NUC029SDE Target Chip ADAVSS Off-page Connector P[1:64] P[1:64] TICERST RESET RESET D12MO D12MO D12MI D12MI AVDD AVDD ADAVSS ADAVSS Tiny _TX Tiny _TX Tiny _RX Tiny _RX TICERST TICERST TICECLK TICECLK TICEDAT TICEDAT 0 / NC PB.9/TM1 JP11 PA.5/ADC_CH5/UART3_RXD PB.10/TM2 PA.6/ADC_CH6/UART3_TXD PB.11/TM3/PWM0_CH4 AVDD...
  • Page 27: Revision History

    NUC029SDE REVISION HISTORY Date Revision Description 2019.01.21 1.00 Initially issued. Jan 21, 2019 Page 27 of 28 Rev 1.00...
  • Page 28 NUC029SDE 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”.

This manual is also suitable for:

Nutiny-sdk-nuc029sde

Table of Contents