nutiny-sdk-m0518sd2ae user manual...nutiny-sdk-m0518 series user manual des. 24, 2014 3 of 21 rev....

22
NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 Rev. 1.00 NuTiny-SDK-M0518SD2AE User Manual The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton. Nuvoton is providing this document only for reference purposes of NuMicro microcontroller based system design. 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.

Upload: others

Post on 27-May-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 Rev. 1.00

NuTiny-SDK-M0518SD2AE User Manual

The information described in this document is the exclusive intellectual property of

Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton.

Nuvoton is providing this document only for reference purposes of NuMicro™

microcontroller based system design.

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-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 2 of 21 Rev. 1.00

Table of Contents

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

2 Introduction to NuTiny-SDK- M0518SD2AE ............................................ 4

2.1 NuTiny-SDK- M0518SD2AE Jumper Description ............................................. 5 2.2 Pin Assignment for Extended Connectors ...................................................... 6 2.3 NuTiny-SDK- M0518SD2AE PCB Placement ................................................... 8

3 Starting to Use NuTiny-SDK- M0518SD2AE on the Keil μVision® IDE ......... 9

3.1 Downloading and Installing Keil μVision® IDE Software ................................... 9 3.2 Downloading and Installing Nuvoton Nu-Link Driver ....................................... 9 3.3 Hardware Setup ......................................................................................... 9 3.4 Example Program ..................................................................................... 10

4 Starting to Use NuTiny-SDK- M0518SD2AE on the IAR Embedded Workbench ............................................................................................. 11

4.1 Downloading and Installing IAR Embedded Workbench Software .................... 11 4.2 Downloading and Installing Nuvoton Nu-Link Driver ..................................... 11 4.3 Hardware Setup ....................................................................................... 11 4.4 Example Program ..................................................................................... 12

5 NuTiny-SDK- M0518SD2AE Schematics ............................................... 13

5.1 NuTiny-EVB- M0518SD2AE Schematic ........................................................ 13 5.2 NuTiny-EVB- M0518SD2AE Schematic ........................................................ 14 5.3 Nu-Link-Me Schematic .............................................................................. 15

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

6.1 Downloading NuMicro™ Keil μVision® IDE Driver .......................................... 16 6.2 Downloading NuMicro™ IAR EWARM Driver ................................................. 18 6.3 Downloading NuMicro™ M0518SD2AE Series BSP Software Library ................ 20

7 Revision History ............................................................................... 22

Page 3: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 3 of 21 Rev. 1.00

1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™ M0518 series by which users can develop and verify the application program easily. The NuTiny-SDK-M0518SD2AE includes two portions: NuTiny-EVB-M0518SD2AE (an evaluation board) and Nu-Link-Me (Debug Adaptor). With the NuTiny-SDK-M0518SD2AE, users do not need additional ICE or debug equipment.

Page 4: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 4 of 21 Rev. 1.00

2 Introduction to NuTiny-SDK- M0518SD2AE The following figure shows the NuTiny-SDK- M0518SD2AE for M0518SD2AE series, in which the left portion is called NuTiny-EVB- M0518SD2AE and the right portion is Debug Adaptor called Nu-Link-Me. The NuTiny-EVB- M0518SD2AE is similar to other development board. Users can use it to develop and verify applications to emulate the real behavior. In fact, the real chip M0518SD2AE is mounted on the board. The NuTiny-EVB- M0518SD2AE can be a real system controller to design user target system. The Nu-Link-Me is a Debug Adaptor which connects the USB port of your PC 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 Keil or IAR, please refer to “Nuvoton NuMicro™ IAR ICE Driver User Manual” or Nuvoton NuMicro™ Keil ICE Driver User Manual” for details.

Target Chip ICE ControllerVCC:3.3V or 5V

(JP8)

ICE Controller

USB Connector

(ICEJ2)

VSS

(JP2)

VDD

(JP1)

Reset Key

(SW1)

LQFP-64 pin

Extended Connector

(JP7, JP6)

LQFP-64 pin

Extended Connector

(JP4, JP5)

I/O LED

Power LED

Figure 2-1 NuTiny-SDK- M0518SD2AE (Green PCB Board)

Page 5: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 5 of 21 Rev. 1.00

2.1 NuTiny-SDK- M0518SD2AE Jumper Description

2.1.1 Power Settings

JP1: VDD Voltage connecter in NuTiny-EVB- M0518SD2AE

