26
NuTiny-SDK-NUC442 User Manual ARM Cortex ® -M4 32-BIT MICROCONTROLLER May 09, 2014 Rev. V1.00 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. 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-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

ARM Cortex®-M4

32-BIT MICROCONTROLLER

May 09, 2014 Rev. V1.00

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.

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.

Page 2: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 2 of 26 Rev. V1.00

Table of Contents

1 Overview ........................................................................................... 3

2 Introduction to NuTiny-SDK-NUC442 .................................................... 3

2.1 NuTiny-SDK-NUC442 System Description ...................................................... 5 2.2 Pin Assignment for Extended Connectors ...................................................... 7 2.3 NuTiny-SDK-NUC442 PCB Placement .......................................................... 10

3 Starting to Use NuTiny-SDK-NUC442 on the Keil μVision® IDE ............... 11

3.1 Downloading and Installing Keil μVision® IDE Software ................................. 11 3.2 Downloading and Installing Nuvoton Nu-Link Driver ..................................... 11 3.3 Hardware Setup ....................................................................................... 11 3.4 Example Program ..................................................................................... 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 ..................................... 13 4.3 Hardware Setup ....................................................................................... 13 4.4 Example Program ..................................................................................... 14

5 NuTiny-SDK-NUC442 Schematics ....................................................... 15

5.1 NuTiny-EVB-NUC442 Schematic ................................................................. 15 5.2 Nu-Link-Me Schematic .............................................................................. 20

6 Downloading NuMicro™ Related Files from Nuvoton Website .................. 21

6.1 Downloading NuMicro™ Keil μVision® IDE Driver .......................................... 21 6.2 Downloading NuMicro™ IAR EWARM Driver ................................................. 23 6.3 Downloading NuMicro™ NUC442 Series BSP Software Library ........................ 25

7 Revision History ............................................................................... 26

Page 3: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 3 of 26 Rev. V1.00

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-NUC442 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 NUC442 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.

Page 4: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 4 of 26 Rev. V1.00

LQFP-144 pin Extended Connector

(J2, J3)

LQFP-144 pin Extended Connector

(J1, J4)

VDD5V (JP4)

USB OTG Connector

(CON2)

Target Chip

GND (JP6)

VCC33(JP3)

Power LEDIO LED (PB.10)

ICE Controller USB Connector

(ICEJ1)

Reset Key (SW1)

ICE Controller

VCC:3.3V or 5V(JP1)

Figure 2-1 NuTiny-SDK-NUC442 (Blue PCB Board)

Page 5: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 5 of 26 Rev. V1.00

2.1 NuTiny-SDK-NUC442 System Description

2.1.1 Power Settings

ICEJ1: USB port in Nu-Link-Me

CON2: Micro USB port in NuTiny-EVB-NUC442

JP4/JP14: VDD5V voltage connector in NuTiny-EVB-NUC442

POWER Mode

ICEJ1 USB Port (Mini)

CON2 USB Port (Micro)

JP4/JP14

VDD5V

MCU Voltage

Comment

Mode 1 Connected to PC X DC 5V Output

DC 3.3 V ICEJ1 (from PC) supplies

the power.

Mode 2 X Connect to PC

(USB port is device) DC 5V Output

DC 3.3 V CON2 (from PC) supplies the power when TP10 is

wired to JP4 or JP14.

Mode 3 X Connect to PC

(USB port is host) DC 5V Input

DC 3.3V JP4 or JP14 supplies the

power.

X: Unused.

2.1.2 Debug Connectors

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)

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

ICEJ1: Mini USB connector in Nu-Link-Me connected to a PC USB port

2.1.4 USB OTG Host/Device Connector

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 Buttons

SW1: Reset button in NuTiny-EVB-NUC442. Press this key to reset the target chip NUC442JI8AE.

Page 6: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 6 of 26 Rev. V1.00

2.1.7 Power Connectors

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.

JP4/JP14: VDD5V connector in NuTiny-EVB-NUC442 to supply 5V voltage input from an extra power supplier.

JP6: GND connector in NuTiny-EVB-NUC442

Page 7: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 7 of 26 Rev. V1.00

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.

No Pin Name No Pin Name

1 PE.12/EBI_nCS1/ACMP2_P2/ACMP1_P3/ADC1_4 24 PD.3/EBI_A7/JTAG_TDO/CAP_DATA0/SD0_CDn/ACMP2_O/I2C3_SDA/SC5_CLK/

2 PE.13/EBI_nCS2/ACMP2_P1/ADC1_5/ 25 PD.4/EBI_A8/JTAG_TDI/CAP_SCLK/ACMP1_O/ UART3_RXD/SC5_CD/

3 PE.14/EBI_nCS3/ACMP2_P0/ADC1_6/ 26 PD.5/EBI_A9/JTAG_nTRST/CAP_VSYNC/ UART3_TXD/SC5_RST/

4 PE.15/ACMP2_N/ADC1_7/ 27 PD.6/EBI_A10/CAP_HSYNC/SD0_CMD/ UART3_RTS/SC5_PWR/

5 PF.9/PWM0_0/OPA0_IN+/ 28 PD.7/EBI_A11/CAP_PIXCLK/SD0_CLK/ UART3_CTS/SC5_DAT/

6 PF.10/PWM0_1/OPA0_IN-/ 29 PG.13/XT1_IN/

7 PF.11/UART1_RTS/OPA0_O/ 30 PG.12/XT1_OUT/

8 PF.12/UART1_CTS/OPA1_IN+/ 31 nRESET

9 PF.13/UART1_TXD/OPA1_IN-/ 32 LDO_CAP

10 PF.14/UART1_RXD/OPA1_O/ 33 VSS

11 VSS 34 VDD

12 VDD 35 PG.10/JTAG_TCK/ICE_CLK/

13 PF.15/UART0_RTS/ 36 PG.11/JTAG_TMS/ICE_DAT/

14 PG.0/INT6/UART0_CTS/ 37 PG.15/X32K_IN/I2C1_SCL

15 PG.1/UART0_RXD/ 38 PG.14/X32K_OUT/I2C1_SDA

