NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual...

18
NuTiny-SDK-NUC240 User Manual ARM Cortex-M0 32-BIT MICROCONTROLLER Publication Release Date: Sep. 14, 2012 Revision V1.0 - 1 - NuTiny-SDK-NUC240 User Manual For NuMicro NUC240 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.

Transcript of NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual...

Page 1: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

ARM Cortex™-M0

32-BIT MICROCONTROLLER

Publication Release Date: Sep. 14, 2012

Revision V1.0

- 1 -

NuTiny-SDK-NUC240 User Manual For NuMicro

™ NUC240 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-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 2 -

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

2 NuTiny-SDK-NUC240 Introduction .................................................................... 3

2.1 NuTiny -SDK-NUC240 Jumper Description ................................................................. 4 2.2 Pin Assignment for Extended Connector .................................................................... 5 2.3 NuTiny-SDK-NUC240 PCB Placement ........................................................................ 6

3 How to Start NuTiny -SDK-NUC240 on the Keil μVision® IDE ................................ 7

3.1 Keil uVision® IDE Software Download and Install ........................................................ 7 3.2 Nuvoton Nu-Link Driver Download and Install ............................................................ 7 3.3 Hardware Setup ..................................................................................................... 7 3.4 Smpl_NuTiny-NUC240 Example Program ................................................................... 8

4 How to Start NuTiny-SDK-NUC240 on the IAR Embedded Workbench ................... 9

4.1 IAR Embedded Workbench Software Download and Install ........................................... 9 4.2 Nuvoton Nu-Link Driver Download and Install ............................................................ 9 4.3 Hardware Setup ..................................................................................................... 9 4.4 Smpl_NuTiny-NUC240 Example Program ................................................................. 10

5 NuTiny-EVB-NUC240 Schematic ..................................................................... 11

6 Download NuMicro™

Family Related Files from Nuvoton Company ................................ 13

6.1 Download NuMicro™ Keil μVision® IDE Driver ............................................................ 13 6.2 Download NuMicro™ IAR EWARM Driver ................................................................... 15 6.3 Download NuMicro™ NUC100 Series BSP Software Library .......................................... 17

7 Revision History .............................................................................................. 18

Page 3: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 3 -

1 Overview

NuTiny-SDK-NUC240 is the specific development tool for NuMicro NUC240 series. Users can use NuTiny-SDK-

NUC240 to develop and verify the application program easily.

NuTiny-SDK-NUC240 includes two portions. One is NuTiny-EVB-NUC240 and the other is Nu-Link-Me. NuTiny-EVB-

NUC240 is the evaluation board and Nu-Link-Me is its Debug Adaptor. Thus, users do not need other additional ICE or

debug equipments.

2 NuTiny-SDK-NUC240 Introduction

NuTiny-SDK-NUC240 uses the NUC240VE3AE as the target microcontroller. Figure 2-1 is NuTiny-SDK-NUC240 for

NUC240 series, the left portion is called NuTiny-EVB-NUC240 and the right portion is Debug Adaptor called Nu-Link-

Me.

NuTiny-EVB-NUC240 is similar to other development boards. Users can use it to develop and verify applications to

emulate the real behavior. The on board chip covers NUC240 series features. The NuTiny-EVB-NUC240 can be a real

system controller to design users’ target systems.

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 IAR or Keil, please refer to “Nuvoton NuMicro™

IAR ICE driver

user manual “or Nuvoton NuMicro™

Keil ICE driver user manual” in detail. These two documents will be stored in the

local hard disk when the user installs each driver.

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

Page 4: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 4 -

2.1 NuTiny -SDK-NUC240 Jumper Description

2.1.1 Power Setting

J1: USB port in NuTiny-EVB-NUC240

JP1: VCC5 Voltage connecter in NuTiny-EVB-NUC240

J2: USB port in Nu-Link-Me

JPR1: Select 5V or 3V for system power