J1: USB port in Nu-Link-Me

Model JPR1 J1 USB port JP1 VDD MCU Voltage

Model 1 Select VCC33

(default) Connect to PC DC 3.3V output DC 3.3V

Model 2 X X DC 2.5 V ~ 5.5 V

Input Voltage by JP1

input

X: Unused.

2.1.2 Debug Connectors

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

JP8: Connector in ICE adaptor (Nu-Link-Me) for connecting with a target board (e.g. NuTiny-EVB- M0518SD2AE)

2.1.3 USB Connectors

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

2.1.4 Extended Connectors

JP4, JP5, JP6 and JP7: Show all chip pins in NuTiny-EVB- M0518SD2AE

2.1.5 Buttons

SW1: Reset button in NuTiny-EVB- M0518SD2AE

2.1.6 Power Connectors

JP1: VDD connector in NuTiny-EVB- M0518SD2AE

JP2: VSS connector in NuTiny-EVB- M0518SD2AE

Page 6: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 6 of 21 Rev. 1.00

2.2 Pin Assignment for Extended Connectors

The NuTiny-EVB- M0518SD2AE provides the M0518SD2AE target chip on board and

the extended connectors (JP4, JP5, JP6 and JP7) for LQFP48-pin. The following table is the pin assignment for M0518SD2AE.

Pin No Pin Name Pin No Pin Name

01 PB.14,INT0 33 PC.11,PWM1_BRAKE1

02 PB.13 34 PC.10,PWM1_BRAKE0

03 PB.12,CLKO,BPWM1_CH3

35 PC.9,PWM0_BRAKE1

04 PF.5,I2C0_SCL,PWM1_CH5

36 PC.8,PWM0_BRAKE0

05 PF.4,I2C0_SDA,PWM1_CH4

37 PA.15,PWM0_CH3

06 PA.11,I2C1_SCL,PWM1_CH3

38 PA.14,PWM0_CH2

07 PA.10,I2C1_SDA,PWM1_CH2

39 PA.13,PWM0_CH1,UART5_TXD

08 PA.9,I2C0_SCL,UART1_nCTS

40 PA.12,PWM0_CH0,UART5_RXD

09 PA.8,I2C0_SDA,UART1_nRTS

41 PF.7,ICE_DAT

10 PB.4,UART1_RXD 42 PF.6,ICE_CLK

11 PB.5,UART1_TXD 43 AVSS

12 PB.6,UART1_nRTS 44 PA.0,PWM0_CH4,ADC0,I2C1_SCL,UART5_TXD

13 PB.7,UART1_nCTS 45 PA.1,PWM0_CH5,ADC1,I2C1_SDA,UART5_RXD

14 LDO_CAP 46 PA.2,PWM1_CH0,ADC2,UART3_TXD

15 VDD 47 PA.3,PWM1_CH1,ADC3,UART3_RXD

16 VSS 48 PA.4,ADC4

17 PB.0,UART0_RXD 49 PA.5,UART3_RXD,ADC5

18 PB.1,UART0_TXD 50 PA.6,UART3_TXD,ADC6

19 PB.2,UART0_nRTS,TM2_EXT,TM2,PWM1_BRAKE1

51 PA.7,Vref,ADC7

20 PB.3,UART0_nCTS,TM3_EXT,TM3,PWM1_BRAKE0

52 AVDD

21 PD.6,BPWM1_CH1 53 PC.7,PWM0_BRAKE1,I2C0_S

Page 7: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 7 of 21 Rev. 1.00

CL,UART4_RXD

22 PD.7,BPWM1_CH0 54 PC.6,PWM0_BRAKE0,I2C0_SDA,UART4_TXD

23 PD.14,BPWM0_CH5,UART2_RXD

55 PC.15

24 PD.15,BPWM0_CH4,UART2_TXD

56 PC.14

25 PC.3,BPWM0_CH3,SPI0_MOSI0

57 PB.15, ,BPWM1_CH5TM0,TM0_EXT,INT1

26 PC.2,BPWM0_CH2,SPI0_MISO0

58 PF.0,XT1_OUT

27 PC.1,BPWM0_CH1,SPI0_CLK

59 PF.1,XT1_IN

28 PC.0,BPWM0_CH0,SPI0_SS0

60 nRESET

29 PE.5,PWM0_CH5,TM1_EXT,TM1

61 VSS

30 PB.11,TM3,PWM0_CH4 62 VDD