16 PG.2/UART0_TXD/ 39 VBAT

17 PC.12/EBI_A0/CAP_DATA7/SD1_CDn/SC4_CD/ SPI1_SS0/

40 PA.0/TAMPER0/SC0_CD/CAN1_RXD/INT0

18 PC.13/EBI_A1/CAP_DATA6/SD1_CMD/SC4_RST/ SPI1_MOSI1/

41 PA.1/TAMPER1/SC5_CD/CAN1_TXD/EBI_A22

19 PC.14/EBI_A2/CAP_DATA5/SD1_CLK/TM3_EXT/ SC4_PWR/SPI1_MISO1/

42 PD.8/SPI3_MISO1/I2C0_SCL

20 PC.15/EBI_A3/CAP_DATA4/SD1_DAT3/ 43 PD.9/SPI3_MOSI1/I2C0_SDA

21 PD.0/INT3/EBI_A4/CAP_DATA3/SD1_DAT2/ SC4_CLK/SPI1_MISO0/

44 PA.2/SC2_DAT/SPI3_MISO0/I2S0_MCLK/ BRAKE11/CAP_SFIELD/EBI_A12

22 PD.1/EBI_A5/CAP_DATA2/SD1_DAT1/ TM0_CNT_OUT/SPI1_CLK/

45 PA.3/SC2_CLK/SPI3_MOSI0/I2S0_DO/BRAKE10/ EBI_A13

23 PD.2/EBI_A6/CAP_DATA1/SD1_DAT0/I2C3_SCL/STADC/

46 PA.4/SC2_PWR/SPI3_CLK/I2S0_DI/QEI1_Z/ EBI_A14/ECAP1_IC2

Page 8: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 8 of 26 Rev. V1.00

47 PA.5/SC2_RST/SPI3_SS0/I2S0_BCLK/PWM0_0/ QEI1_B/EBI_A15/ECAP1_IC1

73 PD.13/SPI1_SS0/UART5_CTS/ECAP0_IC2

48 PA.6/SC2_CD/I2S0_LRCK/PWM0_1/QEI1_A/ CAN1_TXD/EBI_A16/ECAP1_IC0

74 PD.14/SPI1_CLK/UART5_RTS/ECAP0_IC1

49 PG.3/PS2_CLK/I2S1_DO/SC1_RST 75 PD.15/SPI1_MISO0/UART5_TXD/ECAP0_IC0

50 PG.4/PS2_DAT/I2S1_DI/SC1_PWR 76 PF.0/SPI1_MOSI0/UART5_RXD/INT5

51 PG.5/I2S1_BCLK/SC1_DAT 77 VRES

52 PG.6/I2S1_LRCK/SC1_CLK 78 VBUS

53 VDD 79 USB_VDD33_CAP

54 VSS 80 VSSA

55 PA.7/SC0_CLK/SPI3_SS0/PWM1_3/EPWM0_5/ EBI_A17

81 USB0_D-

56 PA.8/SC0_RST/SPI3_CLK/PWM1_2/EPWM0_4/ EBI_A18

82 USB0_D+

57 PA.9/SC0_PWR/SPI3_MISO0/PWM1_1/ EPWM0_3/EBI_A19

83 USB0_OTG_ID

58 PA.10/SC0_DAT/SPI3_MOSI0/PWM1_0/ EPWM0_2/EBI_A20

84 PB.0/USB0_OTG5V_ST/I2C4_SCL/INT1

59 PA.11/UART0_RTS/SPI3_MISO1/PWM0_5/ EPWM0_1/EBI_AD0

85 PB.1/USB0_OTG5V_EN/I2C4_SDA/ TM1_CNT_OUT

60 PA.12/UART0_CTS/SPI3_MOSI1/PWM0_4/ EPWM0_0/EBI_AD1

86 PG.7/SPI2_MISO0/I2S1_MCLK/SC1_CD/SC3_RST

61 PA.13/UART0_RXD/SC3_DAT/PWM1_4/EBI_AD2 87 PG.8/SPI2_MOSI0/I2S1_DO/UART4_RTS/ SC3_DAT

62 PA.14/UART0_TXD/SC3_CLK/PWM1_5/EBI_AD3 88 PG.9/SPI2_CLK/I2S1_DI/UART4_CTS/SC3_CLK

63 PD.10/SC3_DAT/I2C4_SCL 89 PB.2/UART1_RXD/SPI2_SS0/USB1_D-/EBI_AD4

64 PD.11/SC3_RST/TM3_CNT_OUT 90 PB.3/UART1_TXD/SPI2_CLK/USB1_D+/EBI_AD5

65 PD.12/SC3_CLK/I2C4_SDA 91 PB.4/UART1_RTS/SPI2_MISO0/UART4_RXD/ TM0_CNT_OUT/EBI_AD6

66 PA.15/SC3_PWR/UART2_RTS/I2C0_SCL/EBI_A21 92 PB.5/UART1_CTS/SPI2_MOSI0/UART4_TXD/ EBI_AD7

67 PC.9/STADC/UART2_CTS/SC3_RST/I2C0_SDA/ CAP_DATA1/I2C3_SCL/EBI_A22/SD1_DAT0/EBI_A6

93 PB.6/I2C2_SCL/BRAKE01/UART4_RTS/PWM1_4/ EPWM1_0/EBI_AD8

68 PC.10/SC3_CD/UART2_RXD/PWM0_2/EBI_A23/ EBI_AD2

94 PB.7/I2C2_SDA/BRAKE00/UART4_CTS/PWM1_5/ EPWM1_1/EBI_AD9

69 PC.11/UART2_TXD/UART2_TXD/PWM0_3/ EBI_A24/EBI_AD3

95 PB.8/UART5_CTS/EPWM1_2/EBI_AD10

70 LDO_CAP 96 PB.9/UART5_RTS/EPWM1_3/EBI_AD11

71 VSS 97 PB.10/UART5_TXD/EPWM1_4/EBI_AD12

72 VDD 98 PB.11/UART5_RXD/EPWM1_5/EBI_AD13

