Home
NuTiny-SDK-NUC442 User Manual
Contents
1. M 3 Starting to Use NuTiny SDK NUC442 on the Keil p Vision IDE 3 1 Downloading and Installing Keil p Vision IDE Software Please connect to the Keil company website http www keil com to download the Keil u Vision IDE and install the RVMDK 3 2 Downloading and Installing Nuvoton Nu Link Driver Please connect to Nuvoton NuMicro website http www nuvoton com NuMicro to download the NuMicro Keil uVision IDE driver file Please refer to section 6 1 for the detailed download flow After the Nu Link driver is downloaded 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 in the following figure Figure 3 1 NuTiny SDK NUC442 Hardware Setup May 09 2014 11 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual nuUuvoTon SS S 3 4 Example Program This example as shown in the directory in Figure 3 2 demonstrates downloading and debugging an application on a NuTiny SDK NUCA42 board The example file can be downloaded from Nuvoton NuMicro website as described in section 6 3 Project File ll l M CIAM URL 3C 8 i NUC4T2 NuTiny LED KEIL 5 Search KEIL Organize v New folder a NUC400SeriesBSP_CMSIS_V3 01 000 SampleCode NUC472 NuTiny LED KEIL M4 Open New folder J NUC400SeriesBSP_CMSIS_V3 01 000 X a
2. File name Description d Nu Link Driver for Keil RVMDK This driver is to support Mu Link to work under V1 25 6287 zip Keil RVMDK Development Environment for all V1 25 6287 2014 01 16 Revision History NuMicro Family Devices This driver is to support Nu Link to work under IAR EWARM Development Environment for all V1 25 6287 2014 01 16 Revision History Nubdiern Family Devices XJ User Feedback TOP Download the NuMicro IAR EWARM driver May 09 2014 24 of 26 Rev V1 00 nuUuvoTon SS M NuTiny SDK NUC442 User Manual Learning Search Downloading NuMicro NUC442 Series BSP Software Library a Parametric Search News Events CSR Human Resources Investors Contact Us Nuvoton Partner Foundry Service Product Related Information Reference Design FAQ Sales Support 28 Technical Support Forum NUC140 240 Connec Nano100 102 Base Series Nano110 112 LCD Series Nano120 USB Series Nano130 Advanced Series nuvoTon i Products O Applications Home gt Support gt Tool amp Software gt Development Tool Hardware Development Tool Hardware Learning Code Development Product Related Information Tool amp Software Development Tool Hardware Development Kit Learning Board PEN va uation Board Programmer omy were y j M Eds IF m TERES T me Third Party Tool F B Customer Target Board E a Reference Design FAQ Sal
3. o i R25 7 4 7K 2 NCT3520U noe pin3 OC is uss oc Open Drain Pin USB_VBUS USB PWR NCT3520U High Active VCC33 Oo L4 L0603 NC CU _ CB17 NC NG C0603 TANT A VCC33 O LS L0603 jor 10uF 10V TANT A _ CB19 0 1u May 09 2014 VREF Oo cB18 jCr10 0 1u C 0603 10uF 10V TANT A ADAVSS HEADER 2X1 NC JP6 AVDD O HEADER 2X1 NC Eris OuF 10V TANT A _ CB20 0 1u C0603 ADAVSS NCT3705U A SOT 25 Off page Connector USB OC PB 0 USB PWR EN Son 4 gt gt VCC33 gt gt GND USB _VBUS _ gt gt usB_VBUS gt gt USB_ID gt gt USB_D USB ID USB D TP10 NC O TP11 NC O TP12 NC O gt gt CE_USBVBUS USB Host Device i CON2 2g 0 USB D R ANDA R0603 USB_D R3Q N R0603 USB MICRO AB RECEP L8 TP14 NC IPIS NC L0603 Off page Connector VDD5V VCC33 VBAT VREF HEADER 2X1 1 and 2 short GND JP7 ADAVSS HEADER 2X1 NC POWER 17 of 26 ICE USBVBUS 2 VCC33 2 VBAT gt gt VREF gt gt GND gt gt ADAVSS Rev V1 00 NUVOTON PIN1 PINS3 PINS PIN7 PIN9 PIN11 PIN13 PIN15 PIN17 PIN19 PIN21 PIN23 PIN25 PIN27 PIN29 PIN31 PIN33 PIN35 HEADER 18X2 NC PIN PIN37 PIN39 PIN41 PIN43 PIN45 PIN47 PIN49 PIN51 PIN53 PIN55 PIN57 PIN59 PIN61 PIN63 PIN65 PIN67 PIN69 PIN71 HEADER 18X2 NC May 09 2014 PIN74 PIN76 PIN78 PIN80 PIN82 PIN
4. 14 X32K_OUT I2C1_SDA PG 2 UARTO TXD VBAT 5 7 PC 12 EBI_A0 CAP_DATA7 SD1_CDn SC4_CD 40 PA 0 TAMPERO SCO_CD CAN1_RXD INTO SPI1 SS0 0 1 18 Mom iie n je Dine eae e Pd PA 1 TAMPER1 SC5 CD CAN1 TXD EBI A22 PC 14 EBI AZ CAP DATAB SD1 CLK TM3 EXT SCA CEST MiSO1 PD 8 SPI3 MISO1 I2CO SCL PC 15 EBI AS CAP DATA4 SD1 DAT3 ey PD 9 SPI3 MOSI1 I2CO SDA Se SC4 CLK SPI1 MISOO BRAKE11 CAP SFIELD EBI A12 TMO CNT OUT SPI CLK EBI A13 STADC EBI A14 ECAP1 IC2 May 09 2014 7 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual nUvolon EE PA 5 SC2 RST SPI3 SS0 I280 BCLK PWMO 0 QEI1 B EBI A15 ECAP1 IC1 PD 13 SPI1_SS0 UART5 CTS ECAPO IC2 PA 6 SC2 CD I250 LRCK PWMO 1 QE A 4 E i E 74 Bane RIG ERE ICG AN PD 14 SPM CLK UART5 RTS ECAPO IC1 49 PG 3 PS2 CLK I S1 DO SC1 RST PD 15 SPI1_MISOO UART5 TXD ECAPO ICO PG 4 PS2 DAT I2S1 DI SC1 PWR PF 0 SPI MOSIO UARTS RXD INT5 PG 5 281 BCLK SC1 DAT 7 VRES 2 PG 6 l2S1 LRCK SC1 CLK 78 VBUS VDD USB VDD33 CAP PA 7 SCO CLK SPI3 SSO PWM1 3 EPWMO 5 EBI A17 47 5 o 5 D USBO D EBI A18 EPWMO 3 EBI A19 USBO D USBO OTG ID 4 EPWMO 2 EBI A20 EPWMO 1 EBI ADO EPWMO O0 EBI AD1 PB 0 USBO OTG5V ST I2CA SCL INT1 PB 1 USBO OTG5V EN I2C4 SDA TM1 CNT OUT PG 7 SPI2 MISO0 I281 MCLK SC1 CD SC3 RST PG 8 SPI2 MOSIO I281 DO UARTA4 RTS SC3 DAT PG 9 SPI2 CLK I281 DI UART4 CTS SC3 CLK PB 2 UART1 RXD SPI2
5. 2 SPIO MISOO ACMPO O ADCO 2 PC 2 EBI AD12 SPIO SSO UART4 RTS SC1 PWR I2S1 LRCK PE 3 SPIO MOSIO ACMPO P3 ADCO 3 PC 3 ECAPO IC2 EBI AD11 QEIO Z SPIO MISO1 UART4 CTS SC1 CD IPS1 MCLKJ PE 4 SPIO SSO ACMPO P2 ADCO 4 PC 4 ECAPO IC1 EBI AD10 QEIO B SPIO MOSI1 PE 5 SDO CDn SPIO CLK ACMPO P1 ADCO 5 oC1 RST I281 DO PE 6 EBI nWR SDO CMD SPIO MISOO PC 5 ECAPO ICO EBI MCLK QEIO A CLKO ACMPO PO ADCO 6 114 PC 6 EBI AD9 TM2 CNT OUT SPIO MISOO 137 PE 7 EBI nRD SDO CLK SPIO MOSIO TM2 EXT ACMPO N ADCO 7 15 115 PC EBI ADS SPIO _ PC 7 EBL ADB SPIO MOSIUTMi EXT _EXT 138 138 AVSS 0000000000000 PF 2 SDO DAT3 SPI3 SSO 140 AVDD PE 8 EBI ALE SDO DAT3 TM1 CNT OUT PF 3 SDO DAT2 SPI3 CLK ACMPI N ADCO S ADCI of PF A4 SDO DAT SPI3 MISOO DEN DANE DADOS PE 10 EBI nWRL SPIO MISO1 ACMP1 P1 PF 5 SDO DATO SPI3 MOSIO ADCO 10 ADC1 2 PE 11 EBI nCS0 ACMP2 PS SDO DATO Mii 14 Spio MOSI1 ACMP1_P2 ADCO 11 ADC1 3 Table 2 1 NUC442JI8AE LQFP 144 pin Assignment for Extended Connectors May 09 2014 9 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual NUVOTON ES M 2 3 NurTiny SDK NUCA42 PCB Placement The following figure shows the NuTiny SDK NUC442 PCB placement NID EE m gen c m En i ra Aag I ME e i HN e du E i e nlii Figure 2 2 NuTiny SDK NUC442 PCB Placement May 09 2014 10 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual nuUvoTon SS
6. O a NT CE OE Pee N LOFP 144 pin Extended Connector J1 J4 Figure 2 1 NuTiny SDK NUC442 Blue PCB Board Reset Key ICE VCC 3 3V or 5V SW1 Controller JP1 May 09 2014 4 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual NUVOTON pee 2 1 NuTiny SDK NUC442 System Description 2 1 1 Power Settings e ICEJ1 USB port in Nu Link Me e CON 2 Micro USB port in NuTiny EVB NUC442 e JP4 JP14 VDD5V voltage connector in NuTiny EVB NUC442 POWER ICEJ1 CON2 JP4 JP14 MCU m Mode USB Port Mini USB Port Micro VDD5V Voltage Mode1 Mode t Connected to PC PC GonnectedtoPC X ooo DC5V Doggy ICE from PC supplies Output p power Mode 3 X Unused CON from PC supplies Mode 2 EBEN EE Ory DC33V the power when TP10 is P P wired to JP4 or JP14 Connect to PC DC 5V JP4 or JP14 supplies the DC 3 3V USB port is host Input power 2 1 2 Debug Connectors e JP11 The connector in the target board NuTiny EVB NUC442 for connecting with Nuvoton ICE adaptor Nu Link Nu Link Pro or Nu Link Me e ICEJP2 The connector in the ICE adaptor Nu Link Me for connecting with a target board e g NuTiny EVB NUC442 2 1 3 USB Connector e ICEJ1 Mini USB connector in Nu Link Me connected to a PC USB port 2 1 4 USB OTG Host Device Connector e CON2 Micro USB connector in NuTiny EVB NUC442 for application use 2 1 5 Extended Connectors J1 J2 J3 and J4 Show all chip pins in NuTiny EVB NUC442 2 1 6 Reset B
7. SDA CMP2 O SDO CDn VIDEO D0 JTAG TDO EBI A7 5 SC5 RST TXD3 VIDEO VSYNC JTAG RST EBI A9 PD 6 SC5 PWR nRTSS3 SDO CMD VIDEO HSYNC EBI A10 PD 7 SC5 DAT nCTS3 SDO CLK VIDEO PIXCLK EBI A11 PE 12 ADC1 4 CMP1 P3 CMP2 P2 EBI nCS1 PD 2 STADC I2C3 SCL SD1 DO VIDEO D1 EBI A6 PE 13 ADC1 5 CMP2 P1 EBI nCS2 PE 14 ADC1 6 CMP2 PO EBI nCS3 PE 15 ADC1 7 CMP2 N PF 12 OPA1 PF 14 OPA1 O RXD1 PG O nCTSO INT6 PD 1 SPI1 PD 4 SC5 CD RXD3 CMP1 PG 13 XT1 IN LDO CAP 354 VSS 35 VDD PG 11 ICE DAT JTAG TMS NUC442JI8AE LQFP144 12 VSS 13 VDD 36 PG PING PIN12 PIN13 PIN32 PIN33 PIN34 PIN7 7 Pn PE PIN10 0 PIN11 i ICE CLK PIN35 ICE DAT PIN36 XT1 IN PIN28 28 E PIN29 29 E 30 RESET PN3 3T 4 O VCC33 CB15 0 1u C0603 CT8 1uF 16V TANT A NUVOTON NUC442 MCU Document Number ate Monday June 09 2014 May 09 2014 15 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual NUVOTON C7 R19 20p XT1 OUT NNF R0603 coo03 L E R20 i2wuz eo XTALa p roe 20p 4 XT1_IN kl M XTi OUT C 0603 c gt gt XT1_IN C9 ADU S9x732_ OUT NC o XSRIN Al32 OUT E C 0603 l 2 L gt R0603 XTAL 3 4MM 2P XT32 IN C11 NC XT32 IN CRYSTAL Off page Connector MESE TICERST VCC33 VCC33 GND gt gt GND May 09 2014 16 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual NUVOTON EE M
8. on Search ran Parametric Search eS __ News Events CSR Human Resources Investors Contact Us Nuvoton Partner dii Products Applications 3 Support tu Foundry Service 7 Buy myNuvoton X About Nuvoton aa o Home gt Support gt Tool amp Software gt Development Tool Hardware Development Tool Hardware MS NuMiero M4 MCU Product Related Information l l NUC472 Learning Code Development Mass Production Upgrade ERRETES S Tool amp Software a d Development Tool Hardware i pic DELMI AC Development Kit Ed at lt amp 1 Learning Board Events Programmer Nuvoton Technology Hosts 32 bit Cortex MA Ether 2014 05 02 Third Party Tool Reference Design Target Board EI KPrognmwing 2014Q1 Investor Conference FAQ p zm 2014 04 24 Sales Support More Technical Support News ix A nw isa Nuvoton Announces Monthly Revenue for April 2014 2014 05 06 May 09 2014 23 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual nuUvoTon Programmer Software Tools Package File name Description Version Date A ICP Programming Tool V1 25 6267 zip x NuMicro ICP tool amp user manual V1 25 5287 2014 01 15 Revision History e ISP Programming Tool V1 44 zip ga NuMicro ISP Programming Tool amp user manual 2014 01 20 Revision History h NuGang Programmer V6 21 zip x NuGang Programmer software amp user manual 2014 01 24 Revision History Nu Link Driver
9. 2 Series in which the left portion is called NuTiny EVB NUC442 and the right portion is called Nu Link Me The NuTiny EVB NUC442 is similar to other development boards User can use it to develop and verify applications to emulate the real behavior The on board chip covers NUC442 Series features The NuTiny EVB NUC442 can be a real system controller to design users target systems The Nu Link Me is a Debug Adaptor which 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 the Nu Link Me Debug Adaptor with IAR or Keil please refer to the Nuvoton NuMicro IAR ICE Driver User Manual or Nuvoton NuMicro Keil ICE Driver User Manual for details The two documents will be stored in the local hard disk when each driver is installed May 09 2014 3 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual nuUuvoTon LOFP 144 pin Extended Connector J2 J3 wr 05 WI Wi ELLA Lco ooo 00000000000 08 WE WE WI WOK 98 9 HS 327 90 84 Ww o Bess BEZ qi 57M M ST SO AB Ww ww 1 w M VDD5V ivi JP4 us Power LED IO LED PB 10 USB OTG E Tug ac Je PLA of Ot Oh Oh OROKORRE Sranan e S 0 led Be J Connector 9 sis CON2 9 fr he 1e OK 1 ICE Co ntroller AN keul Mz Target Chip B OS P Dl COM IEEE ER USB Connector GND JP6 e oo0oo0oo0oo0o0o0oo0o0oo0o0o00000 7 n i 5 uv
10. 84 PIN86 PIN88 PIN90 PIN92 PIN94 PIN96 PIN98 PIN100 PIN102 PIN104 PIN106 PIN108 NuTiny SDK NUC442 User Manual PIN73 PIN75 PIN77 PIN79 PIN81 PIN83 PIN85 PIN87 PIN89 PIN91 PIN93 PIN95 PIN97 PIN99 PIN101 PIN103 PIN105 PIN107 HEADER 18X2 NC CONNECTOR PIN110 PIN112 PIN114 PIN116 PIN118 PIN120 PIN122 PIN124 PIN126 PIN128 PIN130 PIN132 PIN134 PIN136 PIN138 PIN140 PIN142 PIN144 J4 PIN109 PIN111 PIN113 PIN115 PIN117 PIN119 PIN121 PIN123 PIN125 PIN127 PIN129 PIN131 PIN133 PIN135 PIN137 PIN139 PIN141 PIN143 HEADER 18X2 NC 18 of 26 Off page Connector PIN 1 144 X PIN 1 144 Rev V1 00 NuTiny SDK NUC442 User Manual nuUvoTon JP8 ol 4 Oj 2 Off page Connector HEADER 2X1 NC HEADER 2X1 NC TICEDAT sy LEDA TICECLK en TICERST SS ESE JP10 TXDO TXDO A 1 ol 5 en IGE GEK HEADER 2X1 1 and 2 short RESET MO TXD lt lt MO0_TXD MO RXD IO EADER 5X2 NC 2 AD GND ICE INTERFACE Off page Connector Saa 5 noo y WEU M gt 330 gt 330 PB 10 gt N R0603 N R0603 VCC33 GND POWER 22GND Green KP 2012 May 09 2014 19 of 26 Rev V1 00 nuUuvoTon Jpu 5 2 Nu Link Me Schematic ICE JP14 ICE VCC5 o ICE VCC o HEADER 2X1 NC ICE VCC5 ICE VCC5 o o NT o 0 ICE USBVBUS go ICE USBVBUS ICE VCC5 o NCT3705U A
11. ARIDE Workspace Downloads d FreeRTOS Ji FreeRTOS IwIP httpd FreeRTOS IwIP TCP EchoServer Ji FreeRTOS IwIP UDP EchoServer Hard Fault Sample Jo NUC472 NuTiny J LED IAR Ji KEIL amp Semihost d StdDriver n Template J uCOSI amp uCOSII IwIP httpd Ji uCOSII Ji ThirdParty lt E led eww Date modified 2014 5 29 F 01 53 Date created 2014 5 29 F 01 53 IAR IDE Workspace Size 157 bytes El Recent Places Libraries Documents 2 Music Pictures B Videos jE Computer amp OsDisk C public nuvoton j Workspace Files eww Y Filename led eww Figure 4 2 Example Directory To use the example The I O LED on the NuTiny EVB NUC442 board will be toggled on SB H Start IAR Embedded Workbench a File Open Workspace Open the led eww workspace file Oog m Project Make Compile and link the LED application May 09 2014 E L Project Download and Debug Program the application code into on chip Flash ROM E Single step through code Reset the device Run the application 14 of 26 Rev V1 00 nuUuvoTon NuTiny SDK NUC442 User Manual 5 NuTiny SDK NUC442 Schematics 5 1 CT3 1uF 16V TANT A NuTiny EVB NUC442 PB 1 PBO USB_VDD33_CAP Schematic CT2 IC 10uF 10V TANT A PB 0 PB 0 PB 1 DPB 1 USB VBUS USB VBUS USB ID gt gt USB_D R2 USB_D VCC330 PIN108 PIN105 PI
12. DO PS2 CLK PG 3 EBI A16 CAN1 TXD PWMA1 I2S0 LRCLK SC2 CD PA 6 EBI_A15 PWMAO I2S0_BCLK SPI3_SS0 SC2_RST PA_5 EBI A14 I280 DI SPI3 CLK SC2 PWR PA 4 EBI A13 1280 DO SPI3 MOSIO SC2 CLK PA 3 EBI A12 VIDEO SFIELD I2S0 MCLK SPI3 MISO0 SC2 DAT PA 2 I2C0 SDA SPI3 MOSH PD 9 I2C0 SCL SPI3 MISO1 PD 8 CAN1 TXD SC5 CD TAMPER1 PA 1 INTO CAN1 RXD SCO CD TAMPERO PA 0 VBAT I2C1 SDA X32K OUT PG 14 NT N ER CT6 g o N Of v v v 4 uv m 1uF 16V TANT A N41 N40 IN39 VBAT N38 N37 XT32 IN XT32 OUT VBAT VCC33 o css 0 1u C0603 gt gt USB_D PB_1 OTG_5V_EN to control the NCT3520U powe switch PB_0 OTG_5V_ST to checkk the over current status USB HOST DEVICE ff page Connector X OUT jr our XT IN SSN XB OUT re OUT XT32TIN gt gt xT32_IN Crystal ff page Connector VDD5V es gt gt VCC33 VBAT gt gt VBAT VREF Y VREF gt gt GND gt gt ADAVSS GND ADAVSS AVDD gt gt AVDD Power ff page Connector PIN 1 144 LIUM IL PIN 1 144 gt gt ICE_USBVBUS ff page Connector TICEDAT pp SE DAT CEDAT TICECLK Sec MGE SUI TICERST gt gt RESET _ TXD X INDoM RXDO TXDO RXDO ICE PF 6 EMC MII TXCLK RXD2 SDO CDn PF 7 EMC MII TXD3 TXD2 SD0 CMD I2C1 SCL X32K IN PG 15 CT7 1uF 16V TANT A VCC330 N127 127 129 N130 128 u N125 T T30 P P P P P PI
13. Investors Contact Us Nuvoton Partner i Products Or Applications id Support si Foundry Service EJ Buy ai myNuvoton 3 About Nuvoton Home Support Tool amp Software Development Tool Hardware Development Tool Hardware DQ Learning Code Development Mass Production Upgrade NuMicro M4 MCU Product Related Information NUC472 Tool amp Software On Line In Circuit Programming system ING STI Cm uu Development Tool Hardware DEES Target Board TU ne a Development Kit d ay i Learning Board EE E A valuation Board vents Programmer Mee i yamming Cortex M4 Ether 2014 05 02 2014Q1 Investor Conference Third Party Tool bites Customer Reference Design Target Board 3 Pe aa Kell RvMO J Nuvoton Technology Hosts 32 bit Teas A 2014 04 2 FAQ 2014 04 24 More Sales Support Technical Support eke News xc y Third Party Nuvoton Announces Monthly Revenue for April 2014 2014 05 06 May 09 2014 21 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual NUVOTON ES Programmer Software Tools Package File name Description Version Date A ICP Programming Tool V1 25 6287 zip x V1 25 6207 Revision History NuMicro ICP tool amp user manual 2014 01 16 e ISP Programming Tool V1 44 zip x 2014 01 20 Revision History NuMicro ISP Frogramming Tool amp user manual h NuGang Programmer V6 21 zip x 2014 01 24 Revision History NuGang Progra
14. N103 PIN102 101 PIN100 PIN99 PIN98 PIN96 PIN95 108 107 106 105 104 103 102 or Mmo tog SR 97 96 95 I ga PIN94 93 PIN93 boo bor PIN88 PIN87 86 PIN86 bes ICE Hz 82 81 PIN92 PIN91 PIN90 PIN89 bo 39 88 er PIN85 PIN84 PIN83 USB ID PIN82 USB D PIN80 USB VSSA 80 PIN79 78 rid PIN76 PIN75 PIN74 PIN73 7B bye ao m USB VRES RK USB VSSA yvan R0603 EI L0603 PIN109 109 PIN110 0 PIN111 PIN112 2 N113 TI3 N114 114 N115 115 N116 116 id 7 PIN118 8 PIN119 y PIN120 20 N121 121 N122 122 N123 LDO CAP 12C1 SCL RXD4 CAN1 RXD PH 0 ETM TRACE CLK EBI AD13 RXD5 PB 11 VSS VDD ETM_TRACE_D2 EBI_AD10 nCTS5 PB_8 12S1_DO SC1_DAT EMC_MII_MDIO PB_15 1281 MCLK SC1 RST EMC MII MDC PB 14 EBI AD15 SPI2 MOSH nCTS4 CANO TXD EMC MII MDIO PB 13 l2C1 SDA TXDA4 CAN1 TXD PH 1 ETM TRACE DO EBI AD12 TXD5 PB 10 ETM TRACE D1 EBI AD11 nRTS5 PB 9 INT2 EBI MCLK I281 DI RXD4 SC1 DAT EMC PHY CLK PC 0 EBI AD14 SPI2 MISO1 nRTS4 CANO RXD EMC MII MDC PB 12 ETM TRACE D3 EBI AD9 nCTS4 PWMB5 I2C2 SDA PB 7 EBI AD8 nRTS4 PWMB4 I2C2 SCL PB 6 EBI AD7 TXD4 SPI2 MOSIO nCTS1 PB 5 EBI AD6 TMO RXD4 SPI2 MISOO nRTS1 PB 4 EBI AD5 SPI2 CLK TXD1 USB1 D PB 3 EBI AD4 SPI2 SSO0 RXD1 USB1 D PB 2 1281 DO SPI2 MOSIO nRTS4 SC3 DAT PG 8 SC1 CD I281 MCLK SPI2 MISO0 SC3 RST PG 7 1281 DI S
15. N133 33 LLPINi34 134 N131 N132 T3T N136 T36 N137 137 N138 T38 N139 140 T39 0 PF_8 EMC_MII_TXD2 nRTS2 SD0_CLK PH 2 nCTS2 LDO_CAP VSS VDD PE_0 ADC0_0 INT4 PE_1 ADC0_1 PE 2 ADCO 2 SPIO MISOO0 CMPO O PE 3 ADCO 3 SPIO MOSIO CMPO P3 PE 4 ADCO 4 SPIO SS0 CMPO P2 PE 5 ADCO 5 SPIO CLK CMPO P1 SDO CDn PE 6 ADCO 6 SPIO MISOO0 CMPO PO SDO CMD EBI nWR PE 7 ADCO 7 SPIO0 MOSIO CMPO N SD0 CLK EBI nRD AVSS VREF AVDD PE 8 ADCO 8 ADC1 O0 CMP1 N SDO D3 TM1 EBI ALE IN nCTS1 IN TXD1 D1 VIDEO_D2 EBI_A5 CLK TMO SD1 O VIDEO SCLK JTAG TDI EBI A8 OUT C PE 9 ADCO 9 ADC1 1 CMP1 PO SDO D2 EBI nWRH PE 10 ADCO 10 ADC1 2 CMP1 P1 SDO D1 SPIO MISO1 EBI nWRL PE 11 ADCO 11 ADC1 3 CMP1 P2 SDO DO SPIO MOSH CMP2 P3 EBI nCSO 11 OPAO O nRTS1 10 ICE CLK JJTAG TCLK PG 1 RXDO PG 2 TXDO PF _9 OPA0_IN PWMAO PC 12 SPI1 SS0 SC4 CD SD1 CDn VIDEO D7 EBI A0 ETM TRACE D3 PG 12 XT1 RESETn PF 10 OPAO IN PWMA1 PF 13 OPA1 PC 14 SPl1 MISO1 SC4 PWR TM3 EXT SD1 CLK VIDEO D5 EBI A2 ETM TRACE D1 piN14 14 PF 15 nRTSO 0 15 TXDO PIN16 N18 8 PIN19 19 PC_13 SPI1_MOSI1 SC4 RST SD1 CMD VIDEO D6 EBI A1 ETM TRACE D2 PIN20 20 PIN21 2 PIN22 22 PD 0 SPI1 MISO0 SC4 CLK SD1 D2 VIDEO D3 EBI A4 INT3 ETM TRACE CLK PIN23 23 PIN24 24 PIN25 PIN26 TPIN 27 27 PDS PC 15 SPl1 MOSIO SC4 DAT SD1 D3 VIDEO D4 EBI A3 ETM TRACE DO PD 3 SC5 CLK I2C3
16. NuTiny SDK NUC442 User Manual NUVOTON _ _ ARM Cortex M4 32 BIT MICROCONTROLLER NuTiny SDK NUC442 User Manual for NuMicro NUC442 Series The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton TM 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 May 09 2014 Rev V1 00 NuTiny SDK NUC442 User Manual nUvolon SS Sq E O DOO aL ZLLLEL L EOLIIOOLECdTCZDZC IIIL Table of Contents 1 OVERVIEW EDU runs mh dL UEM 3 2 Introduction to NuTiny SDK NUCAA2 JAA eran El oon eei hnnhnnen enhn 3 2 1 NuTiny SDK NUC442 System Description 4X EX eeen eeens 5 2 2 Pin Assignment for Extended Connectors eee eee hh hne nane 7 2 3 NuTiny SDK NUC442 PCB Placement aan enn 10 3 Starting to Use NuTiny SDK NUC442 on the Keil uVision IDE 11 3 1 Downloading and Installing Keil uVision IDE Software een 11 3 2 Downloading and Installing Nuvoton Nu Link Driver nennen eenen 11 3 3 Hardware SCUD a e esata LII I M EI IE DU NEM MEN TL 11 Bed sEXamplesPro Galina tenet e
17. PI2 CLK nCTS4 SC3 CLK PG 9 PC 1 EMC MII RXERR SC1 CLK TXD4 I281 BCLK TM3 EBI AD13 PC 2 EMC MII RXDV SC1 PWR nRTS4 I281 LRCLK SPIO SSO EBI AD12 PC 3 EMC MII RXD1 SC1 CD nCTS4 I281 MCLK SPIO MISO1 EBI AD11 PC 4 EMC MII RXDO SC1 RST I281 DO SPIO MOSI1 EBI AD10 PC 5 EMC MII RXCLK EBI MCLK PC 6 EMC MII TXDO SPIO MISOO TM2 TM2 EXT EBI AD9 PC 7 EMC M TXD1 SPIO MOSIO TM1 EXT EBI AD8 PC 8 EMC MII TXEN SPIO CLK TMO EXT PF 2 EMC MII RXD3 SPI3 SSO SDO D3 PF 3 EMC MII RXD2 SPI3 CLK SDO D2 PF 4 EMC MII COLO SPI3 MISOO SDO D1 PF 5 EMC MII CRS SPI3 MOSIO SDO DO VSS VDD 12C4 SDA USBO OTG5V EN PB 1 INT1 I2C4 SCL USBO OTG5V ST PB 0 USBO OTG ID USBO D USBO D VSSA 79 USB VDD33 CAP TXD5 SPI MISO0 PD 15 nRTS5 SPIi CLK PD 14 nCTS5 SPI1 SSO PD 13 VBUS 777 VRES 776 INT5 RXD5 SPI1 MOSIO PF 0 VDD vss LDO_CAP EBI AD3 PWMA3 TXD2 PC 11 EBI AD2 PWMA2 RXD2 SC3 CD PC 10 EBI_A22 12C0 SDA nCTS2 SC3 RST PC 9 EBI A21 12C0 SCL nRTS2 SC3 PWR PA 15 I2C4 SDA SC3 CLK PD 12 SC3 RST PD 11 I2C4 SCL SC3 DAT PD 10 EBI AD3 PWMBS SC3 CLK TXDO PA 14 EBI AD2 PWMB4 SC3 DAT RXDO PA 13 EBI_AD1 PWMA4 SPI3_MOSI1 nCTS0 PA_12 EBI ADO PWMAS SPI3 MISO1 nRTSO PA 11 EBI A20 PWMBO SPI3 MOSIO SCO DAT PA 10 EBI_A19 PWMB1 SPI3_MISO0 SCO_PWR PA_9 EBI_A18 PWMB2 SPI3_CLK SCO_RST PA_8 EBI_A17 PWMB3 SPI3_SS0 SCO_CLK PA_7 vss VDD SC1_CLK I2S1_LRCLK PG_6 SC1 DAT I2S1 BCLK PG 5 SC1 PWR I2S1 DI PS2 DAT PG 4 SC1 RST I281
18. SOT 25 CRYSTAL ICE VCC ICERP1 3 Q 1 ov 5 SO P 8P4R 330 8P4RA ICE ICELED 2 NA d Red 6 KP 2012 IC _ICPLED_2 R Yellow KP 2012 IDLE RED 2RR ld Red KP 2012 BUSY GREEN 2 KK 4 Green KP 2012 ICE VCC 1 ICER5 10K R0603 ICE_RST ICEC4 Te RESET CIRCUIT May 09 2014 ICE VCC33 o o 3 JP1 HEADER 3X1 2 and 3 short ICE VCC33 9 CB73 4 7uF 0603 ICE AV L D ADAVSS DD ICE VCC o ICEL1 L0603 ICEL2 OAN L0603 NuTiny SDK NUC442 User Manual HEADER 5X1 NC HEADER 5X1 STADC TMO PB8 INTO PB14 CPO1 PB13 CPOO0 PB12 x32l X320 I2C1SCL PA11 12C1SDA PA10 I2COSCL PA9 I2COSDA PA8 RX1 PB4 TX1 PB5 RTS1 PB6 CTS1 PB7 LDO VDD VSS ICELED ICE VCC RED o ICECT1 10uF 10V TANT A ICECBt 0 1u C0603 D D ICE USBVBUS 5 _ icec3 1uF C0603 PVSS VDD1 VSS1 RESET PBO RXO ICED3 SS24A VCC A o RBO60L i TICEDAT TIEN TIGECLK SSeS 1 TICERST gt gt HEADER 5x2 NC HEADER 5X2 ICE CONNECT IF ICE USBVBUS o SHIELD SHIELD SHIELD SHIELD mini USB 5pin USB MINI B ICE AVDD G TP2 SIP 1P ICE USBVBUS Tp3 T v XT1 In XT1 Out INT1 PB15 CPP1 PC14 CPN1 PC15 CPPO PC6 CPNO PC7 AVDD ADC7 PA7 ADC6 PA6 ADC PA5 ld v PA4 ADC4 PA3 ADC3 PA2 ADC2 PA1 ADC1 PAO ADCO AVSS ICE_CK ICE_DAT PA12 PWMO PA13 PWM1 PA14 PWM2 PA15 PWM3 PC8 SS10 PC9
19. SPCLK1 PC10 SDI10 PC11 SDO10 NA ADAVSS NUC12SRE3AN RRSET1 100K R0603 TICEDAT PB1 TX0 PB2 RTS0 PB3 CTS0 PC3 SDO00 PC2 SDIOO PC1 SPCLKO PCO0 SS00 PES PB11 TM3 PB10 SS01 TM2 PB9 SS11 TM1 MO_TXD 1P a O HEADER 2X1 NC RXI ib M0 RXD 2 O HEADER 2X1 NC USB D ICE USB D ICECB2 0 1u C0603 MCU and USB 20 of 26 Date Monday June 09 2014 Rev ICE VCC o RTCK1 100K R0603 HEADER 2X1 NC V1 00 NuTiny SDK NUC442 User Manual nuvolon gp 6 Downloading NuMicro Related Files from Nuvoton Website 6 1 Downloading NuMicro Keil p Vision IDE Driver Visit the Nuvoton NuMicro website http www nuvoton com NuMicro nuvoTon an EN Crem oen On News Events CSR Human Resources Investors Contact Us Nuvoton Partner di Products O Applications HH EJ Buy ai myNuvoton a About Nuvoton Learnin Home gt Products gt Microcontrollers gt ARM Corte g Product Related Information ARM Cortex M0 MCUs Reference Design N U M IC ro M 4 M U ao NUC472 Sales Support TIT with Ethernet MAC Technical Support 0 0X Forum NUC220 NUC240 at mv _ j gnd series Online Support NUC140 240 Connec NUC120 NUC230 PP Nano100 102 Base Series Online Training Nano110 112 LCD Series NUC140 Nano120 USB Series Nano130 Advanced Series Forum NUC130 NUVO 1 on Search is Parametric Search News Events CSR Human Resources
20. SS0 USB1 D EBI AD4 PB 3 UART1 TXD SPI2 CLK USB1 D EBlI AD5 PB A UART1 RTS SPI2 MISOO UART4 RXD TMO CNT OUT EBI AD6 PB 5 UART1 CTS SPI2 MOSIO UART4 TXD EBI AD7 PB 6 l2C2_SCL BRAKE01 UART4_RTS PWM1_4 EPWM1_0 EBI_AD8 PB 7 I2C2_SDA BRAKE00 UART4_CTS PWM1_5 EPWM1_1 EBI AD9 PB S UART5 CTS EPWM1 2 EBI AD10 5 g 5 5 2 5 3 5 5 5 7 8 PA 14 UARTO TXD SC3 CLK PWM 1 5 EBI ADS PD 10 5C3 DAT I2C4 SCL PD 11 5C3 RST TM3 CNT OUT PD 12 5C3 CLK I2C4 SDA PA 15 5C3 PWR UART2 RTS I2CO SCL EBI A21 92 PC 9 STADC UART2 CTS SCS3 RST I2CO SDA CAP DATA1 I2C3 SCL EBI A22 SD1 DATO EBI 7 7 81 8 8 8 8 8 8 91 0 1 3 5 6 7 8 9 61 62 63 64 65 O N CO A6 PC 10 SC3 CD UART2 RXD PWMO 2 EBI A23 EBI AD2 PC 11 UART2 TXD UART2 TXD PWMO 3 EBI A24 EBI AD3 LDO CAP May 09 2014 8 of 26 Rev V1 00 PB 9 UART5 RTS EPWM1 3 EBI AD11 PB 10 UART5 TXD EPWMt1 4 EBI AD12 PB 11 UART5 RXD EPWM1 5 EBI AD13 94 95 70 71 7 72 NuTiny SDK NUC442 User Manual nUvolon EE EEE EEE 100 100 PH 1 UART4_TXD I2C1_SDA CAN1_TXD PH 1 UART4_TXD I2C1_SDA CAN1_TXD _TXD I2C1 SDA CAN1 TXD PF 6 SDO CDn UART2 RXD EAD RTS SPI2 MISO1 CANO RXD PF 7 SD0 CMD UART2 TXD Rion 107 LDO_CAP 0 000000000000 LDO CAP 0 0 0 000000 000 130 130 PEO INTWADCOO 00000000 PEOINTAADCO Q A COA 0 ae M DI SC1 DAT UART4 RXD EBI MCLK PE 1 TM2 CNT OUT ADCO 1 PC 1 EBI AD13 TM3 CNT OUT UARTA TXD SC1 CLKI2S1 BCLK PE
21. e Name Date modified RE Desktop amp led uvproj 2014 5 29 F 01 Downloads J FreeRTOS IwIP httpd i Recent Places FreeRTOS IwIP TCP EchoServer J FreeRTOS IwIP UDP EchoServer Libraries d Hard Fault Sample J NUC472 NuTiny Documents No preview Ji LED us available 5 i Pictures d Semihost 1 Videos J StdDriver n Template J ucosn 1 Computer Ji uCOSII IwIP httpd amp OSDisk C public nuvoton H uvproj Date modified 2014 5 29 TS 01 53 Date created 2014 5 29 TS 01 53 ect S File name led uvproj Project Files uvproj z Size 16 1 KB Figure 3 2 Example Directory To use the example The I O LED on the NuTiny EVB NUC442 board will be toggled on a Start pVision B EN Start Debug mode When using the debugger commands you B Project Open may Open the led uvproj project file Es amp amp Review variables in the watch m 22 Project Build window Compile and link the LED application a v e UU Single step through code m 1 Flash Download T Program the application code into on chip FET Reset the device Flash ROM Run the application May 09 2014 12 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual nuUuvoTon SS 4 Starting to Use NuTiny SDK NUC442 on the IAR Embedded Workbench 4 4 Downloading and Installing IAR Embedded Workbench Software Please connect t
22. e RN ES MED 12 4 Starting to Use NuTiny SDK NUC442 on the IAR Embedded Workbench 13 4 1 Downloading and Installing IAR Embedded Workbench Software 13 4 2 Downloading and Installing Nuvoton Nu Link Driver sss 13 AD abad WalesSStip neee 13 Ads Example PrO ran err aa E noe eee 14 5 NUMiMYys SDK NUC4142 SCNEMaALICS aean aee E E T E ee 15 S21 NUNN EVBENUC4AI 2 S chemate 15 Bee ANUSEinke MeSenematiC enne ee Ee 20 6 Downloading NuMicro Related Files from Nuvoton Website 21 6 1 Downloading NuMicro Keil u Vision IDE Driver nennen enen enenenenenenenen 21 6 2 Downloading NuMicro IAR EWARM Driver uus ennen eenen 23 6 3 Downloading NuMicro NUC442 Series BSP Software Library 25 7 Fae SLO RIO ATTICI DII DTI DIT E TUS 26 May 09 2014 2 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual nUvolon NEM M 1 Overview The NuTiny SDK NUC442 is a specific development tool for NuMicro NUC442 Series User can use NuTiny SDK NUC442 to develop and verify the application program easily The NuTiny SDK NUCA42 includes two parts NuTiny EVB NUC442 and Nu Link Me The NuTiny EVB NUC442 is the evaluation board and Nu Link Me is its Debug Adaptor Therefore user does not need other additional ICE or debug equipment 2 Introduction to NuTiny SDK NUC442 The NuTiny SDK NUC442 uses the NUC442JI8AE as the target microcontroller Figure 2 1 shows the NuTiny SDK NUC442 for NUC44
23. es Support Technical Support Forum May 09 2014 NUC140 NUC130 Buy Search all myNuvoton ac About Nuvoton NuMicro M4 MCU NUC472 EEEN with pus MAC m mr Online Support Online Training Forum FAQ lad Parametric Search News Events CSR Human Resources Investors Contact Us Nuvoton Partner Foundry Service 25 of 26 Mass Production 4 Buy Upgrade In System a myNuvoton ac About Nuvoton NuMicro M4 MCU NUC472 win Ethernet MAC 3 vo gee mter EN bb eeebe bial Events Nuvoton Technology Hosts 32 bit Cortex M4 Ether 2014 05 02 2014Q1 Investor Conference 2014 04 24 More News Nuvoton Announces Monthly Revenue for April 2014 2014 05 06 Rev V1 00 NuTiny SDK NUC442 User Manual NUVOTON a 7 Revision History Revision Date Description 0 0 May 09 2014 Initial release 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 Insecure usage includes but is not limited to equipment for surgical implementation atomic energy control instruments airplane or spaceship instruments the control or operation of dynamic brake or safety systems designed for vehicular use traffic signal instruments all types o
24. f safety devices and other applications intended to support or sustain life All Insecure Usage shall be made at customer s risk and in the event that third parties lay claims to Nuvoton as a result of customer s Insecure Usage customer shall indemnify the damages and liabilities thus incurred by Nuvoton Please note that all data and specifications are subject to change without natice All the trademarks of products and companies mentioned in this datasheet belong to their respective owners May 09 2014 26 of 26 Rev V1 00
25. mmer software amp user manual Nu Link Driver File name Description This driver is ta support Nu Link to work under V1 25 6267 2014 01 16 V1 25 6267 zip Revision History d Nu Link Driver for IAR EWARM V1 25 6287 zip Revision History Keil RVMDK Development Environment for all NuMicro Family Devices iver is to support Nu Link to work under M Development Environment for all NuMicro Fax Download the NuMicro Keil uVision IDE driver May 09 2014 22 of 26 V 1 25 6287 2014 01 16 LS User Feedback TOP Rev V1 00 NuTiny SDK NUC442 User Manual nuUuvoTon SS 6 2 Downloading NuMicro IAR EWARM Driver Visit the Nuvoton NuMicro website http www nuvoton com NuMicro NUVO i on Search Ey Parametric Search a News Events CSR Human Resources Investors Contact Us Nuvoton Partner di Products O Applications ait Foundry Service EJ Buy all myNuvoton a About Nuvoton Learnin Home gt Products gt Microcontrollers gt ARM Corte 3 Product Related Information ARM Cortex MO MCUs xO Reference Design N LI Mi Cro M 4 M U NUC472 Sales Support EET TTT TTT 28 Technical Support Es Ethene MAC Forum D NUC220 AU9120 Suum NUC140 240 Connect NUC100 Nano120 NUC120 Online Support Nano100 102 Base Series Online Training Nano110 112 LCD Series Nano120 USB Series N 100 Nano130 Advanced Series ano FAQ Forum NUVO 1
26. o IAR company website http www iar com to download the IAR Embedded Workbench and install the EWARM 4 2 Downloading and Installing Nuvoton Nu Link Driver Please connect to Nuvoton Company NuMicro website http www nuvoton com NuMicro to download NuMicro IAR EWARM Driver file Please refer to section 6 2 for the detail download flow After the Nu Link driver is downloaded please unzip the file and execute the Nu Link IAR Driver exe to install the driver 4 3 Hardware Setup The hardware setup is shown in the following figure Figure 4 1 NuTiny SDK NUC442 Hardware Setup May 09 2014 13 of 26 Rev V1 00 NUVOTON NuTiny SDK NUC442 User Manual SS 4 4 Example Program This example as shown in the directory in Figure 4 2 demonstrates downloading and debugging an application on a NuTiny SDK NUCA42 board The example file can be downloaded from Nuvoton NuMicro website as described in section 6 3 Project File on Ba Open e NUC400SeriesBSP_CMSIS_V3 01 000 SampleCode NUC472 NuTiny LED IAR Organize v E Open v New folder NUC400SeriesBSP_CMSIS V3 01 000 Name Date modified Type 2014 5 29 F 01 EWD File 2014 5 29 K 02 EWP File KD ey SampleCode NUC472 NuTiny LED IAR Search IAR p Organize v New folder Xx Favorites Name Date modified Type RE Desktop j3 led eww 2014 5 29 R 01 IAR IDE 2014 5 29 F 01 I
27. uttons e SW1 Reset button in NuTiny EVB NUC442 Press this key to reset the target chip NUC442JI8AE May 09 2014 5 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual NUVOTON SS 2 1 7 Power Connectors e JP3 VCC33 connector in NuTiny EVB NUC442 to supply the 3 3V voltage input to target board JP10 An option to select whether the 3 3V voltage input supplied by the ICE bridge default VBAT The VBAT connector in NuTiny EVB NUC442 to supply an extra battery power The default is shorted with VCC33 e JP4 JP14 VDD5V connector in NuTiny EVB NUC442 to supply 5V voltage input from an extra power supplier e JP6 GND connector in NuTiny EVB NUC442 May 09 2014 6 of 26 Rev V1 00 NuTiny SDK NUC442 User Manual nUvolon NEM M 2 2 Pin Assignment for Extended Connectors The NuTiny EVB NUC442 provides the NUC442JI8AE target chip on board and the extended connectors JP1 JP2 JP3 and JP4 for LQFP 144 pin PE 12 EBI_nCS1 ACMP2_P2 ACMP1_P3 ADC1_4 PEN NN pidas eo PE 13 EBI nCS2 ACMP2 P1 ADC1 5 upto re veis e PE 14 EBI nCS3 ACMP2 PO ADC1 6 dpa iu ca d PE 15 ACMP2_N ADC1_7 ipia AERE D Ur E E id PF 9 PWMO_0 OPAO_IN en ee Me 6 PF 10 PWMO 1 OPAO IN PG 13 XT1 IN PF 14 UART1_RTS OPAO_O PG 12 XT1 OUT 8 PF 12 UART1_CTS OPA1_IN4 nRESET 9 PF 13 UART1_TXD OPA1_IN LDO CAP PF 15 UARTO_RTS PG 11 JTAG_TMS ICE_DAT PG O INT6 UARTO_CTS PG 15 X32K_IN I2C1_SCL PG 1 UARTO_RXD PG
Download Pdf Manuals
Related Search
Related Contents
Guia del Usuario Operación Windows XP H8/3048F-ONE E10T Emulator User`s Manual Cartographie de l`infiltrabilité à l`échelle du Département des Hauts オリジナルリリース Severin KA 4150 Warning! - Nettosolenergi.com MotoSAT MD500 User's Manual LG-P880g Guide de l`utilisateur User`s Manual Installation Instructions Ethanol Burner Réfrigérateur-Fridge-Kühlschrank Copyright © All rights reserved.
Failed to retrieve file