31 PB.10,TM2 63 PF.8, PWM1_CH4,CLKO

32 PB.9,TM1 64 PB.8,BPWM1_CH2,CLKO,TM0,STADC

Table 2-1 Pin Assignment for M0518SD2AE

Page 8: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 8 of 21 Rev. 1.00

2.3 NuTiny-SDK- M0518SD2AE PCB Placement

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

Figure 2-2 NuTiny-SDK- M0518SD2AE PCB Placement

Page 9: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 9 of 21 Rev. 1.00

3 Starting to Use NuTiny-SDK- M0518SD2AE 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- M0518SD2AE Hardware Setup

Page 10: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 10 of 21 Rev. 1.00

3.4 Example Program

This example demonstrates how to download and debug an application on a NuTiny-SDK- M0518SD2AE board. The example file can be found in the directory list shown in the following figure.

Directory

Figure 3-2 Example Directory

To use this example: The I/O LED on the NuTiny-EVB- M0518SD2AE board will turn on.

Start μVision®

Project – Open Open the SYS.uvproj project file

Project – Build Compile and link the SYS 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 11: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 11 of 21 Rev. 1.00

4 Starting to Use NuTiny-SDK- M0518SD2AE 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- M0518SD2AE Hardware Setup

Page 12: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 12 of 21 Rev. 1.00

4.4 Example Program

This example demonstrates how to download and debug an application on a NuTiny-SDK- M0518SD2AE board. The example file can be found in the directory list shown in the following figure.

Directory

Figure 4-2 Example Directory

To use this example: The I/O LED on the NuTiny-EVB- M0518SD2AE board will turn on.

Start IAR Embedded Workbench

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

Project - Make Compile and link the SYS 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 13: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 13 of 21 Rev. 1.00

5 NuTiny-SDK- M0518SD2AE Schematics

5.1 NuTiny-EVB- M0518SD2AE Schematic

P52 P29P28P27

P22P21

P26P25P24P23

P19P18P17

P20

P56P57P58D12MOP59D12MIP60RESET

P53P54

P49P50

P61P62P63P64

P55

DVCC5

P51

Off-page Connector

P[1:64]P[1:64]

D12MI

D12MO

D12MI

D12MO

CB3

0.1u

C0603

DAVDD

ADAVSS

Title

Size Document Number Rev

Date: Sheet of

<Doc> <Rev Code>

NUTINY-SDK-M0518

Custom

3 3Thursday , December 25, 2014

U2

M0518SD2AE_LQFP64

SPI0_SS0/BPWM0_CH0/PC.028TM1_EXT/TM1/PWM0_CH5/PE.529TM3/PWM0_CH4/PB.1130TM2/PB.1031TM1/PB.932

PA.5/UART3_RXD/ADC549

PA.6/UART3_TXD/ADC650

PA.7/Vref /ADC751

PB

.14

/IN

T0

1

PB

.13

2

PB

.12

/CL

KO

/BP

WM

1_

CH

33

PF

.5/I

2C

0_

SC

L/P

WM

1_

CH

54

PF

.4/I

2C

0_

SD

A/P

WM

1_

CH

45

PA

.11

/I2

C1

_S

CL

/PW

M1

_C

H3

6

PA

.10

/I2

C1

_S

DA

/PW

M1

_C

H2

7

PA

.9/I

2C

0_

SC

L/U

AR

T1

_n

CT

S8

PB

.4/U

AR

T1

_R

XD

10

LD

O_

CA

P14

VD

D15

VS

S16

UART0_RXD/PB.017UART0_TXD/PB.118UART0_nRTS/TM2_EXT/TM2/PWM1_BRAKE1/PB.219UART0_nCTS/TM3_EXT/TM3/PWM1_BRAKE0/PB.320BPWM1_CH1/PD.621BPWM1_CH0/PD.722UART2_RXD/BPWM0_CH5/PD.1423

AVDD52

PC.7/PWM0_BRAKE1/I2C0_SCL/UART4_RXD53

PC.6/PWM0_BRAKE0/I2C0_SDA/UART4_TXD54

PB.15/BPWM1_CH5/TM0/TM0_EXT/INT157

PC.1555

PC.1456

PF.0/XT1_OUT58

PF.1/XT1_IN59

nRESET60

VSS61

PB

.7/U

AR

T1

_n

CT

S13

PB

.6/U

AR

T1

_n

RT

S12