POWER model J1 USB port J2 USB port JP2 VCC5 MCU Voltage

Model 1 Connect to PC X DC 5V output DC 5V

Model 2 X Connect to PC DC 5V output DC 5V

Model 3 X X DC 2.8-5.5V input Voltage by VCC input

X: Unused.

2.1.2 Debug Connector

JP4: Connector in target board (NuTiny-EVB-NUC240) for connecting with Nuvoton ICE adaptor (Nu-Link-Me)

JP9: Connector in ICE adaptor (Nu-Link-Me) for connecting with a target board (for example NuTiny-EVB-NUC240)

2.1.3 USB Connector

J1: Mini USB Connector in NuTiny-EVB for application use

J2: Mini USB Connector in Nu-Link-Me connected to a PC USB port

2.1.4 Extended Connector

JP3, JP5, JP7 and JP8: Show all chip pins in NuTiny-EVB-NUC240

2.1.5 Reset Button

SW1: Reset button in NuTiny-EVB-NUC240

2.1.6 Power Connector

JP1: VCC connector in NuTiny-EVB-NUC240

JP2: GND connector in NuTiny-EVB-NUC240

Page 5: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 5 -

2.2 Pin Assignment for Extended Connector

NuTiny-EVB-NUC240 provides NUC240VE3AE on board and the extended connector for LQFP-100 pin.

Table 2-1 is the pin assignment for NUC240VE3AE.

Pin No Pin Name Pin No Pin Name Pin No Pin Name Pin No Pin Name

01 PE15 26 PE8 51 PE4 76 PA5

02 PE14 27 PE7 52 PE3 77 PA6

03 PE13 28 VBUS 53 PE2 78 PA7

04 PB14 29 VDD33 54 PE1 79 Vref

05 PB13 30 D- 55 PE0 80 AVDD

06 VBAT 31 D+ 56 PC13 81 PD0

07 X32O 32 PB0 57 PC12 82 PD1

08 X32I 33 PB1 58 PC11 83 PD2

09 PA11 34 PB2 59 PC10 84 PD3

10 PA10 35 PB3 60 PC9 85 PD4

11 PA9 36 PD6 61 PC8 86 PD5

12 PA8 37 PD7 62 PA15 87 PC7

13 PD8 38 PD14 63 PA14 88 PC6

14 PD9 39 PD15 64 PA13 89 PC15

15 PD10 40 PC5 65 PA12 90 PC14

16 PD11 41 PC4 66 ICE_DAT 91 PB15

17 PD12 42 PC3 67 ICE_CK 92 XT1_Out

18 PD13 43 PC2 68 VDD 93 XT1_In

19 PB4 44 PC1 69 VSS 94 /RESET

20 PB5 45 PC0 70 AVSS 95 VSS

21 PB6 46 PE6 71 PA0 96 VDD

22 PB7 47 PE5 72 PA1 97 PS2DAT

23 LDO 48 PB11 73 PA2 98 PS2CLK

24 VDD 49 PB10 74 PA3 99 PVSS

25 VSS 50 PB9 75 PA4 100 PB8

Table 2-1 Pin Assignment for NUC 240 Series

Page 6: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 6 -

2.3 NuTiny-SDK-NUC240 PCB Placement

Users can refer to Figure 2-2 for the NuTiny-SDK-NUC240 PCB placements.

Figure 2-2 NuTiny-SDK-NUC240 PCB Placement

Page 7: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 7 -

3 How to Start NuTiny -SDK-NUC240 on the Keil μVision® IDE

3.1 Keil uVision® IDE Software Download and Install

