Home

NuTiny-SDK-M051 User's Manual

image

Contents

1. 28 OON M 50 E P32 INTOSTADC___ 32 PO7AD7SCIK1___ aM HN PEHY us _ 36 Vau Ms _ EN 5 6 7 28 29 30 31 32 33 34 35 36 37 38 39 40 2 5 NuTiny SDK M051 PCB Placement Users can refer Figure 2 2 for the NuTiny SDK M051 PCB placement ICEJP9 Ta CI fone mececes mimo ACE H WA CELE 95d B ec NNNM e icons CER ICEL ICER14 Lal EE A B ICECB4 Eg 9 MINI ICERIS A i I ICECB ICEJ2 posam Emm mm m wine mo ICEC6 ICEU2 12 S e Figure 2 2 NuTiny SDK M051 PCB Placement NuTiny SDK M051 User s Manual nuvoTon SSS 3 How to start NuTiny SDK M051 on the Keil uVision IDE 3 1 Keil uVision IDE Software Download amp Install Please connect to Keil company website http www keil com to download the Keil uVision IDE and install the RVMDK 3 20 Nuvoton Nu Link Driver Download amp Install Please connect to Nuvoton company NuMicro website http www nuvoton com NuMicro to download NuMicro Keil uVision IDE driver file Please refer the Chapter 6 1 for the detail download flow When the download had finished please unzip the file and execute the Nu Link_Keil_Driver exe to install the driver 3 3 Hardware Setup The hardware setup is shown as Figure 3 1 Figure 3 1 NuTiny SDK M051 Hardware Setup JE JH d 4 886 3 5753170 Ht 8 7 ETX 86 21 34970699 WEAR JJ Ha 3I 86 755 83298787 Http www 100y
2. 3 4 Smpl NuTiny MO51 Example Program sessssssssseeeee ern 7 4 How to start NuTiny SDK M051 on the IAR Embedded Workbench 8 4 1 IAR Embedded Workbench Software Download amp lnstall cccce ccc cee eee e eee eeeeeeeeeeaees 8 4 2 Nuvoton Nu Link Driver Download Install sesssseeennn nn 8 ASS Hardware Setup dQ occ cera T Meere XA MIN Ni etl a 8 4 4 Smpl NuTiny MO51 Example PrograM oooccccccncnccccccccccacacn heh hmmm eene 9 D MO52 lt AUNY EVB Schegtf slic ex S kde ce ON cece Noi ON 10 6 To Download NuMicro Family Releated Files From Nuvoton Company 11 6 1 To Download NuMicro Keil uVision IDE driver csesee ene 11 6 2 To Download NuMicro AR EWARM driver ccccccccecenec sense mee ener nenas 12 6 3 To Download NuMicro MO51 series BSP Software Library eeen ee 13 7 Revisiog FUSWOLY cree cere ee NN RAM cc a ld co rro rro er cete 13 Wee oJ o 4 886 3 5753170 HER 7J HA EX 86 21 34970699 WEAR JJ ERRI 86 755 83298787 Http www 100y com tw NuTiny SDK M051 User s Manual nuvoTon SSS 1 Overview NuTiny SDK MO51 is the specific development tool for NuMicro M051 series M052 M054 M058 M05106 Users can use NuTiny SDK MO51 to develop and verify the application program easily NuTiny SDK MO51 includes 2 portions One is M052 Tiny EVB and the other is Nu Link Me M052 Tiny EVB is evaluation board
3. Mi co st ILO CO r oo o O IN JOO J Elle 7 e je jaula o ziEzzE EE ZZEZIEE Ojo jo jo jo jo jo jo jo jo jo jo VCC vec D12MO a D12MI JP7 HEADER 6X2 HEADER6X2 Beo JH d 4 886 3 5753170 HEJ FLEX 86 21 34970699 fi 7 HA 3I 86 755 83298787 Http www 100y com tw JP1 HEADER 6X2 HEADER6X2 N36 N35 N34 N33 N32 N31 TICEDAT TN30_TICECLK N29 N28 N27 N26 N25 202011300010 0 HEADER 6X2 HEADER6X2 PIN18 TICERST P2 SIPAP SIP 1P DAVDD P3 SIPAP Document Number Hev M052 TINY V002 DSN 004 Size Date Tuesday August 10 2010 Bheet 1 of 1 NuTiny SDK M051 User s Manual NUVOTON 6 To Download NuMicro Family Releated Files From Nuvoton Company 61 To Download NuMicro Keil uVision IDE driver Step1 To connect to the Nuvoton NuMicro Website http www nuvoton com NuMicro ARM Cortex M0 NuMicro Family Mulllero Family le nuvoTon e brand new 22 bit Meeracentrliar product line Based on he ARIA Corea 440 with peripherals to offer cupart I5DMIPS and SRAM up to 16K Entes B inn Flash EPROM up to 128K byes ISP IAP and ICF funch ns make program updates quick and amp a Thi eral ipable periptiera nido high pre RT EPI IC LEE H Bus am ZB Epped Disce ndior The fac npargors Besse ha Wily ntenralted atun 1 ig J n win perating v qu high r gp imrmunityi and Moreras Hullicro Fesmily cer in
4. ado A Starter Kit made by Nuvoton NUC130 Keil MDK ARM evaluation version included RONENENEM Check Disty NU 440 Examples with source code included EVB w M NUC100 Starter Kit made by IAR Link NUC120 IAR EWARM evaluation version Included Nu IAR SKT nh cin LEX di pe USB Cable NUC130 IAR C C Complier included Setup CD NUC140 USB Plug amp Play U LINK ME NUC100 TO by es MCBNUCIXX NUC120 Keil MDK ARM evaluation version g m USB Cable NUC130 incuded SS ARM C C Complier included USB Plug amp Play Nu Keil SKT Setup CD NUCT40 Step 3 File Download File name Description m NUCAxx Quick Start Guide for Keil uVision4 V1 00 zip Quick start guide using Key RVMDK The Nuvoton Macro Keil uVision Driver allows beRell uVision IDE to zommunicate with Nuvoton Nu Link ICE bridge Q NuMicro Keil uVision IDE driver Build 4033 V1 02 zip THE TITO MUMIMoIEmDCEUdeq eM e Workbench drive allows the IAR ED nuMicro IAR Embedded Workbench driver Build 4033 V1 02 zip Embedded Workbench IDE above v5 41 to 1 02 communicate with Nuvoton Mu Link ICE Q NuMicro ICP Build 4033 V1 02 zip NuMicro ICP tool amp user manual Q HUC1xx ISP V1 08 zip NUC Ta ISP tool amp user manual TE HIIC4 vv MEWA 0041 Anard Schematic v2 n nef NUC To Nu EVB 001 Board Schemetic To download the NuMicro IAR Embeded Workbench driver 12 NuTiny SDK M051 User s Manual nuvoTon 6
5. and Nu Link Me is its Debug Adaptor Thus users do not need additional ICE equipment 2 NuTiny SDK M051 introduction NuTiny SDK M051 can support NuMicro MOS1 series Figure 2 1 is NuTiny SDK MO51 for M051 series and the left portion is called M052 TIN Y EVB and the right portion is Debug Adaptor called Nu Link Me MO052 TINY EVB is similar to other development board Users can use it to develop and verify applications to emulate the real behavior In fact the real chip MOSI6LAN is mounted on the board The on board chip covers M052 M054 and MO058 s features The M052 Tiny EVB can be a real system controller to design user target system Nu Link Me is a Debug Adaptor The Nu Link Me Debug Adaptor connects your PC s USB port to your target system via Serial Wired Debug Port and allows you to program and debug embedded programs on the target hardware To use Nu Link Me Debug adaptor with Keil or IAR Please refer to Nuvoton NuMicro TAR ICE driver user manual or Nuvoton NuMicro Keil ICE driver user manual in detail LQFP 48 pin Reset Key Target Chip extended connector nuvoTron M05 TINY EVB_V00 f IET a E TR La M i a e BE IHE 15 1 94V 0 027 y a C001 22373A 5 22 THE HUIUS m r SNE LQFP 48 pin extended connector ICE Chip ICE Chip USB Connector Figure 2 1 NuTiny SDK MO051 Green Color PCB Board Power LED Light We H d 8 886 3 5753170 Ht 7J HA EXE 86 21 34970699 WERT HF GUI 86 755 83298
6. com tw NuTiny SDK M051 User s Manual NUVOTON BS HE OZ HM 886 3 5753170 HEJ EFEX 86 21 34970699 HEJJ E ve HII 86 755 83298787 Http www 100y com tw 3 4 Smpl_NuTiny M051 Example Program This example demonstrates the ease of downloading and debugging an application on a NuTiny SDK MO051 board The example can be found on the Figure 3 2 list directory so Directory 0 Project File Select Project File Select Project File Look in Smpl_NuTiny EVB_M051 y t Look in Smpl_NuTiny EVB_M051 y t i LN i Smpl NUTINY MO051 My Recent Documents Desktop E My Documents ig My Computer amp Local Disk C 2 tools D amp DATA F Z3 Cortex MO c3 BSP gt M052BSP C3 NuvotonPlatform Keil C3 Sample 5 NuTiny EVB Ca P SCR200901 H S public on Nuvoton Israel DC nuvoton com S Cm0 on nthcief01NNftp S S Pu00 on ntherdvss01 V PS X la Winap on Nuvoton Israel DC nuvoton com 32 BTDownload on EzI01 0130 public X gi i File name Smpl NUTINY MO51 uvpro z E 17 es sib Vas on nihardvss T Z Files of type Project Files uvproj uvmpw uv2 uv3 v Cancel HP Webcam 2 MP AD an aa Menna Figure 3 2 Smpl_NuTiny MO51 Example Directory To use this example m v Start uVision E Start debug mode E Open the Smpl_NuTiny MOS l uvproj pr oject file Using the debugger commands you may Project Ope
7. data and specifications are subject to change without notice All the trademarks of products and companies mentioned in this datasheet belong to their respective owners EH JH 4 886 3 5753170 Ht 8 7 H amp Y CE3 86 21 34970699 FA BE HA JI 86 755 83298787 Http www 100y com tw
8. 3 To Download NuMicro M051 series BSP Software Library Step1 To connect to the Nuvoton NuMicro Website http www nuvoton com NuMicro ARM Cortex M0 NuMicro Family Datasheet and Reterence Uiiig A ura Holes NuMicro Family High Density with more functionality Cortex MO 512KB lo bo BAK TET Mich os d i Step 3 To download the NuMicro M051 series software library 7 Revision History o Iaug 20 2010 HNNN Initial Issued BS HE OZ HM 886 3 5753170 HE RR ETE 86 21 34970699 FE JJ HEL RII 86 755 83298787 Http www 100y com tw 13 NuTiny SDK M051 User s Manual nNnUVOTON Important Notice Nuvoton products are not designed intended authorized or warranted for use as components in systems or equipment intended for surgical implantation atomic energy control instruments airplane or spaceship instruments transportation instruments traffic signal instruments combustion control instruments or for other applications intended to support or sustain life Further more Nuvoton products are not intended for applications wherein failure of Nuvoton products could result or lead to a situation wherein personal injury death or severe property or environmental damage could occur Nuvoton customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Nuvoton for any damages resulting from such improper use or sales Please note that all
9. 787 Http www 100y com tw NuTiny SDK M051 User s Manual NUVOTON SSS Heo JH d 5 886 3 5753170 WE Fr 7 HA FLEX 86 21 34970699 2 1 NuTiny SDK M051 Jumper Description Wd 7 H PRRI 8675583298787 2 1 1 Power Setting Http www 100y com tw e JP2 VCC5 Voltage connecter in M052 TINY EVB e J2 USB port in Nu Link Me POWER model J1 USB port J2 USB port JP2 VCC5 MCU Voltage X Not use 2 1 2 Debug Connector e JP4 Target ICE Connector in M052 TINY EVB e JP8 Nuvoton ICE Connector in Nu Link Me 2 1 3 USB Connecter e Ji mini USB Connecter in MO52 TINY EVB e J2 mini USB Connecter in Nu Link Me 2 1 4 Extended Connecter e JP1 JP5 JP6 and JP7 Show all of chip pins in M052_TINY EVB 2 1 5 Reset Button e SW1 Reset button in M052 TINY EVB 2 1 6 Power Connecter e JP2 VCC connecter in M052_TINY EVB e JP3 GND connecter in MO52_TINY EVB NuTiny SDK M051 User s Manual NUVOTONM BS HE OZ HM 886 3 5753170 HEJ ETE 86 21 34970699 BEJ HL F R 86 755 83298787 Http www 100y com tw 2 2 Pin Assignment for Extended Connector M052_TINY EVB provides M0516LAN on board and the extended connector for LQFP 48 pin Table 2 1 is the pin assignment for MOSI6LAN Pin No 01 2 02 2 03 2 04 05 06 A NSS LAN 07 P3 1 TXD 10 11 12 13 14 15 16 XTAI 40 POQADOCTSI Table 2 1 pin assignment for MOS16LAN P4 6 ICE CLK P4 7 ICE_ DATA a 26 AY
10. NuTiny SDK M051 User s Manual nNnUVOTON NuTiny SDK M051 User s Manual For NuMicro M051 Series FR OZ oH Ft 886 3 5753170 Ht 8 7 ETX 86 21 34970699 FA BE HA UI 86 755 83298787 Http www 100y com tw 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 NuTiny SDK M051 User s Manual nNnUVOTON SSS 1 Over EWN N a ANN oa naa cr NN eee GRY Before cree cag IN 3 2 NUTINYeSDR MO51 inteedulctlon NN cece renee RIN eerte Meter 3 2 1 NuTiny SDK MO51 Jumper Description ccc cccce ee eee et HH Hmmm 4 2 2 Pin Assignment for Extended Connector sssssssssssseesse en ee emen nnn 5 2 3 NuTiny SDK MO51 PCB Placement ssssssssn IH HH e nnn 5 3 How to start NuTiny SDK MO051 on the Keil uVision IDE esennel 6 3 1 Keil uVision IDE Software Download amp Install ceese es 6 3 2 Nuvoton Nu Link Driver Download amp Install sseeeeese mn 6 3 3 M Hardware Setup NN ree ER Ne ree ACN AN eren Notre 6
11. Y EVB Schematic VCC R1 sw1 10K PUSH BOTTOMS 0805R NuTiny SDK M051 User s Manual R11 10K P B 0805R HEADER2 10 KPT 2012 2RR KP 2012 NET2 VCC o DAVDD VCC PR Q L1 ns L0603 L2 POWER KPT 2012 ee 0603 Lb i ZA KP 2012 NET3 ADAVSS 10 DAVDD o 5 3 sw TICERST C1 10uF 10V B1 TANT A TICEDAT TICEDAT E zi TICECLK as TICERST MORRSI C0603 E Reset Circuit 7 00 r co ILO r 09 tu J O o oo pb g SE st Y f t S E t y 09 60 Jon From ICE Bridge s USB Power zzzzzzEzZzzzzZZZ D a ja a jojo jo jo jojo ja jo VCC JP4 2 9 1 2 U1 oo y im bo a 4 NCU120 LQFP 48 FREER RR ER BBE 5 6 o oo 2597 8 009000 X oo 10 Szcaqa OXOC EADER 5 BOorE 8588 HEADER5x2 S BIS daaa Zeazgqg 2 03 azz OGoG PIN1 1 lt lt li PIN2 MOSI_0 AIN5 P1 5 P4 1 PIN3 MISO_0 AIN6 P1 6 P0 4 AD4 SS1 TICERST PIN4 4 SCLKO AIN7 P1 7 P0 5 AD5 MOSI 1 d PINS 5 P0 6 AD6 MISO_1 le PING 6 P0 7 AD7 SCLK1 E q PIN7 7 MOSA KOPP 48 P4 7 ICE_DAT a PINS gf 1XD P3 1 P4 6 ICE_CLK PINS g INTO P3 2 P4 5 ALE PINTO OP MCLK INT1 P3 3 P4 4 CS 5 PINTI SDA TO P3 4 P2 7 AD15 PWM7 PINTZ SCL T1 P3 5 P2 6 AD14 PWM6 HEADER6X2 PWM3 P4 3 avg P2 5 AD13 PWM5 S2z222 o 2222 x n n n o o ER ora T Eoo Ele 629900 CNA MEETS Si Y ANIOS T N Ov o MMEBKNANANANAAYT DA X 29 1 a7 G 0 O Es q O IO ONE
12. ad the uMicro Keil uVision IDE driver HE od JM 886 3 5753170 WERE HLF Eg 86 21 34970699 WEAR JJ ERRIN 86 755 83298787 Http www 100y com tw 11 NuTiny SDK M051 User s Manual NUVOTON BS 3 7o 4 886 3 5753170 HER ETEW 86 21 34970699 WERE HAS JI 86 755 83298787 Http www 100y com tw 6 2 To Download NuMicro IAR EWARM driver Step1 To connect to the Nuvoton NuMicro Website http www nuvoton com NuMicro ARM Cortex 40 HuMicra Family Hulklicro Family da Auvo Togia brand new 32 bit Micracontrotier product line based an Me ARMO Cone 7 440 with peripherals te offer supert Technique Sup features nd connmacthyit Family is based on the ARR Corax M low power high performance microcento with speed up t Dolauheel and ATDMIF S and SRAM up do 18K bries Guilin Flash EPR Map io 15 Dyben Ge LAP and P funcbona nake program updates quick and waa Ridernence Design parat Becides mw higi fiegined teaturez Nublicro Faty j jon Por wide operating voltage gr is uma ly and Tola Puy ainai regm ior ve mper e grade apti 3 Y nad il d ol id i i f rud zi N y Ten x solvers Library oran NuMicro Fam i ifii P iit aga 3 ARE i ax un a a r i at be n toi petar hes i ie Jusvalenti i FAQ St 2 mena GAE Micro crio ln Upcomeng Eventa Hot On iie Tr unir 3 Huilicro e F amity Pied uch Selec a E High Density with more functionality io 512KFE Ua te Baki 1412 64 EIA Arras Ama m m UC100 uas i
13. dus leading ARMS Corea 79 24D rucracortraller fal binas 2 58 performance af i alert t arit val BahilT scent Bra HuMirr NuMicro Family j Upis 512KB f Up io gik PIE ih Mat FB an EX AR SRA v LH bh E A jUCAOL 3 A Apr A Starter Kit m by Nuvoton EG mdi NLC 30 Keil MDK ARM evaluation versionjincluded AEB Check Distyl NUC140 Examples with source code included Hu LB EVB w M NUC100 Starter Kit made by IAR Link NUC120 IAR EWARM evaluation version Included USB Cable NUC130 IAR C C Complier included setup CD NUC140 USB Plug amp Play Nu lAR SKT Starter Kit made by Keil U LINK ME NUCHO00 T id 5 he Keil MDK ARM evaluation version MCBNUCT1XX NUC120 Keil 5KT nclude Check Disty PETRI SIC USB Cable NUCT130 cluded E j Setup CD NUCI40 ARM C C Complier included USB Plug amp Play Step 3 File Download File name NUC1xx Quick Start Guide for Keil uVision4 V1 00 zip allows the Keil uVision IDE to communicate with Nuvoton Nu Link ICE bridge The Huvoton MuMicro JAR Embedded Workbench drive allows the IAR ED uuMicro IAR Embedded Workbench driver Build 4033 V1 02 zip Embedded Workbench IDE above v5 41 communicate with Nuvoton Nu Link ICE bridge ta r Pal Q NuMicro ICP Build 4033 V1 02 zip HuMicro ICP tool amp user manual 3 HUCTxx ISP V1 08 zip NUC1xx ISP tool amp user manual TO NUCA Hi FVR 001 Roard Schemetic v Nnti NUCT1xx Nu EVB 001 Board Schemetic Step 4 To downlo
14. n Po B Compile and link the Smpl_NuTiny M051 m Single step through code application H Run the application Project Build B Program the application into on chip Flash ROM il wi Review variables 1n the watch window LORD 1 Flash Download E Ot FST Reset the device to re run the application The LED will toggle on the M052 TINY EVB board NuTiny SDK M051 User s Manual nuvoTon We 4 7o 4 886 3 5753170 HER EPEA 86 21 34970699 WERE JJ HA JI 86 755 83298787 Http www 100y com tw 4 How to start NuTiny SDK M051 on the IAR Embedded Workbench 4 1 IAR Embedded Workbench Software Download Install Please connect to IAR company website http www iar com to download the IAR Embedded Workbench and install the EWARM 4 20 Nuvoton Nu Link Driver Download amp Install Please connect to Nuvoton company NuMicro website www nuvoton com NuMicro to download NuMicro IAR ICE driver user manual file Please refer the 6 2 for the detail download flow When the download had finished please unzip the file and execute the Nu Link_IAR_Driver exe to install the driver 4 5 Hardware Setup The hardware setup is shown as Figure 3 1 Figure 4 1 NuTiny SDK M051 Hardware Setup NuTiny SDK User s Manual nuvoTon SSS 4 4 Smpl_NuTiny M051 Example Program This example demonstrates the ease of downloading and debugging an application on a NuTiny SDK MO051 board The example can be f
15. ound on the Figure 3 2 list directory Samples code can be download from Nuvoton website Project File Open Workspace Open Workspace Look in Smpl NuTiny EVB M051 in Smpl NuTiny EVB M051 3 My Recent Document AM Y LXI ae Smpl_NuTINY_M05S1 eww E My Documents ES ig My Computer amp Local Disk C c tools D 3 amp DATA F C3 Cortex MO BSP gt MO52BSP 2 NuvotonPlatform AR C3 Sample My Documents NuTiny EVB My Documents o IM SCR200901 H G public on Nuvoton Israel DC nuvoton com 4 My Computer 32 Cm0 on inthcief01 Nftp S C i S Pu00 on nthcrdvss01 V i cu 32 Winap on Nuvoton Israel DC nuvoton com A RAI a S BTDownload on Ezi01_0130 public X a Fie name Smpl_NuTINY_M051 eww S Vss on nthcrdvssO1 Z DD if HP Webcam 2 MP My Network Files of type Workspace Files eww rrr Figure 4 2 Smpl_NuTiny MO51 Example Directory To use this example Hx ZH HF 886 3 5753170 Qe ERJ HE 5 86 21 34970699 E Start IAR Embeded Workbench WE RF JJ HAP RJ 86 755 83298787 Http www 100y com tw B X Open the Smpl_NuTiny M051 eww workspace file File Open Workspace B Compile and link the Smpl_NuTiny M051 application a Project Make 2 B Program the application into on chip Flash ROM M Project Download and Debug The I O will toggle on the M052 TINY EVB board nuvoTon 5 M052 TIN

Download Pdf Manuals

image

Related Search

Related Contents

  BKI-2011C - PRINTINK.si  R - Toshiba  Edirol UA-101 External Sound System  ComfortLite 2 - Philips Healthcare  Cables Direct UT-8848 patch panel  Intimidator Spot Duo User Manual Rev. 1  PX150 - Support  HOUZER MONTANO N-100XL BRONZE Installation Guide  MANUAL DE INSTRUCCIONES  

Copyright © All rights reserved.
Failed to retrieve file