Download Print this page

Nuvoton NuMicro NuTiny-SDK-M0519 User Manual

32-bit arm cortex-m

Advertisement

Quick Links

Chipsmall Limited consists of a professional team with an average of over 10 year of expertise in the distribution
of electronic components. Based in Hongkong, we have already established firm and mutual-benefit business
relationships with customers from,Europe,America and south Asia,supplying obsolete and hard-to-find components
to meet their specific needs.
With the principle of "Quality Parts,Customers Priority,Honest Operation,and Considerate Service",our business
mainly focus on the distribution of electronic components. Line cards we deal with include
Microchip,ALPS,ROHM,Xilinx,Pulse,ON,Everlight and Freescale. Main products comprise
IC,Modules,Potentiometer,IC Socket,Relay,Connector.Our parts cover such applications as commercial,industrial,
and automotives areas.
We are looking forward to setting up business relationship with you and hope to provide you with the best service
and solution. Let us make a better world for our industry!
Contact us
Tel: +86-755-8981 8866 Fax: +86-755-8427 6832
Email & Skype: info@chipsmall.com Web: www.chipsmall.com
Address: A1208, Overseas Decoration Building, #122 Zhenhua RD., Futian, Shenzhen, China
  

Advertisement

loading
Need help?

Need help?

Do you have a question about the NuMicro NuTiny-SDK-M0519 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Nuvoton NuMicro NuTiny-SDK-M0519

  • Page 1 Chipsmall Limited consists of a professional team with an average of over 10 year of expertise in the distribution of electronic components. Based in Hongkong, we have already established firm and mutual-benefit business relationships with customers from,Europe,America and south Asia,supplying obsolete and hard-to-find components to meet their specific needs.
  • Page 2 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 3: Table Of Contents

    IDE ......11 ® IDE Software Download and Install ..........11 Keil uVision Nuvoton Nu-Link Driver Download and Install ........... 11 Hardware Setup ..................11 Example Program ..................11 How to Start NuTiny -SDK-M0519 on the IAR Embedded Workbench ....13 IAR Embedded Workbench Software Download and Install ........
  • Page 4 M0519 GPIO for 100 pin Schematic ................ 22 SDK Circuit Schematic ................23 Nu-Link-Me V3.0 Schematic ................ 24 REVISION HISTORY ................25 Apr 26, 2016 Page 3 of 26 Rev 1.00...
  • Page 5: Overview

    M0519 OVERVIEW NuTiny-SDK-M0519 is the specific development tool for NuMicro M0519 series. Users can use NuTiny-SDK-M0519 to develop and verify the application program easily. NuTiny-SDK-M0519 includes two portions. One is NuTiny-EVB-M0519 and the other is Nu-Link- Me. NuTiny-EVB-M0519 is the evaluation board and Nu-Link-Me is its Debug Adaptor. Thus, users do not need other additional ICE or debug equipment.
  • Page 6: Nutiny-Sdk-M0519 Introduction

    To use 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 7: Nutiny -Sdk-M0519 Jumper Description

    VCOM function. SW3 connects pin 31(P3.0/RXD) and pin 32(P3.1/TXD) in NuTiny- EVB-M0519 with pin 22(PB.1/TXD) and pin 21(PB.0/RXD) in Nuvoton ICE adaptor (Nu- Link-Me V3.0). SW3 connects pin 29(VCOM) in Nuvoton ICE adaptor (Nu-Link-Me V3.0) to GND to enable VCOM function.
  • Page 8 M0519 Switch Pin Function UART0 Mode VCOM Mode Number Name ICE_TX ICE_RX VCOM_EN X: Unused. Apr 26, 2016 Page 7 of 26 Rev 1.00...
  • Page 9: Pin Assignment For Extended Connector

    M0519 Pin Assignment for Extended Connector NuTiny-EVB-M0519 provides M0519VE3AE on board and the extended connector for (JP5, JP6, JP7 and JP8) for LQFP100-pin. Table 2-1 is the pin assignment for M0519. Pin No Pin Name Pin No Pin Name PVSS P5.3,SPI2_CLK P9.7,SPI1_SS P5.4,SPI2_SS...
  • Page 10 M0519 P1.1,PWM1_CH1 P7.4,ADC1_CH4,ACMP2_N P1.0,PWM1_CH0 P7.3,ADC1_CH3 P3.0,UART0_RXD P7.2,ADC1_CH2 P3.1,UART0_TXD,ACMP0_O P7.1,ADC1_CH1 P4.7,TM3 P7.0,ADC1_CH0 P8.4,ACMP0_P P8.3,ACMP0_N P5.0,SPI0_MOSI,UART0_nRTS P9.0,OP1_O P5.1,SPI0_MISO,UART0_nCTS P9.1,OP1_N P2.7,SPI0_CLK,UART1_nRTS P9.2,OP1_P P2.6,SPI0_SS,UART1_nCTS P2.5 P2.4 P8.5 P0.7,STADC P9.3,PWM1_BRAKE1 P0.6,PWM0_BRAKE1 nRESET P0.5,PWM0_CH5 XT1_OUT P0.4,PWM0_CH4 XT1_IN P2.3,ECAP0_IC0 ICE_DAT P2.2,ECAP0_IC1 ICE_CLK P2.1,ECAP0_IC2 P9.4,SPI1_CLK P2.0,SPI2_MOSI,ACMP2_O P9.5,SPI1_MISO P5.2,SPI2_MISO,ACMP1_O P9.6,SPI1_MOSI Table 2-1 Pin Assignment for M0519 Apr 26, 2016...
  • Page 11: Nutiny-Sdk-M0519 Pcb Placemen

    M0519 NuTiny-SDK-M0519 PCB Placemen Users can refer to Figure 2-2 for the NuTiny-SDK-M0519 PCB placements. Figure 2-2 NuTiny-SDK-M0519 PCB Placement Apr 26, 2016 Page 10 of 26 Rev 1.00...
  • Page 12: How To Start Nutiny -Sdk-M0519 On The Keil Μvision Ide

    The hardware setup is shown as Figure 3-1. Figure 3-1 NuTiny-SDK-M0519 Hardware Setup Example Program This example demonstrates the ease of downloading and debugging an application on a NuTiny- SDK-M0519 board. It can be found on Figure 3-2 list directory and downloaded from Nuvoton ™ NuMicro website.
  • Page 13 M0519 C:\ Nuvoton\BSP Library\M0519BSP\SampleCode Directory \StdDriver\SYS\KEIL Project File Figure 3-2 Example Directory This sample code will show some functions about system manager controller and clock controller. ®   Start uVision Start debug mode When using debugger commands, you may: Project –...
  • Page 14: How To Start Nutiny -Sdk-M0519 On The Iar Embedded Workbench

    Figure 4-1 NuTiny-SDK-M0519 Hardware Setup Example Program This example demonstrates the ease of downloading and debugging an application on a NuTiny- SDK-M0519 board. It can be found on Figure 4-2 list directory and downloaded from Nuvoton NuMicro™ website. Apr 26, 2016 Page 13 of 26 Rev 1.00...
  • Page 15 M0519 C:\ Nuvoton\BSP Library\M0519BSP\SampleCode Directory \StdDriver\SYS\IAR Project File Figure 4-2 Example Directory 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 ...
  • Page 16: Starting To Use Nu-Link-Me 3.0 Vcom Function

    STARTING TO USE NU-LINK-ME 3.0 VCOM FUNCTION Downloading and Installing VCOM Driver Please connect to Nuvoton NuMicro™ website (http://www.nuvoton.com/NuMicro) to download the “NuMicro™ ICP Programming Tool” file. After the ICP Programming Tool driver is downloaded, please unzip the file and execute the “ICP Programming Tool.exe”. Simply follow the installation and optional steps to install ICP Programming Tool and Nu-Link USB Driver, which included VCOM driver.
  • Page 17: Vcom Mode Setting On Nutiny-Sdk-M0519

    M0519 Figure 5-3 Install Nuvoton Universal Serial Bus Controllers VCOM Mode Setting on NuTiny-SDK-M0519 Before the NuTiny-SDK-M0519 is connected to the PC, please enable SW3 VCOM function by switching on SW3. The NuTiny-EVB-M0519 transmits through UART0 to VCOM to send out data.
  • Page 18 M0519 open the Option windows, and find the setting in “Device”, “Debug”, and “Utilities” page. Please follow the steps below to check the setting. Step 1 Apr 26, 2016 Page 17 of 26 Rev 1.00...
  • Page 19: Build And Download Code To Nutiny-Sdk-M0519

    M0519 Step 2 Step 3 5.3.3 Build and Download Code to NuTiny-SDK-M0519 Please build the project and download code to NuTiny-SDK-M0519. Apr 26, 2016 Page 18 of 26 Rev 1.00...
  • Page 20: Open The Serial Port Terminal

    M0519 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 5.3.5 Reset Chip After pushing the reset button, the chip will reprogram application and print out debug message. Apr 26, 2016 Page 19 of 26 Rev 1.00...
  • Page 21 M0519 Figure 5-6 Serial Port Terminal Windows Notice: Please switch SW3 on before the NuTiny-SDK-M0519 connects to the PC. When the NuTiny-SDK-M0519 connects to the PC with SW3 switch on, PC will detect VCOM as a USB device and the detection will only be processed once. VCOM will not function if switch on SW3 after the connection.
  • Page 22: Nutiny-Sdk-M0519 Schematic

    M0519 NUTINY-SDK-M0519 SCHEMATIC NuTiny-EVB-M0519 Schematic Off-page Connector 1uF/10V P[1:100] P[1:100] VREF Power Capacitance VREF TICEDAT TICEDAT TICECLK TICECLK TICERST TICERST Tiny _TX Tiny _TX Tiny _RX Tiny _RX D12MO D12MO AVDD D12MI D12MI AVDD ADAVSS ADAVSS P7.7/AINB7 P5.2/MISO2/CPO1 P7.6/AINB6 P2.0/MOSI2/CPO2 P7.5/AINB5/CPP2 P2.1/IC02 P7.4/AINB4/CPN2...
  • Page 23: Gpio For 100 Pin Schematic

    M0519 GPIO for 100 pin Schematic Off-page Connector P[1:100] P[1:100] P100 Title GPIO for 100 pin Size Document Number <Doc> Date: Friday , April 01, 2016 Sheet Apr 26, 2016 Page 22 of 26 Rev 1.00...
  • Page 24: Sdk Circuit Schematic

    M0519 SDK Circuit Schematic D12MO Off-page Connector FERRITE BEAD AVDD P[1:100] P[1:100] TICERST 12MHz TICERST D12MO D12MO D12MI TICERST D12MI 10uF/10V 0.1u 10uF/10V 0.1u AVDD D12MI AVDD PUSH BUTTON (B) ADAVSS Crystal 10uF/10V FERRITE BEAD Reset Power ADAVSS ADAVSS GPIO1 POWER1GREEN Title SDK Circuit...
  • Page 25: Nu-Link-Me V3.0 Schematic

    M0519 Nu-Link-Me V3.0 Schematic ICE CONNECT IF USBVBUS ICE1 SHIELD ICELED USB_D- SHIELD USB_D+ SHIELD ICP1 SHIELD ISPLED Y ELLOW IDLE1 mini USB 5pin VCC_connect 8P4R-330 VCC_connect ICEDAT TICEDAT ICECLK FERRITE BEAD ICE_USB TICECLK ICERST BUSY 1 TICERST GREEN ICE_TX ICE_Status Tiny _TX ICE_AVDD...
  • Page 26: Revision History

    M0519 REVISION HISTORY Date Revision Description 2016.04.26 1.00 Initially issued. Apr 26, 2016 Page 25 of 26 Rev 1.00...