SPI0_CLK/BPWM0_CH1/PC.127

SPI0_MISO0/BPWM0_CH2/PC.226

SPI0_MOSI0/BPWM0_CH3/PC.325

UART2_TXD/BPWM0_CH4/PD.1524

VDD62

PB.8/BPWM1_CH2/CLKO/TM0/STADC64 PF.8/PWM1_CH4/CLKO63

PA

.8/I

2C

0_

SD

A/U

AR

T1

_n

RT

S9

PB

.5/U

AR

T1

_T

XD

11

PW

M1

_B

RA

KE

1/P

C.1

133

PW

M1

_B

RA

KE

0/P

C.1

034

PW

M0

_B

RA

KE

1/P

C.9

35

PW

M0

_B

RA

KE

0/P

C.8

36

PW

M0

_C

H3

/PA

.15

37

PW

M0

_C

H2

/PA

.14

38

PW

M0

_C

H1

/UA

RT

5_

TX

D/P

A.1

339

PW

M0

_C

H0

/UA

RT

5_

RX

D/P

A.1

240

ICE

_D

AT

/PF

.741

AV

SS

43

AD

C0

/PW

M0

_C

H4

/I2

C1

_S

CL

/UA

RT

5_

TX

D/P

A.0

44

ICE

_C

LK

/PF

.642

AD

C1

/PW

M0

_C

H5

/I2

C1

_S

DA

/UA

RT

5_

RX

D/P

A.1

45

AD

C2

/PW

M1

_C

H0

/UA

RT

3_

TX

D/P

A.2

46

AD

C3

/PW

M1

_C

H1

/UA

RT

3_

RX

D/P

A.3

47

AD

C4

/PA

.448

P43

CB4

0.1u

C0603

GND

VCC

GND

VCC5P

1

CB5

0.1u

C0603

CT2

1uF/6.3V

TANT-A

P2

P3

P4

P5

P6

P7

P14

P13

P12

P11

P10

P9

P8

JP11

12

P16

P41

ICE

_D

AT

P42

ICE

_C

LK

P44

P45

P46

P47

P48

P33

P34

P35

P36

P37

P38

P39

P40

DVCC5

R80

P15

P30P31P32

Page 14: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 14 of 21 Rev. 1.00

5.2 NuTiny-EVB- M0518SD2AE Schematic

D12MOD12MO

D12MI

TICEDVDD5TICEDVDD5

D12MI

P1

P5P3

JP4

NC

1 23 45 67 89 1011 1213 1415 16

JP5

NC

1 23 45 67 89 1011 1213 1415 16

JP6

NC

1 23 45 67 89 1011 1213 1415 16

JP7

NC

1 23 45 67 89 1011 1213 1415 16

P15P13P11

P7P9

P4

P14P16

P8

P12

P6

P10

P17

P31

P23

P2

P25

P29

P19P21

P27

P18

P32

P24

P30

P20P22

P47

P39

P33

P26P28

P36

P41

P45

P35P37 P38

P44

P48

P40

P34

P46

P51

P63

P55

P49

P42

P62

P53

P59P57

P61

P52P54

P60

P64

P56

P50

P43P58

connect

R2

510R0603

12

IO1

Red0805 N2

DVCC5

P2

TICERSTTICECLKTICEDAT

Title

Size Document Number Rev

Date: Sheet of

1.0

NUTINY-SDK-M0518

Custom

Wednesday , September 17, 2014

IO

12

POWER1

Green0805

PR1

510R0603

DVCC5

N1

VCC5

D12MI

GND

VCC

D12MO

VCC

GND

VCC5

GND

LED

ICEDAT

ICERST

DVCC5JP3

NC

1 23 45 67 89 10

ICECLK

DVCC5

C1

10uF/10V

TANT-A

R1

10K

R0603

RESET

ICERST

SW1

PUSH BOTTOM

SW

C320p

C0603

X112MHz

XTAL3-1

C220p

C0603

TICEDAT ICEDATTICECLK ICECLKTICERST ICERST

DVCC5 JP1

NC

12

JP2

NC

12

Reset

Crystal

ICE INTERFACE

Power

Off-page Connector

P[1:64]P[1:64]

VCC5

ADAVSS

DVCC5

DAVDD L1

L0603

L2

L0603

Page 15: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 15 of 21 Rev. 1.00

5.3 Nu-Link-Me Schematic

ICE_RST

12

IDLE1

