Download Print this page

Nuvoton NuMicro NuTiny-SDK-MINI57 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-MINI57 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Nuvoton NuMicro NuTiny-SDK-MINI57

  • 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 NuTiny-SDK-MINI57 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 3: Table Of Contents

    IDE ......10 ® IDE Software ........10 Downloading and Installing Keil uVision Downloading and Installing Nuvoton Nu-Link Driver ..........10 Hardware Setup ..................10 Example Program ..................10 How to Start NuTiny-SDK-MINI57 on the IAR Embedded Workbench ....12 Downloading and Installing IAR Embedded Workbench Software ......
  • Page 4 Mini57 GPIO for 28 pin Schematic ................21 SDK Circuit Schematic ................22 Nu-Link-Me V3.0 Schematic ................ 23 REVISION HISTORY ................24 Apr 06, 2017 Page 3 of 25 Rev 1.00...
  • Page 5: Overview

    Mini57 OVERVIEW NuTiny-SDK-Mini57 is a specific development tool for NuMicro® Mini57 series. With the NuTiny- SDK-Mini57, user can develop and verify the application program easily. The NuTiny-SDK-Mini57 includes two portions. One is NuTiny-EVB-Mini57 and the other is Nu- Link-Me. NuTiny-EVB-Mini57 is the evaluation board and Nu-Link-Me is its Debug Adaptor. Thus, user does not need other additional ICE or debug equipment.
  • Page 6: Nutiny-Sdk-Mini57 Introduction

    The Nu-Link-Me V3.0 also supports VCOM function, which gives users more flexibility when debugging. 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 ®...
  • Page 7: Nutiny-Sdk-Mini57 Jumper Description

    Input input X: Unused. 2.1.2 Debug Connector  JP4: Connector in target board (NuTiny-EVB-MINI57) for connecting with Nuvoton ICE adaptor (Nu-Link-Me V3.0)  JP2: Connector in ICE adaptor (Nu-Link-Me V3.0) for connecting with a target board (for example NuTiny-EVB-MINI57) 2.1.3 USB Connector ...
  • Page 8 Mini57 Switch Pin Function UART0 Mode VCOM Mode Number Name ICE_TX ICE_RX VCOM_EN X: Unused. Apr 06, 2017 Page 7 of 25 Rev 1.00...
  • Page 9: Pin Assignment For Extended Connector

    Mini57 Pin Assignment for Extended Connector The NuTiny-EVB-MINI57 provides MINI57EDE on board and the extended connector (JP5 and JP6) for TSSOP-28 pin. Table 2-1 is the pin assignment for MINI57EDE. Pin No Pin Function PD.6/UART0_RXD PB.0/ADC0_CH0/ACMP0_P0/ECAP_P0 PB.1/ADC0_CH1/ACMP0_P1/ECAP_P1 PB.2/ADC0_CH2/BPWM_CH1/ACMP0_P2/ECAP_P2 PB.4/ADC1_CH0/ACMP0_N/TM1 PC.1/ADC0_CH4/STADC/ACMP0_P3/ACMP1_P1/SPI0_MOSI/SPI1_MISO nRESET PB.3/ACMP1_N/PGA_I/TM0 PC.2/ADC1_CH2/BRAKE/CCAP_P1/I2C1_SDA/SPI0_MISO/SPI1_MOSI/UART1_RXD...
  • Page 10: Nutiny-Sdk-Mini57 Pcb Placement

    Mini57 NuTiny-SDK-MINI57 PCB Placement Figure 2-2 shows the NuTiny-SDK-MINI57 PCB placement. Figure 2-2 NuTiny-SDK-MINI57 PCB Placement Apr 06, 2017 Page 9 of 25 Rev 1.00...
  • Page 11: Downloading And Installing Keil Uvision ® Ide Software

    This example demonstrates downloading and debugging an application on a NuTiny-SDK-MINI57 ® board. It can be found on Figure 3-2 list directory and downloaded from Nuvoton NuMicro website. The example file can be found in the directory list shown in Figure 3-2.
  • Page 12 Mini57 Directory C:\ Nuvoton\BSP Library\MINI57BSP\SampleCode\Template\Keil Project File Figure 3-2 Example Directory 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 ...
  • Page 13: How To Start Nutiny-Sdk-Mini57 On The Iar Embedded Workbench

    Figure 4-1 NuTiny-SDK-MINI57 Hardware Setup Example Program This example demonstrates downloading and debugging an application on a NuTiny-SDK-MINI57 ® board. It can be found on Figure 4-2 list directory and downloaded from Nuvoton NuMicro website. Apr 06, 2017 Page 12 of 25...
  • Page 14 Mini57 Directory C:\ Nuvoton\BSP Library\MINI57BSP\SampleCode\Template\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 15: 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 Apr 06, 2017 Page 14 of 25 Rev 1.00...
  • Page 16: Vcom Mode Setting On Nutiny-Sdk-Mini57

    Mini57 Figure 5-3 Install Nuvoton Universal Serial Bus Controllers VCOM Mode Setting on NuTiny-SDK-MINI57 Before the NuTiny-SDK-MINI57 is connected to the PC, please enable SW3 VCOM function by switching on SW3. The NuTiny-EVB-MINI57 transmits through UART0 to VCOM to send out data.
  • Page 17: Check The Target Device And Debug Setting

    Mini57 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 18 Mini57 Step 2 Step 3 Apr 06, 2017 Page 17 of 25 Rev 1.00...
  • Page 19: Build And Download Code To Nutiny-Sdk-Mini57

    Mini57 5.3.3 Build and Download Code to NuTiny-SDK-MINI57 Please build the project and download code to the NuTiny-SDK-MINI57. 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.
  • Page 20 Mini57 Figure 5-6 Serial Port Terminal Windows Note: Please switch SW3 on before the NuTiny-SDK-MINI57 is connected to the PC. When the NuTiny-SDK-MINI57 is connected 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 SW3 switched on after the connection.
  • Page 21: Nutiny-Sdk-Mini57 Schematics

    Mini57 NUTINY-SDK-MINI57 SCHEMATICS NuTiny-EVB-MINI57 Schematic Tiny _RX PD6,UART0_RXD LDO_CAP PB.0/ADC0_CH0/ACMP0_P0/ECAP_P0 PB.1/ADC0_CH1/ACMP0_P1/ECAP_P1 CLKO/EPWM_CH0/I2C1_SCL/SPI0_SS/SPI1_CLK/UART1_TXD/PA.0 PB.2/ADC0_CH2/ACMP0_P2/ECAP_P2/BPWM_CH1 EPWM_CH1/I2C1_SDA/SPI0_MISO/SPI1_MOSI/UART1_RXD/PA.1 PB4/ADC1_CH0/ACMP0_N/TM1 EPWM_CH2/I2C0_SDA/SPI0_MOSI/SPI1_MISO/UART0_RXD/PA.2 PC.1/ADC0_CH4/STADC/ACMP0_P3/ACMP1_P1/SPI0_MOSI/SPI1_MISO EPWM_CH3/I2C0_SCL/SPI0_CLK/SPI1_SS/UART0_TXD/PA.3 TICERST D12MI nRESET EPWM_CH4/XT_IN/PA.4 D12MO PB.3/ACMP1_N/PGA_I/TM0 EPWM_CH5/ACMP0_O/XT_OUT/PA.5 Tiny _TX PC.2/ADC1_CH2/BRAKE/CCAP_P1/I2C1_SDA/SPI0_MISO/SPI1_MOSI/UART1_RXD UART0_TXD/PD5 TICEDAT PD.2/ICE_DAT/ADC1_CH1/CCAP_P0/I2C0_SDA/SPI0_MOSI/SPI1_MISO/UART0_RXD ACMP1_O/PGA_O/SPI0_CLK/SPI1_SS/PC.3 TICECLK PD.3/BPWM_CH1/UART1_TXD ACMP1_P2/I2C0_SCL/SPI0_CLK/SPI1_SS/UART0_TXD/ICE_CLK/PD.1 BPWM_CH0/UART1_RXD/PD4 ADC0_CH3/BPWM_CH0/ACMP1_P0/I2C1_SCL/SPI0_SS/SPI1_CLK/UART1_TXD/PC.0 Mini57-TSSOP28 O f f - page C onnect or P[1:28] P[1:28] TICEDAT...
  • Page 22: Gpio For 28 Pin Schematic

    Mini57 GPIO for 28 pin Schematic O f f - page C onnect or P[1:28] P[1:28] Ti t l e GPIO for 28 pin Si z e D ocum ent N um ber R ev <Doc> D at e: Sheet Tuesday , April 11, 2017 Apr 06, 2017 Page 21 of 25...
  • Page 23: Sdk Circuit Schematic

    Mini57 SDK Circuit Schematic O f f - page C onnect or D12MO P[1:28] P[1:28] SW PUSHBUTTON TICERST TICERST D12MO 12MHz D12MO TICERST D12MI D12MI D12MI 10uF/10V Crystal Reset 10uF/10V 0.1u GPIO1 POWER1GREEN Power Ti t l e SDK Circuit Si z e D ocum ent N um ber R ev...
  • Page 24: Nu-Link-Me V3.0 Schematic

    Mini57 Nu-Link-Me V3.0 Schematic ICE CONNECT IF USBVBUS VBUS ICE1 ICELED USB_D- Shield USB_D+ ICP1 Shield ISPLED Shield Y ELLOW Shield IDLE1 VCC_connect 8P4R-330 VCC_connect Shield ICEDAT TICEDAT Shield ICE_USB ICECLK TICECLK ICERST BUSY 1 micro USB 5pin TICERST GREEN ICE_Status ICE_TX Tiny _TX...
  • Page 25: Revision History

    Mini57 REVISION HISTORY Date Revision Description 2017.04.06 1.00 Initially issued. Apr 06, 2017 Page 24 of 25 Rev 1.00...
  • Page 26: Important Notice

    Mini57 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”.