Please visit the Keil company website (http://www.keil.com) to download the Keil μVision® IDE and install the RVMDK.

3.2 Nuvoton Nu-Link Driver Download and Install

Please visit the Nuvoton company NuMicro™

website (http://www.nuvoton.com/NuMicro ) to download “NuMicro™

Keil

μVision® IDE driver” file. Please refer to Chapter 6.1 for the detail download flow. When the Nu-Link driver has been

well 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 as Figure 3-1

Figure 3-1 NuTiny-SDK-NUC240 Hardware Setup

Page 8: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 8 -

3.4 Smpl_NuTiny-NUC240 Example Program

This example demonstrates the ease of downloading and debugging an application on a NuTiny-SDK-NUC240 board.

It can be found on Figure 3-2 list directory and downloaded from Nuvoton NuMicro™

website following on Chapter 6.3.

Directory Project File

Figure 3-2 Smpl_NuTiny_240 Example Directory

To use this example:

The PA.10 LED will toggle on the NuTiny-EVB-NUC240 board.

Start μVision®

Project-Open

Open the Smpl_NuTiny_240.uvproj project file

Project - Build

Compile and link the Smpl_NuTiny-NUC240

application

Flash – Download

Program the application code into on-chip Flash ROM

Start debug mode

Using the debugger commands, you may:

Review variables in the watch window

Single step through code

Reset the device

Run the application

Page 9: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 9 -

4 How to Start NuTiny-SDK-NUC240 on the IAR Embedded Workbench

4.1 IAR Embedded Workbench Software Download and Install

Please connect to IAR company website (http://www.iar.com) to download the IAR Embedded Workbench and install the

EWARM.

4.2 Nuvoton Nu-Link Driver Download and Install

Please connect to the Nuvoton Company NuMicro™

website (http://www.nuvoton.com/NuMicro) to download

“NuMicro™

IAR ICE driver user manual” file. Please refer to Chapter 6.2 for the detail download flow. When the Nu-

Link driver has been well 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 as Figure 4-1

Figure 4-1 NuTiny- SDK-NUC240-100 Hardware Setup

Page 10: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 10 -

4.4 Smpl_NuTiny-NUC240 Example Program

This example demonstrates the ease of downloading and debugging an application on a NuTiny-SDK-NUC240 board.

It can be found on Figure 4-2 list directory and downloaded from Nuvoton NuMicro™

website following on Chapter 6.3.

Directory Project File

Figure 4-2 Smpl_NuTiny-NUC240 Example Directory

To use this example:

The PA.10 LED will toggle on the NuTiny-EVB-NUC240 board.

Start IAR Embedded Workbench

File-Open-Workspace

Open the Smpl_NuTiny_240.eww workspace file

Project - Make

Compile and link the Smpl_NuTiny-240 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 11: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 11 -

5 NuTiny-EVB-NUC240 Schematic

P84

P71

P54

D12MO

P81

R10

0R0603

D12MI

P23

P26

DAVDD

P3

CB1

0.1u

C0603

P11

TICECLK

DM1

P16

P22

P62

P72

C220p

C0603

P95

P53

P36

P92

P89

RESET

P24

USBD+

P60

JP4

HEADER 5X2

1 23 45 67 89 10

P21

DVCC5

DX

32I

USBD+

P11

P9

P32

U1 NUC240_LQFP100

50494847464544434241403938373635343332313029282726

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

987654321

100999897969594939291908988878685848382818079787776

75

74

73

72

71

70

69

68

67

66

65

64

63

62

61

60

59

58

57

56

55

54

53

52

51

TM1/SPISS11/PB.9TM2/SPISS01/PB.10

TM3/PMW4/PB.11T1EX/PWM5/PE.5

PE.6I2SLRCLK/SPISS00/PC.0I2SBCLK/SPICLK0/PC.1I2SDI/SPIMISO00/PC.2

I2SDO/SPIMOSI00/PC.3SPIMISO01/PC.4SPIMOSI01/PC.5

TX2/PD.15RX2/PD.14

CANTX0/PD.7CANRX0/PD.6

T3EX/SC2CD/CTS0/PB.3T2EX/RTS0/PB.2

TX0/PB.1RX0/PB.0USB_D+USB_D-VDD33VBUSPE.7PE.8

VS

SV

DD

LD

O_C

AP

CT

S1/P

B.7

RT

S1/P

B.6

TX

1/P

B.5

RX

1/P

B.4

SP

IMO

SI3

1/P

D.1

3S

PIM

ISO

31/P

D.1

2S

PIM

OS

I30/P

D.1

1S

PIM

ISO

30/P

D.1

0S

PIC

LK

3/P

D.9

SP

ISS

30/P

D.8

I2C

0S

DA

/PA

.8I2

C0S

CL/P

A.9

CA

NT

X1/I

2C

1S

DA

/PA

.10

CA

NR

X1/I

2C

1S

CL/P

A.1

1X

32_I

X32_O

VB

AT

AD

1/C

PO

1/P

B.1

3IN

T0/S

PIS

S1/P

B.1

4P

E.1

3P

E.1

4P

E.1

5

CLKO/TM0/PB.8/STADCPVSSPS2CLK/PF.3PS2DAT/PF.2VDDVSS/RESETXT_IN/PF.1XT_OUT/PF.0T0EX/INT1/PB.15CPP1/PC.14CPN1/PC.15CPP0/PC.6/SC0CDCPN0/PC.7/SC1CDSPIMOSI21/PD.5SPIMISO21/PD.4SPIMOSI20/PD.3SPIMISO20/PD.2SPICLK2/PD.1SPICS20/PD.0AVDDVREFADC7/PA.7/SC1DAT/SPISS21ADC6/PA.6/SC1CLKADC5/PA.5/SC1RST

SC

1P

WR

/AD

C4/P

A.4

SC

0D

AT

/AD

C3/P

A.3

SC

OC

LK

/AD

C2/P

A.2

SC

OR

ST

/AD

C1/P

A.1

SC

0P

WR

/AD

C0/P

A.0

AV

SS

VS

SV

DD

ICE

_C

LK

ICE

_D

AT

SC

2D

AT

/PW

M0/P

A.1

2S

C2C

LK

/PW

M1/P

A.1

3S

C2R

ST

/PW

M2/P

A.1

4S

C2P

WR

/I2S

MC

LK

/PW

M3/P

A.1

5M

CLK

/SP

ISS

10/P

C.8

SP

ICLK

1/P

C.9

SP

IMIS

O10/P

C.1

0S

PIM

OS

I10/P

C.1

1S

PIM

ISO

11/P

C.1

2S

PIM

ISO

11/P

C.1

3P

WM

6/P

E.0

PW

M7/P

E.1

PE

.2P

E.3

PE

.4

TICERST

P62

ICERST

P91

P41

GND

PR1

500R0603

P91

P99

D12MO

P13

P31

P65

P14

L4

L0805

DVCC5

P8

DX32I

P5

P4

P74

DVCC5

VCC

P51

JP1

HEADER 2

12

TICERST

P86

P59

P56

P88

P95

DX32O

P12

P37

P34

L2

L0603DAVDD

P7

P21

C520p

C0603

ADAVSS

ICERST

P20

P2

GN

D

P57

DVCC5

GND

ICERST

P77

P61

P66

P6

JP7

HEADER 13X2

1 23 45 67 89 1011 1213 1415 1617 1819 2021 2223 2425 26

RESET

P84

P94

P18

P40

P52

P97

JP2

HEADER 2

12

P4

P17

P13

P29

P61

DVCC5

DVCC5

ICECLK

P87

P49

P43

Reset P71

X1

32.768K

XTAL-3.4MM-2P

P93

P22

P35

P31

P79

P14

R1

10K

R0603

P8

P33

DVCC5

P64

TICECLK

GND

P50

P68

L3

L0603

Crystal

P56

P78

P42

P50

P73

P86

P10

P6

12

POWER1

KPT-2012KP-2012

DVCC5

P73

ICECLK

P88

P27

P67

ICE INTERFACE

DVCC5

ADAVSS

ICE

DA

T

R2

500R0603

P96

P44

P48

P37

P82

P3

1 2

D1NC

RB060L

P25

P58

P55

ICEDAT

P85

P55

P28

P66

P99

P32

P43

P47

X212MHz

XTAL3-1

P77

P94

P5

P12

12

IO1

KPT-2012KP-2012

P74

P52

VCC5

P10

P97

P30

P40

ICE

CLK

JP8

HEADER 13X2

12

34

56

78

910

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

P80

P36

P39

P64

P87

D12MI

P15

P15

P68

P53

R333

R0603

TICEDAT

P90

P70

P69

P67

P98

P46

P29

P45

C1

10uF/10V

TANT-A

VCC

P78

P93

P19

P49

P18

JP5

HEADER 13X2

12345678910

11121314151617181920212223242526

P75

P2

ICEDAT

P79

P48

P42

DVBUS

P69

P81

P27

P41

P72

P85

P100

CT1

1uF/6.3V

TANT-RP

16

P45

P23

P70

P25

C6

1u

C0603

DM1

P92

P44

P75

P60

P82

P28

P47

P46

SW1

PUSH BOTTOM

SW

P90

P96

DVBUS

P1

P33

JP6

HEADER 4

1234

GN

D

TICEDAT

P54

DX

32O

DP1

P89

P58

P51

R433R0603

P63

VCC5

P100

USBD-

P63

P83

P76

C420p

C0603

VCC5

P20

P34

P19

P7

JP3

HEADER 13X2

12

34

56

78

910

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

DP1

P76

P57

P26

1.0

Nuvoton NU_TINY_120

A2

Monday , July 30, 2012

Title

Size Document Number Rev

Date: Sheet of

P59

J1mini USB 5pin

USB_MINI_B

54321 6

789

GNDNCDPDMVCC SHIELD

SHIELDSHIELDSHIELD

P83

P30

P35

DVBUS

P80

P98

P17

P38

C320p

C0603

DVCC5

P10

P9

USBD-

P1

P24

P38P39

L1

L0603

P65

Page 12: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 12 -

ICE_CLK

U2

NUC12SRE3AN

4445464748

123

17

18

19

20

21

22

23

24

26

27

28

33343536373839

456

9

78

10111213

25

43424140

14

1615

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

29

30

31

32

PA0/ADC0PA1/ADC1PA2/ADC2PA3/ADC3PA4/ADC4

INT0/PB14CPO1/PB13CPO0/PB12

VB

US

VD

D3

3D

-D

+P

B0

/RX

0P

B1

/TX

0P

B2

/RT

S0

PB

3/C

TS

0

PC

2/S

DI0

0P

C1

/SP

CL

K0

PC

0/S

S0

0

PC11/SDO10PC10/SDI10

PC9/SPCLK1PC8/SS10

PA15/PWM3PA14/PWM2PA13/PWM1

X32IX32OI2C1SCL/PA11

I2C0SDA/PA8

I2C1SDA/PA10I2C0SCL/PA9

RX1/PB4TX1/PB5RTS1/PB6CTS1/PB7

PC

3/S

DO

00

AVSSICE_CK

ICE_DATPA12/PWM0

LDO

VSSVDD

AD

C/P

A5

AD

C6

/PA

6A

DC

7/P

A7

AV

DD

CP

N0

/PC

7C

PP

0/P

C6

CP

N1

/PC

15

CP

P1

/PC

14

INT

1/P

B1

5X

T1

_O

ut

XT

1_In

/RE

SE

TV

SS

1V

DD

1P

VS

SS

TA

DC

/TM

0/P

B8

PE

5P

B1

1/T

M3

PB

10/S

S0

1/T

M2

PB

9/S

S1

1/T

M1

ICELED

US

B_

D-

CB30.1u

C0603

DM

JP9

HEADER 5X2

1 23 45 67 89 10

1.0

Nuvoton NU_TINY_120

Custom

Tuesday , May 29, 2012

Title

Size Document Number Rev

Date: Sheet of

VCC5

RICK1

100K

R0603

12M_I

AVDD

GREEN

VCC5

UP1RT9164A-3.3v

3 1 2 4

IN GN

DO

UT

OU

T

USBVBUS DP

CP1

10uF/10V

TANT-B

12M

_I

RRSET1

100K

R0603

RTIDA1

100K

R0603

DM

CB20.1u

C0603

USBVBUS ICE_CLK

TICERST

12

IDLE1

KPT-2012KP-2012

12

D2

SS24ARB060L

X312MHz

XTAL3-1

ICE CONNECT IFVCC5

GREEN

ISPLED

L7

L0805

TICECLK

DEBUG

JP11

HEADER 4

1234

RED

VCC5

12

BUSY1

KPT-2012KP-2012

ICE_DAT

L6L0603

ICELED

CT2

10uF/6.3V

TANT-R

ADAVSS

ICE_DAT

RTDA2

0R0603

USBVBUS

VCC5

C820p

C0603

TICERST12

ICE1

KPT-2012KP-2012

TICEDAT

AVDD

PVSS

ADAVSS

1 2

PD1SS24A

RB060L

TICEDAT

TICECLK

J2mini USB 5pin

USB_MINI_B

54321 6

789

GNDNCDPDMVCC SHIELD

SHIELDSHIELDSHIELD

TICERST

RP1

8P4R-330

8P4RA

1 23 45 67 8

VCC5

RTDA3

1K

R0603

VCC5

VCC

12M

_O

C7

10uF/10V

TANT-A

12M_O

RTCK1

100K

R0603

GND

ICE_RST

JP10

HEADER 5

12345

NUC_RST#

JPR1

HEADER 3

123

R6

33

R0603

VCC5

NU

C_

RS

T#

VCC5

R5

10K

R0603

VB

US

USBVBUS

DP

C920p

C0603

VCC5

C10

1u

C0603

ICE_RST

VCC5

TICERST

R833R0603

US

B_

D+

P5V

12

ICP1

KPT-2012KP-2012

TICECLK

RTDA1

100K

R0603

VCC5

TICEDAT

L5L0603

RED

P3V

R933R0603

ISPLED

R7

1M

R0603

Page 13: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 13 -

6 Download NuMicro™ Family Related Files from Nuvoton Company

6.1 Download NuMicro™

Keil μVision® IDE Driver

Step1

Visit the Nuvoton NuMicro™

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

Step2

Click here to enter Device Driver and Software Library

Page 14: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 14 -

Step 3

Step 4

Download the NuMicro Keil μVision

® IDE driver

To download the file.

Page 15: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 15 -

6.2 Download NuMicro™

IAR EWARM Driver

Step1

Visit the Nuvoton NuMicro™

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

Step2

Click here to enter Device Driver and Software Library

Page 16: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 16 -

Step 3

Step 4

Download the NuMicro™

IAR Embedded Workbench® driver

To download the file

Page 17: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 17 -

6.3 Download NuMicro™ NUC100 Series BSP Software Library

Step1

Visit the Nuvoton NuMicro™

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

Step2

Step 3

Download the NuMicro™

NUC200 series software library

Click here to enter Device Driver and Software Library

Page 18: NuTiny-SDK-NUC240 User Manual - Microcontroller … · 2014-05-07 · NuTiny-SDK-NUC240 User Manual Publication Release Date: Sep. 14, 2013 -5 Revision V1.0 2.2 Pin Assignment for

NuTiny-SDK-NUC240 User Manual

Publication Release Date: Sep. 14, 2013

Revision V1.0 - 18 -

7 Revision History

Version Date Page Description

1.0 Sep. 14, 2013 -- Initial Release

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