Page 9: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 9 of 26 Rev. V1.00

99 PH.0/I2C1_SCL/UART4_RXD/CAN1_RXD/INT7 122 VDD

100 PH.1/UART4_TXD/I2C1_SDA/CAN1_TXD 123 PF.6/SD0_CDn/UART2_RXD/

101 PB.12/UART4_RTS/SPI2_MISO1/CAN0_RXD/ EBI_AD14

124 PF.7/SD0_CMD/UART2_TXD/

102 PB.13/UART4_CTS/SPI2_MOSI1/CAN0_TXD/ EBI_AD15

125 PF.8/SD0_CLK/UART2_RTS/

103 PB.14/I2S1_MCLK/SC1_RST/BRAKE01 126 PH.2/UART2_CTS/

104 PB.15/I2S1_DO/SC1_DAT/BRAKE00 127 LDO_CAP

105 VDD 128 VSS

106 VSS 129 VDD

107 LDO_CAP 130 PE.0/INT4/ADC0_0/

108 PC.0/I2S1_DI/SC1_DAT/UART4_RXD/EBI_MCLK/ INT2

131 PE.1/TM2_CNT_OUT/ADC0_1/

109 PC.1/EBI_AD13/TM3_CNT_OUT/UART4_TXD/ SC1_CLK/I2S1_BCLK/

132 PE.2/SPI0_MISO0/ACMP0_O/ADC0_2/

110 PC.2/EBI_AD12/SPI0_SS0/UART4_RTS/ SC1_PWR/I2S1_LRCK/

133 PE.3/SPI0_MOSI0/ACMP0_P3/ADC0_3/

111 PC.3/ECAP0_IC2/EBI_AD11/QEI0_Z/SPI0_MISO1/ UART4_CTS/SC1_CD/I2S1_MCLK/

134 PE.4/SPI0_SS0/ACMP0_P2/ADC0_4/

112 PC.4/ECAP0_IC1/EBI_AD10/QEI0_B/SPI0_MOSI1/ SC1_RST/I2S1_DO/

135 PE.5/SD0_CDn/SPI0_CLK/ACMP0_P1/ADC0_5/

113 PC.5/ECAP0_IC0/EBI_MCLK/QEI0_A/CLKO/ 136 PE.6/EBI_nWR/SD0_CMD/SPI0_MISO0/ ACMP0_P0/ADC0_6/

114 PC.6/EBI_AD9/TM2_CNT_OUT/SPI0_MISO0/ TM2_EXT/

137 PE.7/EBI_nRD/SD0_CLK/SPI0_MOSI0/ ACMP0_N/ADC0_7/

115 PC.7/EBI_AD8/SPI0_MOSI0/TM1_EXT/ 138 AVSS

116 PC.8/SPI0_CLK/TM0_EXT/ 139 Vref

117 PF.2/SD0_DAT3/SPI3_SS0/ 140 AVDD

118 PF.3/SD0_DAT2/SPI3_CLK/ 141 PE.8/EBI_ALE/SD0_DAT3/TM1_CNT_OUT/ ACMP1_N/ADC0_8/ADC1_0/

119 PF.4/SD0_DAT1/SPI3_MISO0/ 142 PE.9/EBI_nWRH/SD0_DAT2/ACMP1_P0/ADC0_9/ ADC1_1/

120 PF.5/SD0_DAT0/SPI3_MOSI0/ 143 PE.10/EBI_nWRL/SPI0_MISO1/ACMP1_P1/ ADC0_10/ADC1_2/

121 VSS 144 PE.11/EBI_nCS0/ACMP2_P3/SD0_DAT0/ SPI0_MOSI1/ACMP1_P2/ADC0_11/ADC1_3/

Table 2-1 NUC442JI8AE LQFP 144-pin Assignment for Extended Connectors

Page 10: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 10 of 26 Rev. V1.00

2.3 NuTiny-SDK-NUC442 PCB Placement

The following figure shows the NuTiny-SDK-NUC442 PCB placement.

Figure 2-2 NuTiny-SDK-NUC442 PCB Placement

Page 11: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 11 of 26 Rev. V1.00

3 Starting to Use NuTiny-SDK-NUC442 on the Keil μVision® IDE

3.1 Downloading and Installing Keil μVision® IDE Software

