Nuvoton NuMicro Series User Manual

Rmcortex-m 32-bit microcontroller
Hide thumbs Also See for NuMicro Series:

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

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 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 ..................12 How to Start NuTiny-SDK-NUC240 on the IAR Embedded Workbench ....13 IAR Embedded Workbench Software Download and Install ........
  • Page 4 NUC240 GPIO for 100 pin Schematic ................ 22 SDK Circuit Schematic ................23 Nu-Link-Me V3.0 Schematic ................ 24 REVISION HISTORY ................25 Oct 03, 2016 Page 3 of 26 Rev 1.10...
  • Page 5: Overview

    NUC240 OVERVIEW ® NuTiny-SDK-NUC240 is the specific development tool for NuMicro NUC240 series. Users can use NuTiny-SDK-NUC240 to develop and verify the application program easily. NuTiny-SDK-NUC240 includes two portions. One is NuTiny-EVB-NUC240 and the other is Nu- Link-Me. NuTiny-EVB-NUC240 is the evaluation board and Nu-Link-Me is its Debug Adaptor. Thus, users do not need other additional ICE or debug equipments.
  • Page 6: Nutiny-Sdk-Nuc240 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-Nuc240 Jumper Description

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

    NUC240 Pin Assignment for Extended Connector NuTiny-EVB-NUC240 provides NUC240VE3AE on board and the extended connector for LQFP100-pin. Table 2-1 is the pin assignment for NUC240VE3AE. Pin No Pin Name Pin No Pin Name PE.15 PE.4 PE.14 PE.3 PE.13 PE.2 PB.14/INT0/SPI3_SS1/AD0 PE.1/PWM7 PB.13/ACMP1_O/AD1 PE.0/PWM6...
  • Page 10 NUC240 PE.7 PA.6/ADC6/SC1_CLK/UART4_TXD/AD7 VBUS PA.7/ADC7/SPI2_SS1/SC1_DAT/UART 4_RXD/AD6 USB_VBUS Vref USB_VDD33_CAP AVDD USB_D- PD.0/SPI2_SS0 USB_D+ PD.1/SPI2_CLK PB.0/UART0_RXD PD.2/SPI2_MISO0 PB.1/UART0_TXD PD.3/SPI2_MOSI0 PB.2/UART0_nRTS/TM2_EXT/ACMP0_ PD.4/SPI2_MISO1 O/TM2/nWRL PB.3/UART0_nCTS/TM3_EXT/SC2_CD/ PD.5/SPI2_MOSI1 TM3/nWRH PD.6/CAN0_RXD PC.7/ACMP0_N/SC1_CD/AD5 PD.7/CAN0_TXD PC.6/ACMP0_P/SC0_CD/AD4 PD.14/UART2_RXD/CAN1_RXD PC.15/ACMP1_N/AD3 PD.15/UART2_TXD/CAN1_TXD PC.14/ACMP1_P/AD2 PC.5/SPI0_MOSI1 PB.15/INT1/TM0/TM0_EXT/AD6 PC.4/SPI0_MISO1 XT1_OUT/PF.0 PC.3/SPI0_MOSI0/I2S_DO XT1_IN/PF.1 PC.2/SPI0_MISO0/I2S_DI nRESET PC.1/SPI0_CLK/I2S_BCLK PC.0/SPI0_SS0/I2S_LRCLK PE.6...
  • Page 11: Nutiny-Sdk-Nuc240 Pcb Placement

    NUC240 NuTiny-SDK-NUC240 PCB Placement Users can refer to Figure 2-2 for the NuTiny-SDK-NUC240 PCB placement. Figure 2-2 NuTiny-SDK-NUC240 PCB Placement Oct 03, 2016 Page 10 of 26 Rev 1.10...
  • Page 12: How To Start Nutiny-Sdk-Nuc240 On The Keil Μvision

    IDE Software Download and Install ® μ Please visit the Keil company website (http://www.keil.com) to download the Keil Vision and install the RVMDK Nuvoton Nu-Link Driver Download and Install ® Please visit the Nuvoton company NuMicro website (http://www.nuvoton.com/NuMicro) to download “NuMicro ®...
  • Page 13: Example Program

    NUC240 Example Program This example demonstrates the ease of downloading and debugging an application on a NuTiny- SDK-NUC240 board. It can be found on Figure 3-2 list directory and downloaded from Nuvoton ® NuMicro website. C:\ Nuvoton\BSP Library\ Directory NUC230_240_Series_BSP_CMSIS_V3.01.00...
  • Page 14: How To Start Nutiny-Sdk-Nuc240 On The Iar Embedded Workbench

    IAR Embedded Workbench Software Download and Install Please connect to IAR company website (http://www.iar.com) to download the IAR Embedded Workbench and install the EWARM. Nuvoton Nu-Link Driver Download and Install ® Please visit the Nuvoton company NuMicro website (http://www.nuvoton.com/NuMicro ) to download the “NuMicro...
  • Page 15: Example Program

    This example demonstrates the ease of downloading and debugging an application on a NuTiny-SDK-NUC240 board. It can be found on Figure 4-2 list directory and downloaded from ® Nuvoton NuMicro website. C:\ Nuvoton\BSP Library Directory \NUC230_240_Series_BSP_CMSIS_V3.01.001 \SampleCode\StdDriver\SYS\IAR Project File Figure 4-2 Example Directory This sample code will show some functions about system manager controller and clock controller.
  • 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 Oct 03, 2016 Page 15 of 26...
  • Page 17: Vcom Mode Setting On Nutiny-Sdk-Nuc240

    NUC240 Figure 5-3 Install Nuvoton Universal Serial Bus Controllers VCOM Mode Setting on NuTiny-SDK-NUC240 Before the NuTiny-SDK-NUC240 is connected to the PC, please enable SW3 VCOM function by switching on SW3. The NuTiny-EVB-NUC240 transmits through UART0 to VCOM to send out data.
  • Page 18 NUC240 Step 1 Oct 03, 2016 Page 17 of 26 Rev 1.10...
  • Page 19: Build And Download Code To Nutiny-Sdk-Nuc240

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

    NUC240 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. Figure 5-6 Serial Port Terminal Windows Oct 03, 2016 Page 19 of 26...
  • Page 21 NUC240 Notice: Please switch SW3 on before the NuTiny-SDK-NUC240 connects to the PC. When the NuTiny-SDK-NUC240 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-Nuc240 Schematic

    NUC240 NUTINY-SDK-NUC240 SCHEMATIC NuTiny-EVB-NUC240 Schematic Off-page Connector ADAVSS P[1:100] P[1:100] CAN0_TXD CAN0_RXD CAN0_Ctrl_1 U2 NUC240VE3AE CAN0_Ctrl_2 CAN0_H CAN0_L CAN0_L CAN1_TXD CAN1_RXD CAN1_Ctrl_1 CAN1_Ctrl_2 ADC5/PA.5/SC1RST TM1/SPISS11/PB.9 CAN1_H CAN1_H ADC6/PA.6/SC1CLK TM2/SPISS01/PB.10 CAN1_L ADC7/PA.7/SC1DAT/SPISS21 TM3/PMW4/PB.11 CAN1_L Vref VREF T1EX/PWM5/PE.5 TICEDAT AVDD AVDD PE.6 TICEDAT TICECLK SPICS20/PD.0...
  • Page 23: Gpio For 100 Pin Schematic

    NUC240 GPIO for 100 pin Schematic Off-page Connector P[1:176] P[1:176] P100 Title GPIO for 100 pin Size Document Number <Doc> Date: Monday , October 03, 2016 Sheet Oct 03, 2016 Page 22 of 26 Rev 1.10...
  • Page 24: Sdk Circuit Schematic

    NUC240 SDK Circuit Schematic Off-page Connector Vref GPIO1 FERRITE BEAD AVDD JP18 JP19 P[1:100] POWER1GREEN P[1:100] TICERST 0.1u 10uF/10V 0.1u 1uF/16V PUSH BOTTOM (B) 10uF/10V JP16 JP17 JP14 HEADER 2 10uF/10V Power FERRITE BEAD Reset CAN0_TXD ADAVSS CAN0_RXD D12MO X32O CAN0_Ctrl_1 CAN0_Ctrl_2 CAN0_H...
  • Page 25: Nu-Link-Me V3.0 Schematic

    NUC240 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 FERRITE BEAD ICECLK ICE_USB TICECLK ICERST BUSY 1 TICERST GREEN ICE_TX ICE_Status Tiny _TX PVSS...
  • Page 26: Revision History

    NUC240 REVISION HISTORY Date Revision Description 2012.09.14 1.00 Initially issued. Updated the figure of NuTiny-SDK-NUC240 PCB Board in section 2. Updated the Jumper descriptions of NuTiny-SDK- NUC240 in section 2.1. Updated the figure of NuTiny-SDK-NUC240 PCB Placement in section 2.3. 2016.10.03 1.10 Updated the descriptions of example program in...

This manual is also suitable for:

Nutiny-sdk-nuc240

Table of Contents