Red0805

ISPLED

RED

12

ICP1

Yellow0805

12

ICE1

Red0805ICELED

RP1

8P4R-330

8P4RA

1 23 45 67 8

12

BUSY1

Green0805

VCC5

GREEN

L4L0603

C620p

C0603

L5

L0805

R7100R0603

R6100R0603

R4

33

R0603

X212MHz

XTAL3-1

J1mini USB 5pin

USB_MINI_B

GND5 NC4 DP3 DM2 VCC1

SHIELD6

SHIELD7

SHIELD8

SHIELD9

R5

NC

R0603

L3L0603

C520p

C0603

USBVBUS

AVDD

ADAVSS

NUC_RST#

R3

10K

R0603

CP1

10uF/10V

TANT-A

C4

10uF/10V

TANT-A

P3V

VCC5

VCC5

TICEDATTICECLKTICERST

VCC5

Title

Size Document Number Rev

Date: Sheet of

1.0

NuLink-Me

Custom

Thursday , December 04, 2014

JP8

NC

1 23 45 67 89 10

TICECLKTICEDAT

TICERST

VCC5

JP9

NC

12345

VCC

VCC5

GND

ICE_CLKICE_RST

ICE_DAT

ICE CONNECT IF

DEBUG

12M_I

N3

DMDP

12M_O

U1

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_O

ut

58

XT

1_In

59

/RE

SE

T60

VS

S1

61

VD

D1

62

PV

SS

63

ST

AD

C/T

M0

/PB

864

PE

529

PB

11/T

M3

30

PB

10/S

S0

1/T

M2

31

PB

9/S

S1

1/T

M1

32

VCC5

RTIDA1

100K

R0603

RICK1

100K

R0603

VCC5

JP10

NC

1234

DMDP

USBVBUS

12

D1

SS24ARB060L

12M

_I

PVSS

AVDD

VCC5

NU

C_

RS

T#

12M

_O

ISPLEDREDGREEN

CT1

1uF/6.3V

TANT-R

CB10.1u

C0603

VCC5

ICELED

USBVBUS

VB

US

US

B_

D+

US

B_

D-

CB20.1u

C0603

C7

1u

C0603

RTDA3

0R0603

TICERST

RTDA2

33

R0603

RTCK1

100K

R0603

TICECLKTICEDAT

TICERST

RTDA1

100K

R0603

RRSET1

100K

R0603

ADAVSS

VCC5

ICE_CLKICE_DAT

1 2

PD1SS24A

RB060L

USBVBUS

P5V

TICEVCC

VCC5

JPR1

HEADER 3

123UP1AMS1117_3.3v

IN3

GN

D1

OU

T2

OU

T4

Page 16: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 16 of 21 Rev. 1.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

2-1. Move to “Support”

2-2. Click here to enter Tool & Software

Page 17: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 17 of 21 Rev. 1.00

Step3

Step4

Step5

Download the NuMicro

™ Keil μVision

® IDE driver.

Click here to download the file.

Click here to enter Software

download page

Page 18: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 18 of 21 Rev. 1.00

6.2 Downloading NuMicro™ IAR EWARM Driver

Step1

Visit the Nuvoton NuMicro™

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

Step2

2-1. Move to “Support”

2-2. Click here to enter Tool & Software

Page 19: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 19 of 21 Rev. 1.00

Step3

Step4

Step5

Download the NuMicro™

IAR EWARM driver.

Click here to download the file.

Click here to enter Software

download page

Page 20: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 20 of 21 Rev. 1.00

6.3 Downloading NuMicro™ M0518SD2AE Series BSP Software Library

Step1

Visit the Nuvoton NuMicro™

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

Step2

2-1. Move to “Support”

2-2. Click here to enter Tool & Software

Page 21: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 21 of 21 Rev. 1.00

Step3

Step4

Download the NuMicro™

M0518 Series CMSIS BSP.

Click here to enter Software

download page

Page 22: NuTiny-SDK-M0518SD2AE User Manual...NuTiny-SDK-M0518 Series User Manual Des. 24, 2014 3 of 21 Rev. 1.00 1 Overview The NuTiny-SDK- M0518SD2AE is a specific development tool for NuMicro™

NuTiny-SDK-M0518 Series User Manual

Des. 24, 2014 22 of 21 Rev. 1.00

7 Revision History

Revision Date Description

1.00 Des. 24, 2014 Preliminary version

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.