Please connect to the Keil company website (http://www.keil.com) to download the Keil μ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 μVision

® 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

Page 12: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 12 of 26 Rev. V1.00

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-NUC442 board. The example file can be downloaded from Nuvoton NuMicro™ website as described in section 6.3.

Directory Project File

Figure 3-2 Example Directory

To use the example: The I/O LED on the NuTiny-EVB-NUC442 board will be toggled on.

Start μVision®

Project – Open Open the led.uvproj project file

Project – Build Compile and link the LED application

Flash – Download Program the application code into on-chip Flash ROM

Start Debug mode When using the debugger commands, you may:

Review variables in the watch window

Single step through code

Reset the device

Run the application

Page 13: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 13 of 26 Rev. V1.00

4 Starting to Use NuTiny-SDK-NUC442 on the IAR Embedded

Workbench

4.1 Downloading and Installing IAR Embedded Workbench Software

Please connect to 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

Page 14: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 14 of 26 Rev. V1.00

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-NUC442 board. The example file can be downloaded from Nuvoton NuMicro™ website as described in section 6.3.

Directory Project File

Figure 4-2 Example Directory

To use the example: The I/O LED on the NuTiny-EVB-NUC442 board will be toggled on.

Start IAR Embedded Workbench

File-Open-Workspace Open the led.eww workspace file

Project - Make Compile and link the LED application

Project – Download and Debug Program the application code into on-chip Flash ROM

Single step through code

Reset the device

Run the application

Page 15: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 15 of 26 Rev. V1.00

5 NuTiny-SDK-NUC442 Schematics

5.1 NuTiny-EVB-NUC442 Schematic

USB_VSSA

VREF

ICE_USBVBUS

VREF

VDD5V

GNDGND

VCC33

VBAT

VCC33

VBAT

PIN122

PIN

1

PIN39 VBAT

PIN

2

PIN53

PIN

3

PIN71PIN70

PIN72

PIN

4P

IN5

PIN[1:144]PIN[1:144]

PIN

10

5

PIN

10

7

PIN127

PIN

8P

IN9

PIN

7P

IN6

PIN

14

PIN

13

PIN

10

PIN

15

RX

D0

PIN

18

PIN

19

PIN

16

TX

D0

PIN

20

PIN

23

PIN

28

XT

1_

OU

TP

IN3

0

PIN

17

RE

SE

TP

IN3

1

PIN

27

PIN

24

PIN

21

XT

1_

INP

IN2

9

PIN

26

PIN

32

PIN

22

PIN

25

ICE

_C

LK

PIN

35

ICE

_D

AT

PIN

36

US

B_

D+

PIN

82

PIN

91

US

B_

IDP

IN8

3

GN

DP

IN1

06

PIN

95

PIN

86

PIN

87

PIN

10

4

PIN

97

PB

_10

US

B_

D-

PIN

81

PIN

98

PB

_11

PIN

76

US

B_

VR

ES

PIN

77

PIN

10

1

PIN

94

PIN

84

PB

_0

PIN

75

PIN

10

3

US

B_

VS

SA

PIN

80

PIN

99

PIN

90

PIN

10

0

PIN

10

8

PIN

73

PIN

92

PIN

89

PIN

74

PIN

88

PIN

93

US

B_

VB

US

PIN

78

PIN

10

2

PIN

85

PB

_1

PIN

96

PIN66PIN67

PIN69

PIN65

PIN68

PIN64

PIN60PIN61

PIN63

PIN62

PIN57

PIN55

PIN59PIN58

PIN56

PIN44

GNDPIN54

PIN41

PIN51

PIN42

PIN50

PIN46PIN45

PIN52

PIN49

PIN43

PIN47PIN48

XT32_OUTPIN38XT32_INPIN37

PIN40

PIN129

PIN

11

AVDD

ADAVSSADAVSS

AVDD

PIN

12

PIN116

PIN136

PIN141

PIN109

PIN137

GND PIN121

PIN124

PIN111

PIN142

PIN110

PIN123

PIN112

PIN131

ADAVSS PIN138

PIN119

PIN143

PIN115

PIN144

PIN134

PIN120

PIN113

PIN133

PIN130

PIN114

PIN126

GND PIN128

AVDD PIN140

PIN118

VREF PIN139

PIN132

PIN125

PIN117

PIN135

Title

Size Document Number Rev

Date: Sheet of

V2.2

NUC442 MCU

Custom

3 3Monday , June 09, 2014

USB_VDD33_CAP

CB10

0.1u

C0603

CT7

1uF/16V

TANT-A

CT3

1uF/16V

TANT-AR2

8.2K

R0603

CT6

1uF/16V

TANT-A

CT8

1uF/16V

TANT-A

CB15

0.1u

C0603

CB1

0.1u

C0603

CB13

0.1u

C0603

PIN

33

PIN

34

L1L0603

CB16

0.1u

C0603

PB_10

ICE_DAT

TICERST

ICE_CLKTICECLK

PIN

79

RESET

ICE

TICEDAT

PB_0

PB_10

PB_0

Power

USB_ID

PB_1

USB_ID

XT1_OUT

Off-page Connector

USB_VBUS

XT1_OUT

LED

XT1_IN

PB_1

XT1_IN

Off-page Connector

XT32_IN

USB_D-

USB_D+

XT32_OUT

MCU

Connector

USB_VBUS

Off-page Connector

Off-page Connector

USB HOST/DEVICE

Off-page Connector

RXD0

TXD0

RXD0

TXD0

Off-page Connector

USB_D+

CB12

0.1u

C0603

USB_D-

XT32_IN

CB8

0.1u

C0603

PB_1(OTG_5V_EN) to control the NCT3520U powe switch

PB_0(OTG_5V_ST) to checkk the over current status

CT210uF/10V

TANT-A

Crystal

XT32_OUT

U-1

NUC442JI8AE-LQFP144

SC1_PWR/I2S1_DI/PS2_DAT/PG_450

SC1_RST/I2S1_DO/PS2_CLK/PG_349

EBI_A15/PWMA0/I2S0_BCLK/SPI3_SS0/SC2_RST/PA_547

EBI_A14/I2S0_DI/SPI3_CLK/SC2_PWR/PA_446

EBI_A13/I2S0_DO/SPI3_MOSI0/SC2_CLK/PA_345

EBI_A12/VIDEO_SFIELD/I2S0_MCLK/SPI3_MISO0/SC2_DAT/PA_244

I2C0_SDA/SPI3_MOSI1/PD_943

I2C0_SCL/SPI3_MISO1/PD_842

CAN1_TXD/SC5_CD/TAMPER1/PA_141

INT0/CAN1_RXD/SC0_CD/TAMPER0/PA_040

VBAT39

I2C1_SDA/X32K_OUT/PG_1438

I2C1_SCL/X32K_IN/PG_1537

PG

_1

1/I

CE

_D

AT

/JT

AG

_T

MS

36

PG

_1

0/I

CE

_C

LK

/JT

AG

_T

CL

K35

VD

D34

VS

S33

LD

O_

CA

P32

PG

_1

2/X

T1

_O

UT

30

PG

_1

3/X

T1

_IN

29

PD

_4

/SC

5_

CD

/RX

D3

/CM

P1

_O

/VID

EO

_S

CL

K/J

TA

G_

TD

I/E

BI_

A8

25

PD

_2

/ST

AD

C/I

2C

3_

SC

L/S

D1

_D

0/V

IDE

O_

D1

/EB

I_A

623

PD

_1

/SP

I1_

CL

K/T

M0

/SD

1_

D1

/VID

EO

_D

2/E

BI_

A5

22

PD

_0

/SP

I1_

MIS

O0

/SC

4_

CL

K/S

D1

_D

2/V

IDE

O_

D3

/EB

I_A

4/I

NT

3//

ET

M_

TR

AC

E_

CL

K21

PC

_1

5/S

PI1

_M

OS

I0/S

C4

_D

AT

/SD

1_

D3

/VID

EO

_D

4/E

BI_

A3

/ET

M_

TR

AC

E_

D0

20

PC

_1

4/S

PI1

_M

ISO

1/S

C4

_P

WR

/TM

3_

EX

T/S

D1

_C

LK

/VID

EO

_D

5/E

BI_

A2

/ET

M_

TR

AC

E_

D1

19

PC

_1

3/S

PI1

_M

OS

I1/S

C4

_R

ST

/SD

1_

CM

D/V

IDE

O_

D6

/EB

I_A

1/E

TM

_T

RA

CE

_D

218

PC

_1

2/S

PI1

_S

S0

/SC

4_

CD

/SD

1_

CD

n/V

IDE

O_

D7

/EB

I_A

0/E

TM

_T

RA

CE

_D

317

PG

_2

/TX

D0

16

PG

_1

/RX

D0

15

PG

_0

/nC

TS

0/I

NT

614

PF

_1

5/n

RT

S0

13

VD

D12

VS

S11

PF

_1

4/O

PA

1_

O/R

XD

110

PF

_1

3/O

PA

1_

IN-/

TX

D1

9

PF

_1

1/O

PA

0_

O/n

RT

S1

7P

F_

10

/OP

A0

_IN

-/P

WM

A1

6

PE

_1

5/A

DC

1_

7/C

MP

2_

N4

PE

_1

4/A

DC

1_

6/C

MP

2_

P0

/EB

I_n

CS

33

PE

_1

3/A

DC

1_

5/C

MP

2_

P1

/EB

I_n

CS

22

PE

_1

2/A

DC

1_

4/C

MP

1_

P3

/CM

P2

_P

2/E

BI_

nC

S1

1

I2S

1_

DO

/SC

1_

DA

T/E

MC

_M

II_

MD

IO/P

B_

15

104

I2S

1_

MC

LK

/SC

1_

RS

T/E

MC

_M

II_

MD

C/P

B_

14

103

EB

I_A

D1

5/S

PI2

_M

OS

I1/n

CT

S4

/CA

N0

_T

XD

/EM

C_

MII

_M

DIO

/PB

_1

3102

EB

I_A

D1

4/S

PI2

_M

ISO

1/n

RT

S4

/CA

N0

_R

XD

/EM

C_

MII

_M

DC

/PB

_1

2101

I2C

1_

SC

L/R

XD

4/C

AN

1_

RX

D/P

H_

099

ET

M_

TR

AC

E_

CL

K/E

BI_

AD

13

/RX

D5

/PB

_1

198

ET

M_

TR

AC

E_

D1

/EB

I_A

D1

1/n

RT

S5

/PB

_9

96

EB

I_A

D8

/nR

TS

4/P

WM

B4

/I2

C2

_S

CL

/PB

_6

93

EB

I_A

D7

/TX

D4

/SP

I2_

MO

SI0

/nC

TS

1/P

B_

592

EB

I_A

D5

/SP

I2_

CL

K/T

XD

1/U

SB

1_

D+

/PB

_3

90

EB

I_A

D4

/SP

I2_

SS

0/R

XD

1/U

SB

1_

D-/

PB

_2

89

I2S

1_

DO

/SP

I2_

MO

SI0

/nR

TS

4/S

C3

_D

AT

/PG

_8

87

SC

1_

CD

/I2

S1

_M

CL

K/S

PI2

_M

ISO

0/S

C3

_R

ST

/PG

_7

86

I2C

4_

SD

A/U

SB

0_

OT

G5

V_

EN

/PB

_1

85

INT

1/I

2C

4_

SC

L/U

SB

0_

OT

G5

V_

ST

/PB

_0

84

US

B0

_D

+82

US

B0

_D

-81

VS

SA

80

US

B_

VD

D3

3_

CA

P79

VB

US

78

VR

ES

77

INT

5/R

XD

5/S

PI1

_M

OS

I0/P

F_

076

TX

D5

/SP

I1_

MIS

O0

/PD

_1

575

nR

TS

5/S

PI1

_C

LK

/PD

_1

474

nC

TS

5/S

PI1

_S

S0

/PD

_1

373

EBI_AD3/PWMA3/TXD2/PC_1169

EBI_A21/I2C0_SCL/nRTS2/SC3_PWR/PA_1566

I2C4_SDA/SC3_CLK/PD_1265

SC3_RST/PD_1164

I2C4_SCL/SC3_DAT/PD_1063

EBI_AD3/PWMB5/SC3_CLK/TXD0/PA_1462

EBI_AD2/PWMB4/SC3_DAT/RXD0/PA_1361

EBI_AD1/PWMA4/SPI3_MOSI1/nCTS0/PA_1260

EBI_AD0/PWMA5/SPI3_MISO1/nRTS0/PA_1159

EBI_A20/PWMB0/SPI3_MOSI0/SC0_DAT/PA_1058

EBI_A19/PWMB1/SPI3_MISO0/SC0_PWR/PA_957

EBI_A18/PWMB2/SPI3_CLK/SC0_RST/PA_856

EBI_A17/PWMB3/SPI3_SS0/SC0_CLK/PA_755

VSS54

VDD53

SC1_CLK/I2S1_LRCLK/PG_652

SC1_DAT/I2S1_BCLK/PG_551

PF

_9

/OP

A0

_IN

+/P

WM

A0

5

PF

_1

2/O

PA

1_

IN+

/nC

TS

18

PD

_3

/SC

5_

CL

K/I

2C

3_

SD

A/C

MP

2_

O/S

D0

_C

Dn

/VID

EO

_D

0/J

TA

G_

TD

O/E

BI_

A7

24

PD

_5

/SC

5_

RS

T/T

XD

3/V

IDE

O_

VS

YN

C/J

TA

G_

RS

T/E

BI_

A9

26

PD

_6

/SC

5_

PW

R/n

RT

S3

/SD

0_

CM

D/V

IDE

O_

HS

YN

C/E

BI_

A1

027

PD

_7

/SC

5_

DA

T/n

CT

S3

/SD

0_

CL

K/V

IDE

O_

PIX

CL

K/E

BI_

A1

128

RE

SE

Tn

31

EBI_A16/CAN1_TXD/PWMA1/I2S0_LRCLK/SC2_CD/PA_648

EBI_A22/I2C0_SDA/nCTS2/SC3_RST/PC_967EBI_AD2/PWMA2/RXD2/SC3_CD/PC_1068

LDO_CAP70VSS71VDD72

US

B0

_O

TG

_ID

83

I2S

1_

DI/

SP

I2_

CL

K/n

CT

S4

/SC

3_

CL

K/P

G_

988

EB

I_A

D6

/TM

0/R

XD

4/S

PI2

_M

ISO

0/n

RT

S1

/PB

_4

91

ET

M_

TR

AC

E_

D3

/EB

I_A

D9

/nC

TS

4/P

WM

B5

/I2

C2

_S

DA

/PB

_7

94

ET

M_

TR

AC

E_

D2

/EB

I_A

D1

0/n

CT

S5

/PB

_8

95

ET

M_

TR

AC

E_

D0

/EB

I_A

D1

2/T

XD

5/P

B_

10

97

I2C

1_

SD

A/T

XD

4/C

AN

1_

TX

D/P

H_

1100

VD

D105

VS

S106

LD

O_

CA

P107

INT

2/E

BI_

MC

LK

/I2

S1

_D

I/R

XD

4/S

C1

_D

AT

/EM

C_

PH

Y_

CL

K/P

C_

0108

PC_1/EMC_MII_RXERR/SC1_CLK/TXD4/I2S1_BCLK/TM3/EBI_AD13109

PC_2/EMC_MII_RXDV/SC1_PWR/nRTS4/I2S1_LRCLK/SPI0_SS0/EBI_AD12110

PC_3/EMC_MII_RXD1/SC1_CD/nCTS4/I2S1_MCLK/SPI0_MISO1/EBI_AD11111

PC_4/EMC_MII_RXD0/SC1_RST/I2S1_DO/SPI0_MOSI1/EBI_AD10112

PC_5/EMC_MII_RXCLK/EBI_MCLK113

PC_6/EMC_MII_TXD0/SPI0_MISO0/TM2/TM2_EXT/EBI_AD9114

PC_7/EMC_MII_TXD1/SPI0_MOSI0/TM1_EXT/EBI_AD8115

PC_8/EMC_MII_TXEN/SPI0_CLK/TM0_EXT116

PF_2/EMC_MII_RXD3/SPI3_SS0/SD0_D3117

PF_3/EMC_MII_RXD2/SPI3_CLK/SD0_D2118

PF_4/EMC_MII_COL0/SPI3_MISO0/SD0_D1119

PF_5/EMC_MII_CRS/SPI3_MOSI0/SD0_D0120

VSS121

VDD122

PF_6/EMC_MII_TXCLK/RXD2/SD0_CDn123

PF_7/EMC_MII_TXD3/TXD2/SD0_CMD124

PF_8/EMC_MII_TXD2/nRTS2/SD0_CLK125

PH_2/nCTS2126

LDO_CAP127

VSS128

VDD129

PE_0/ADC0_0/INT4130

PE_1/ADC0_1131

PE_2/ADC0_2/SPI0_MISO0/CMP0_O132

PE_3/ADC0_3/SPI0_MOSI0/CMP0_P3133

PE_4/ADC0_4/SPI0_SS0/CMP0_P2134

PE_5/ADC0_5/SPI0_CLK/CMP0_P1/SD0_CDn135

PE_6/ADC0_6/SPI0_MISO0/CMP0_P0/SD0_CMD/EBI_nWR136

PE_7/ADC0_7/SPI0_MOSI0/CMP0_N/SD0_CLK/EBI_nRD137

AVSS138

VREF139

AVDD140

PE_8/ADC0_8/ADC1_0/CMP1_N/SD0_D3/TM1/EBI_ALE141

PE_9/ADC0_9/ADC1_1/CMP1_P0/SD0_D2/EBI_nWRH142

PE_10/ADC0_10/ADC1_2/CMP1_P1/SD0_D1/SPI0_MISO1/EBI_nWRL143

PE_11/ADC0_11/ADC1_3/CMP1_P2/SD0_D0/SPI0_MOSI1/CMP2_P3/EBI_nCS0144

VREFAVDD

VCC33

VCC33

VCC33

VBAT

VCC33

VCC33VCC33

VCC33

USB_VRES

Page 16: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 16 of 26 Rev. V1.00

XT1_IN

XT1_OUT

XT32_IN

XT1_OUT

XT32_OUT

XT1_IN

Off-page Connector

XT32_OUT

XT32_IN

XT1_OUT

XT32_IN

XT32_OUT

GN

D

XT1_IN

C11NCC0603

C9NC

C0603

X212MHz

XTAL3-1

GNDGND

C820p

C0603

C720p

C0603

X3

32.768K

XTAL-3.4MM-2P

R19

0

R0603

R24

NC

R0603

R20

NC

R0603

CRYSTAL

VCC33VCC33

RESETTICERST

Off-page Connector

RESET

RESET

C10

1uFC0603

R2310KR0603

GNDGND

SW1

PUSH BOTTOM

SW

VCC33

GN

D

Page 17: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 17 of 26 Rev. V1.00

R1

10KR0603

USB OTG Host/Device

VCC33

GND

VCC33

GND

TP12 NC

TP13 NC

TP14 NC

VDD5V

TP11 NC

TP10 NC

USB_ID

USB_OC#

USB Host/Device

USB_OC#USB_PWR_EN

VDD5V

GN

D

Off-page Connector

PB_1

USB_OC#

USB_VBUS

USB_ID

USB_PWR_EN

USB_D+

USB_VBUS

USB_D-

USB_D+

USB_VBUS

PB_0 ICE_USBVBUS

USB_ID

USB_D-

+

CT15

10uF/10V

TANT-A

CB22

0.1u

C0603

NCT3520U High Active

D-USB_D-

D+

USB_D+

R28 0

R0603

L8

L0603

CB21

0.1u

C0603

U5

NCT3520U

OUT1

GND2

OC#3

IN5

EN/EN#4

R30 0

R0603

CON2

USB MICRO-AB RECEP.

VBUS1

D-2

D+3

GND5

ID4 Shield

6

Shield7

Shield8

Shield9

+

CT14

33uF/6.3V

TANT-A

R254.7K

R0603

VCC33

NCT3520U

pin3(OC#) is

Open Drain Pin

ADAVSS

CB200.1u

C0603

VCC33

VBAT

CT10

10uF/10VTANT-A

L4L0603

GND

CB17

NCC0603

JP14

HEADER 2X1 (NC)

12

VDD5V

CB180.1u

C0603

JP3

HEADER 2X1 (NC)

12

AVDD

CB71

0.1u

C0603

VCC33VREF

JP6

HEADER 2X1 (NC)

12

ADAVSS

NCT3705U-A

U4

SOT-25

CE3

VIN1

VOUT5

VSS2

SET4

VCC33

R17200K

R0603

VCC33

CT9

NCTANT-A

VDD5V

CT13

10uF/10VTANT-A

JP4

HEADER 2X1 (NC)

12

JP7

HEADER 2X1 (NC)

12

R171120K

R0603

POWER

CB19

0.1uC0603

NC

CT12

10uF/10VTANT-A

L6L0603

L5L0603

JP5

HEADER 2X1 (1 and 2 short)

12

VDD5VICE_USBVBUS

Off-page Connector

ADAVSS

AVDDAVDD

ADAVSS

VCC33VCC33

VBATVBAT

GNDGND

VREFVREF

Page 18: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 18 of 26 Rev. V1.00

PIN[1:144]PIN[1:144]

PIN46

PIN131

PIN124

PIN6

PIN137

PIN94

J1

HEADER 18X2 (NC)

2468

1012141618202224262830323436

1357911131517192123252729313335

PIN127

PIN39

PIN54

PIN132

PIN101

PIN75

PIN106

PIN92

PIN70

PIN123

PIN29

PIN CONNECTOR

PIN34

PIN74

PIN64

J2

HEADER 18X2 (NC)

2468

1012141618202224262830323436

1357911131517192123252729313335

PIN18

PIN57

PIN5

PIN136PIN65

PIN105

J3

HEADER 18X2 (NC)

2468

1012141618202224262830323436

1357911131517192123252729313335

PIN33

PIN143

PIN61

PIN49

PIN69

PIN120

PIN14

PIN129

PIN116

PIN126

PIN73

PIN78

PIN121

PIN111

PIN90

PIN62

PIN58

PIN81

PIN51

PIN8

PIN48

PIN7

PIN60

PIN97

PIN89

PIN59

PIN140

PIN3

PIN93

PIN134

PIN26

PIN47

PIN128

PIN99

PIN15

PIN21

PIN55

PIN13

PIN95

PIN37

PIN139

J4

HEADER 18X2 (NC)

2468

1012141618202224262830323436

1357911131517192123252729313335

PIN56

PIN86

PIN20

PIN115

PIN138PIN67

PIN133

PIN38

PIN135PIN63

PIN31

PIN17

PIN53

PIN30

PIN141

PIN112

PIN52

PIN72

PIN122

PIN1

PIN66

PIN24

PIN83

PIN117

PIN36

PIN119

PIN28

PIN22

PIN9

PIN68

PIN27

PIN12PIN85

PIN16

PIN118

PIN42

PIN71

PIN80

PIN114PIN41

PIN2

PIN43

PIN23

PIN50

PIN113

PIN77PIN4

PIN142

PIN44

PIN88

PIN96PIN98

PIN103

PIN35 PIN107

PIN79

PIN144

PIN108

PIN125

PIN109

PIN100

PIN40

PIN91

PIN10

PIN25

PIN110

PIN82

PIN130

PIN84

PIN76

PIN19

PIN102PIN104PIN32

PIN45

PIN11

PIN87

Off-page Connector

Page 19: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 19 of 26 Rev. V1.00

TICEDAT

RXD0

TICERST

TICECLK

ICE_DAT

ICE_CLK

TXD0

RXD0

RESET

TXD0

M0_TXDM0_TXD

M0_RXDM0_RXD

Off-page Connector

VCC33

M0_TXD

JP10

HEADER 2X1 (1 and 2 short)

12

TXDRXD

ICE INTERFACE

TXD0

ICE_DAT

GN

D

TXD

ICE_CLK

JP11

HEADER 5X2 (NC)

1 23 45 67 89 10

JP8

HEADER 2X1 (NC)

12

JP9

HEADER 2X1 (NC)

12

RXD0RXD

VCC_A

M0_RXD

RESET

GND

VCC33

GND

VCC33

R21330

R0603

PB_10

LED

12

I/O

RedKP-2012

VCC33

12

POWER

GreenKP-2012

VCC33

R22330

R0603

GN

D

Off-page Connector

PB_10

VCC33

GNDGND

VCC33

PB_10

Page 20: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 20 of 26 Rev. V1.00

5.2 Nu-Link-Me Schematic

ICE_VCC33

ICE_USB_D+ICE_USB_D-

VCC_A

ICE_VCC

ICE_USBVBUS

12

IDLE

RedKP-2012

RED

ICPLED 12

ICP

YellowKP-2012

12

ICE

RedKP-2012

ICELEDICERP1

8P4R-3308P4RA

1 23 45 67 8

12

BUSY

GreenKP-2012

ICE_VCC

GREEN

ICEL2

L0603

ICEC2

20pC0603

ICEX112MHz

XTAL3-1

ICEL1

L0603

ICEC1

20pC0603

ADAVSS

ICE_VCC

ICE_JP14

HEADER 2X1 (NC)

12

ICE_VCC5

ICE_VCC5

ICER5

10K

R0603

ICEC410uF/10VTANT-A

ICE_VCC

ICE_VCC

TICEDATTICECLKTICERST

M0_TXDM0_RXD

RXDTXD

M0_TXDM0_RXD

ICE_RST

VCOM_En

RX1

HEADER 2X1 (NC)

12

TX1

HEADER 2X1 (NC)

12

VCOM1

HEADER 2X1 (NC)

12

RXDM0_TXD

VCOM_En

TXDM0_RXD

POWER

ICE CONNECT IF

MCU and USB

CRYSTAL

ICE_VCC

DEBUG

RESET CIRCUIT

ICE_AVDD

ICE_USBVBUSICEJP2

HEADER 5X2 (NC)HEADER 5X2

1 23 45 67 89 10

TICERST

TICEDATTICECLK

ICE_VCC

ICEJP1

HEADER 5X1 (NC)HEADER 5X1

12345

ICE_USBVBUS ICE_CLKICE_DAT

ICE_RST

12M_I

GN

D

12M_O

ICEU1

NUC12SRE3AN

PA0/ADC044PA1/ADC145PA2/ADC246PA3/ADC347PA4/ADC448INT0/PB14

1

CPO1/PB132

CPO0/PB123

VB

US

17

VD

D3

318

D-

19

D+

20

PB

0/R

X0

21

PB

1/T

X0

22

PB

2/R

TS

023

PB

3/C

TS

024

PC

2/S

DI0

026

PC

1/S

PC

LK

027

PC

0/S

S0

028

PC11/SDO1033PC10/SDI1034PC9/SPCLK135PC8/SS1036PA15/PWM337PA14/PWM238PA13/PWM139

X32I4

X32O5

I2C1SCL/PA116

I2C0SDA/PA89

I2C1SDA/PA107

I2C0SCL/PA98

RX1/PB410

TX1/PB511

RTS1/PB612

CTS1/PB713

PC

3/S

DO

00

25

AVSS43

ICE_CK42

ICE_DAT41

PA12/PWM040

LDO14

VSS16 VDD15

AD

C/P

A5

49

AD

C6

/PA

650

AD

C7

/PA

751

AV

DD

52

CP

N0

/PC

753

CP

P0

/PC

654

CP

N1

/PC

15

55

CP

P1

/PC

14

56

INT

1/P

B1

557

XT

1_

Ou

t58

XT

1_

In59

/RE

SE

T60

VS

S1

61

VD

D1

62

PV

SS

63

ST

AD

C/T

M0

/PB

864

PE

529

PB

11

/TM

330

PB

10

/SS

01

/TM

231

PB

9/S

S1

1/T

M1

32

ICEL3L0603

ICER433R0603

ICER233R0603

ICEJ1

mini USB 5pinUSB_MINI_B

GND5 NC4 DP3 DM2 VCC1

SHIELD6

SHIELD7

SHIELD8

SHIELD9

ICE_USBVBUS

ICE_USB_D+ICE_USB_D-

ICE

_R

ST

12

ICED3SS24ARB060L

GNDGND

12

M_

I

ICE_VCC

ICE_AVDD

12

M_

O

ICPLED

GREENRED

ICECB10.1uC0603

ICELED

TP2SIP/1P

1

TP1SIP/1P

1ICE_USBVBUS

VB

US

ICECB20.1uC0603

ICEC31uFC0603

RTDA20R0603

TICERST

RTDA333R0603

RTCK1100KR0603

TICECLK

RTDA1100KR0603

RRSET1100KR0603

ADAVSS

TICEDAT

ICE_VCC

ICE_DATICE_CLK

CB72

0.1u

C0603

ICE_VCC5

NCT3705U-A

U1

SOT-25

CE3

VIN1

VOUT5

VSS2

SET4

R174120K

R0603

R173200K

R0603 CB73

4.7uF

C0603

JP1HEADER 3X1 (2 and 3 short)

1 32

TP4SIP/1P

1

TP3SIP/1P

1

ICE_USBVBUS

ICE_VCC33

ICECT110uF/10VTANT-A

Title

Size Document Number Rev

Date: Sheet of

ICE_LQFP64.SCH V2.2

Nu-Link-Me V2.0

Custom

2 3Monday , June 09, 2014

ICE_VCC5

Page 21: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 21 of 26 Rev. V1.00

6 Downloading NuMicro™ Related Files from Nuvoton Website

6.1 Downloading NuMicro™ Keil μVision® IDE Driver

Step1

Visit the Nuvoton NuMicro™

website: http://www.nuvoton.com/NuMicro

Step2

Step3

Click here to enter Tool & Software.

Click here to enter Device Driver and Software Library.

Page 22: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 22 of 26 Rev. V1.00

Step4

Step5 Download the NuMicro

™ Keil μVision

® IDE driver.

Click here to download the file.

Page 23: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 23 of 26 Rev. V1.00

Click here to enter Tool & Software.

6.2 Downloading NuMicro™ IAR EWARM Driver

Step1

Visit the Nuvoton NuMicro™

website: http://www.nuvoton.com/NuMicro.

Step2

Step3

Click here to enter Device Driver and Software Library.

Page 24: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 24 of 26 Rev. V1.00

Step4

Step5

Download the NuMicro™

IAR EWARM driver.

Click here to download the file.

Page 25: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 25 of 26 Rev. V1.00

Click here to enter Tool & Software.

Click here to enter Device Driver and Software Library.

6.3 Downloading NuMicro™ NUC442 Series BSP Software Library

Step1

Visit the Nuvoton NuMicro™

website: http://www.nuvoton.com/NuMicro.

Step2

Step3

Step 3

Download the NuMicro™

NUC442 Series CMSIS BSP.

Page 26: NuTiny-SDK-NUC442 User Manual NuTiny-SDK-NUC442 User Manual May 09, 2014 3 of 26 Rev. V1.00 1 Overview The NuTiny-SDK-NUC442 is a specific development tool for NuMicro™ NUC442 Series

NuTiny-SDK-NUC442 User Manual

May 09, 2014 26 of 26 Rev. V1.00

7 Revision History

Revision Date Description

1.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 of 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.