NUC123
ARM® Cortex® -M
32-bit Microcontroller
NuMicro® Family
NuTiny-SDK-NUC123
User Manual
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.
www.nuvoton.com
May 09, 2017
Page 1 of 26
Rev 1.01
NUTINY-SDK-NUC123 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.
NUC123
Table of Contents
1
OVERVIEW ......................................................................................... 4
2
NUTINY-SDK-NUC123 INTRODUCTION...................................................... 5
NuTiny -SDK-NUC123 Jumper Description ....................................................... 6
2.1
2.1.1
Power Setting ................................................................................................... 6
2.1.2
Debug Connector ............................................................................................... 6
2.1.3
USB Connector ................................................................................................. 6
2.1.4
Extended Connector ........................................................................................... 6
2.1.5
Reset Button ..................................................................................................... 6
2.1.6
Power Connector ............................................................................................... 6
2.1.7
Virtual COM Port Function Switch ........................................................................... 7
2.2
Pin Assignment for Extended Connector .......................................................... 8
2.3
NuTiny-SDK-NUC123 PCB Placement ........................................................... 10
How to Start NuTiny-SDK-NUC123 on the Keil μVision® IDE ............................ 11
3
3.1
Keil uVision® IDE Software Download and Install ...............................................11
3.2
Nuvoton Nu-Link Driver Download and Install ................................................... 11
3.3
Hardware Setup ....................................................................................... 11
3.4
Example Program..................................................................................... 12
NUTINY-SDK-NUC123 USER MANUAL
How to Start NuTiny-SDK-NUC123 on the IAR Embedded Workbench ................ 13
4
4.1
IAR Embedded Workbench Software Download and Install ...................................13
4.2
Nuvoton Nu-Link Driver Download and Install ................................................... 13
4.3
Hardware Setup ....................................................................................... 13
4.4
Example Program..................................................................................... 14
Starting to Use Nu-Link-Me 3.0 VCOM Function............................................ 15
5
5.1
Downloading and Installing VCOM Driver ........................................................ 15
5.2
VCOM Mode Setting on NuTiny-SDK-NUC123 .................................................. 16
5.3
Setup on the Development Tool ....................................................................16
5.3.1
Check the Using UART on the Keil μVision IDE........................................................ 16
5.3.2
Check the Target Device and Debug Setting ............................................................ 17
5.3.3
Build and Download Code to NuTiny-SDK-NUC123 .................................................... 19
5.3.4
Open the Serial Port Terminal .............................................................................. 19
5.3.5
Reset Chip ..................................................................................................... 19
®
NuTiny-SDK-NUC123 Schematic ............................................................. 21
6
6.1
NuTiny-EVB-NUC123 Schematic ..................................................................21
May 09, 2017
Page 2 of 26
Rev 1.01
NUC123
7
6.2
GPIO for 100 pin Schematic ........................................................................22
6.3
SDK Circuit Schematic ...............................................................................23
6.4
Nu-Link-Me V3.0 Schematic ........................................................................24
REVISION HISTORY ............................................................................ 25
NUTINY-SDK-NUC123 USER MANUAL
May 09, 2017
Page 3 of 26
Rev 1.01
NUC123
1
OVERVIEW
®
NuTiny-SDK-NUC123 is the specific development tool for NuMicro NUC123 series. Users can
use NuTiny-SDK-NUC123 to develop and verify the application program easily.
NuTiny-SDK-NUC123 includes two portions. One is NuTiny-EVB-NUC123 and the other is NuLink-Me. NuTiny-EVB-NUC123 is the evaluation board and Nu-Link-Me is its Debug Adaptor.
Thus, users do not need other additional ICE or debug equipments.
NUTINY-SDK-NUC123 USER MANUAL
May 09, 2017
Page 4 of 26
Rev 1.01
NUC123
2
NUTINY-SDK-NUC123 INTRODUCTION
NuTiny-SDK-NUC123 uses the NUC123SD4AN0 as the target microcontroller. Figure 2-1
NuTiny-SDK-NUC123 (PCB Board)Figure 2-1 is NuTiny-SDK-NUC123 for NUC123 series, the left
portion is called NuTiny-EVB-NUC123 and the right portion is Debug Adaptor called Nu-Link-Me.
NuTiny-EVB-NUC123 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 NUC123 series
features. The NuTiny-EVB-NUC123 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. The Nu-Link-Me V3.0 also supports VCOM function,
which gives users more flexibility when debug. 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. To use Nu-Link-Me 3.0 VCOM function, please refer to Chapter 5.
VDD (J2)
Extended Connector (JP5, JP8)
ICE Controller
Virtual COM Port
Function Switch
(SW2)
Reset Button
(SW1)
I/O LED
Power LED
ICE Controller
USB Connector
(J5)
USB Connector
(J3)
VCC : 3.3V or 5V
(JPR1)
GND (J4)
Extended Connector (JP6, JP7)
Target Chip
NUTINY-SDK-NUC123 USER MANUAL
Figure 2-1 NuTiny-SDK-NUC123 (PCB Board)
May 09, 2017
Page 5 of 26
Rev 1.01
NUC123
2.1
2.1.1
NuTiny -SDK-NUC123 Jumper Description
Power Setting
J2: VDD Voltage connecter in NuTiny-EVB-NUC123
J3: USB port in NuTiny-EVB-NUC123
J5: USB port in Nu-Link-Me
JPR1: Select 5.0V or 3.3V for system power
Model
JPR1
J2 VDD
J3 USB Port
J5 ICE USB Port
MCU Voltage
Model 1
Select 3.3V
(Default)
DC 3.3V Output
X
Connect to PC
DC 3.3V
Model 2
Select 5.0V
DC 5.0V Output
X
Connect to PC
DC 5.0V
Model 3
Select 3.3V or 5.0V
DC 5.0V Output
Connect to PC
Connect to PC
DC 5.0V
Model 4*
X
DC 5.0V Output
Connect to PC
X
DC 5.0V
Model 5
Select 3.3V or 5.0V
DC 2.5V ~ 5.0V
Input
X
Connect to PC
Voltage by J2 Input
Model 6*
X
DC 2.5V ~ 5.0V
Input
X
X
Voltage by J2 Input
X: Unused.
Note*: Ned to separate NuTiny-EVB-NUC123 and Nu-Link-Me.
NUTINY-SDK-NUC123 USER MANUAL
2.1.2
Debug Connector
JP4: Connector in target board (NuTiny-EVB-NUC123) for connecting with Nuvoton ICE
adaptor (Nu-Link-Me)
JP2: Connector in ICE adaptor (Nu-Link-Me) for connecting with a target board (NuTinyEVB-NUC123)
2.1.3
USB Connector
J5: Micro USB Connector in NuTiny-EVB-NUC123 for application use
J1: Micro USB Connector in Nu-Link-Me connected to a PC USB port
2.1.4
Extended Connector
JP5, JP6, JP7, and JP8: Show all chip pins in NuTiny-EVB-NUC123
2.1.5
Reset Button
SW1: Reset button in NuTiny-EVB-NUC123
2.1.6
Power Connector
J2: VDD connector in NuTiny-EVB-NUC123
J4: GND connector in NuTiny-EVB-NUC123
May 09, 2017
Page 6 of 26
Rev 1.01
NUC123
2.1.7
Virtual COM Port Function Switch
SW2: Switch SW2 on/off before power on to enable/disable VCOM function.
SW2 connects pin 21(PB.0/RXD) and pin 22(PB.1/TXD) in NuTiny-EVB-NUC123 with pin
22(PB.1/TXD) and pin 21(PB.0/RXD) in Nuvoton ICE adaptor (Nu-Link-Me V3.0). SW2
connects pin 30(VCOM) in Nuvoton ICE adaptor (Nu-Link-Me V3.0) to GND to enable VCOM
function.
Switch Pin
Number
Disable VCOM Mode Enable VCOM Mode
1
Off
On
2
Off
On
3
Off
On
4
Off
On
X: Unused.
NUTINY-SDK-NUC123 USER MANUAL
May 09, 2017
Page 7 of 26
Rev 1.01
NUC123
2.2
Pin Assignment for Extended Connector
NuTiny-EVB-NUC123 provides NUC123SD4AN0 on board and the extended connector for
LQFP100-pin. Table 2-1 is the pin assignment for NUC123SD4AN0.
Pin No
Pin Name
Pin No
Pin Name
NUTINY-SDK-NUC123 USER MANUAL
01
PB.14/INT0
51
VSS
02
PB.13
52
PC.13/MOSI11/CLKO/PWM3
03
PB.12/SPISS10/CLKO
53
PC.12/MISO11/I2SMCLK/PWM2
04
PA.11/I2C1SCL/SPICLK1/MOSI20
54
PC.11/MOSI10
05
PA.10/I2C1SDA/MISO10/MISO20
55
PC.10/MISO10
06
PD.8/MOSI10
56
VDD
07
PD.9
57
PC.9/SPICLK1
08
PD.10/CLKO
58
PC.8/SPISS10
09
PD.11/INT1
59
PA.15/PWM3/CLKO/I2SMCLK
10
PB.4/RXD1/SPISS20/SPISS11
60
VSS
11
PB.5/TXD1/SPICLK2
61
PA.14/PWM2
12
PB.6/RTS1/MOSI20
62
PA.13/PWM1
13
PB.7/CTS1/MISO20
63
PA.12/PWM0
14
LDO
64
ICE_DAT
15
VDD
65
ICE_CLK
16
VSS
66
AVDD
17
VBUS
67
PD.0/SPISS20/ADC0
18
VDD33
68
PD.1/SPISS01/SPICLK2/ADC1
19
D-
69
PD.2/MISO01/MISO20/ADC2
20
D+
70
PD.3/MOSI01/MOSI20/ADC3
21
PB.0/RXD0
71
PD.4/MISO21/ADC4
22
PB.1/TXD0
72
PD.5/MOSI21/ADC5
23
PB.2/RTS0/T2EX
73
PB.15/INT1/T0EX
24
PB.3/CTS0/T3EX
74
PF.0/XT1_OUT
25
PC.5/MOSI01/TXD0
75
PF.1/XT1_IN
26
PC.4/MISO01/RXD0
76
/RESET
27
PC.3/MOSI00/I2SDO
77
VSS
28
PC.2/MISO00/I2SDI
78
VDD
29
PC.1/SPICLK0/I2SBCLK
79
PF.2/PS2DAT/I2C0SDA/ADC6
May 09, 2017
Page 8 of 26
Rev 1.01
NUC123
30
PC.0/SPISS00/I2SLRCLK
80
PF.3/PS2CLK/I2C0SCL/ADC7
31
PB.10/TM2/SPISS01
81
PVSS
32
PB.9/TM1/SPISS11
82
PB.8/TM0
Table 2-1 Pin Assignment for NUC123
NUTINY-SDK-NUC123 USER MANUAL
May 09, 2017
Page 9 of 26
Rev 1.01
NUC123
2.3
NuTiny-SDK-NUC123 PCB Placement
Users can refer to Figure 2-2 for the NuTiny-SDK-NUC123 PCB placement.
Figure 2-2 NuTiny-SDK-NUC123 PCB Placement
NUTINY-SDK-NUC123 USER MANUAL
May 09, 2017
Page 10 of 26
Rev 1.01
NUC123
3
3.1
HOW TO START NUTINY-SDK-NUC123 ON THE KEIL ΜVISION® IDE
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. 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.
NUTINY-SDK-NUC123 USER MANUAL
Figure 3-1 NuTiny-SDK-NUC123 Hardware Setup
May 09, 2017
Page 11 of 26
Rev 1.01
NUC123
3.4
Example Program
This example demonstrates the ease of downloading and debugging an application on a NuTinySDK-NUC123 board. It can be found on Figure 3-2 list directory and downloaded from Nuvoton
®
NuMicro website.
Directory
C:\Nuvoton\BSP Library\NUC123BSP_CMSIS_V3.00.003\SampleCode\StdDriver\SYS\KEIL
Project
File
NUTINY-SDK-NUC123 USER MANUAL
Figure 3-2 Example Directory
To use this example:
This sample code runs some functions about system manager controller and clock controller, and
will show messages by Uart. Users can see the messages by following the steps of Chapter 5.
Start μVision®
may:
Project-Open
Open the SYS.uvproj project file
Project - Build
Compile and link the SYS application
Flash – Download
Program the application code into onchip Flash ROM
May 09, 2017
Start debug mode
Using the debugger commands, you
Review variables in the watch
window
Single step through code
Reset the device
Run the application
Page 12 of 26
Rev 1.01
NUC123
4
4.1
HOW TO START NUTINY-SDK-NUC123 ON THE IAR EMBEDDED
WORKBENCH
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 visit the Nuvoton company NuMicro website (http://www.nuvoton.com/NuMicro ) to
®
download the “NuMicro IAR EWARM Driver” file. 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.
4.3
Hardware Setup
The hardware setup is shown as Figure 4-1.
NUTINY-SDK-NUC123 USER MANUAL
Figure 4-1 NuTiny-SDK-NUC123 Hardware Setup
May 09, 2017
Page 13 of 26
Rev 1.01
NUC123
4.4
Example Program
This example demonstrates the ease of downloading and debugging an application on a
NuTiny-SDK-NUC123 board. It can be found on Figure 4-2 list directory and downloaded from
®
Nuvoton NuMicro website.
Directory
C:\Nuvoton\BSP Library\NUC123BSP_CMSIS_V3.00.003\SampleCode\StdDriver\SYS\IAR
Project
File
NUTINY-SDK-NUC123 USER MANUAL
Figure 4-2 Example Directory
To use this example:
This sample code runs some functions about system manager controller and clock controller, and
will show messages by Uart. Users can see the messages by following the steps of Chapter 5.
Start IAR Embedded Workbench
Project – Download and Debug
Program the application code into on-chip
Flash ROM
File-Open-Workspace
Open the SYS.eww workspace file
Project - Make
Compile and link the SYS application
May 09, 2017
Page 14 of 26
Single step through code
Reset the device
Run the application
Rev 1.01
NUC123
5
5.1
STARTING TO USE NU-LINK-ME 3.0 VCOM FUNCTION
Downloading and Installing VCOM Driver
®
Please connect to Nuvoton NuMicro website (http://www.nuvoton.com/NuMicro) to download
®
the “NuMicro ICP Programming Tool” file. After the ICP Programming Tool driver is
downloaded, please unzip the file and execute the “ICP Programming Tool.exe”. Simply follow
the installation and optional steps to install ICP Programming Tool and Nu-Link USB Driver,
which included VCOM driver.
NUTINY-SDK-NUC123 USER MANUAL
Figure 5-1 Optional Step after ICP Programming Tool Installation
Figure 5-2 Install Nuvoton COM&LPT Driver
May 09, 2017
Page 15 of 26
Rev 1.01
NUC123
Figure 5-3 Install Nuvoton Universal Serial Bus Controllers
5.2
VCOM Mode Setting on NuTiny-SDK-NUC123
Before the NuTiny-SDK-NUC123 is connected to the PC, please enable SW2 VCOM function
by switching on SW2. The NuTiny-EVB-NUC123 transmits through UART0 to VCOM to send
out data. Switch SW2 off when using UART0 function without VCOM function.
After connected USB port in Nu-Link-Me to the PC, user can find a “Nuvoton Virtual Com Port”
from Device Manager as Figure 5-4.
NUTINY-SDK-NUC123 USER MANUAL
Figure 5-4 Nuvoton Virtual Com Port
5.3
Setup on the Development Tool
®
The example is demonstrated on the Keil μVision IDE.
5.3.1
Check the Using UART on the Keil μVision® IDE
Please open the project and find system_NUC123.h (which can be found in
\\NUC123BSP_CMSIS_V3.00.003\Library\Device\Nuvoton\NUC123\Include) to check the using
UART in DEBUG_PORT. The setting has to be the same as the using UART in the NuTinyEVB-NUC123.
May 09, 2017
Page 16 of 26
Rev 1.01
NUC123
®
Figure 5-5 The Using UART on Keil μVision IDE
5.3.2
Check the Target Device and Debug Setting
The target device has to be the same as the setting in Debug. Please click “Target Option” to
open the Option windows, and find the setting in “Device”, “Debug”, and “Utilities” page. Please
follow the steps below to check the setting.
NUTINY-SDK-NUC123 USER MANUAL
Step 1
May 09, 2017
Page 17 of 26
Rev 1.01
NUC123
Step 2
NUTINY-SDK-NUC123 USER MANUAL
Step 3
May 09, 2017
Page 18 of 26
Rev 1.01
NUC123
5.3.3
Build and Download Code to NuTiny-SDK-NUC123
Please build the project and download code to NuTiny-SDK-NUC123.
5.3.4
Open the Serial Port Terminal
User can use serial port terminal, PuTTY for example, to print out debug message.
5.3.5
Reset Chip
After pushing the reset button, the chip will reprogram application and print out debug message.
May 09, 2017
Page 19 of 26
Rev 1.01
NUTINY-SDK-NUC123 USER MANUAL
Figure 5-6 Set Baud Rate
NUC123
Figure 5-7 Serial Port Terminal Windows
NUTINY-SDK-NUC123 USER MANUAL
Notice: Please switch SW2 on before the NuTiny-SDK-NUC123 connects to the PC. When the
NuTiny-SDK-NUC123 connects to the PC with SW2 switch on, PC will detect VCOM as a USB device
and the detection will only be processed once. VCOM will not function if switch on SW2 after the
connection.
May 09, 2017
Page 20 of 26
Rev 1.01
NUC123
6
NUTINY-SDK-NUC123 SCHEMATIC
6.1
NuTiny-EVB-NUC123 Schematic
O f f - page Connect or
P[1:64]
TICERST
P[1:64]
RESET
D12MO
D12MI
RESET
D12MO
D12MI
AVDD
AVDD
TICECLK
TICEDAT
AVDD
ADAVSS
ADAVSS
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
P48
P47
P46
P45
P44
P43
P42
P41
P40
P39
P38
P37
P36
P35
P34
P33
LED
Tiny _TX
Tiny _RX
TICERST
TICECLK
TICEDAT
USBDUSBD+
DVBUS
AVDD
ICE_CLK
ICE_DAT
PA.12/PWM0
PA.13/PWM1
PA.14/PWM2
VSS
PA.15/PWM3/CLKO/I2SMCLK
PC.8/SPISS10
PC.9/SPICLK1
VDD
PC.10/MISO10
PC.11/MOSI10
PC.12/MISO11/I2SMCLK/PWM2
PC.13/MOSI11/CLKO/PWM3
VSS
VDD
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
PD.0/SPISS20/ADC0
PD.1/SPISS01/SPICLK2/ADC1
PD.2/MISO01/MISO20/ADC2
PD.3/MOSI01/MOSI20/ADC3
PD.4/MISO21/ADC4
PD.5/MOSI21/ADC5
PB.15/INT1/T0EX
PF.0/XT1_OUT
PF.1/XT1_IN
/RESET
VSS
VDD
PF.2/PS2DAT/I2C0SDA/ADC6
PF.3/PS2CLK/I2C0SCL/ADC7
PVSS
PB.8/TM0
VDD
GND
PB.9/TM1/SPISS11
PB.10/TM2/SPISS01
PC.0/SPISS00/I2SLRCLK
PC.1/SPICLK0/I2SBCLK
PC.2/MISO00/I2SDI
PC.3/MOSI00/I2SDO
PC.4/MISO01/RXD0
PC.5/MOSI01/TXD0
PB.3/CTS0/T3EX
PB.2/RTS0/T2EX
PB.1/TXD0
PB.0/RXD0
D+
DVDD33
VBUS
32
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
P32
P31
P30
P29
P28
P27
P26
P25
P24
P23
P22
P21
P20
P19
P18
P17
Tiny _TX
Tiny _RX
USBD+
USBDDVBUS
C17
1u
P16
LDO
VDD
LED
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
P13
P14
P15
U7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PB.14/INT0
PB.13
PB.12/SPISS10/CLKO
PA.11/I2C1SCL/SPICLK1/MOSI20
PA.10/I2C1SDA/MISO10/MISO20
PD.8/MOSI10
PD.9
PD.10/CLKO
PD.11/INT1
PB.4/RXD1/SPISS20/SPISS11
PB.5/TXD1/SPICLK2
PB.6/RTS1/MOSI20
PB.7/CTS1/MISO20
LDO
VDD
VSS
P49
P50
P51
P52
P53
P54
P55
D12MOP56
D12MI P57
RESETP58
P59
VDD P60
P61
P62
P63
P64
LED
Tiny _TX
Tiny _RX
TICERST
TICECLK
TICEDAT
USBDUSBD+
DVBUS
LDO
C16
1u
Power Capacitance
VDD
JP10
Tiny _TX
Tiny _RX
1
3
5
7
9
2
4
6
8
10
TICEDAT
TICECLK
TICERST
VCC_connect
Tit le
Nuvoton NU_TINY_123
Debug Interface & Off Page
Size
Docum ent Num ber
Rev
2.0
A3
Dat e:
Sheet
of
May 09, 2017
Page 21 of 26
NUTINY-SDK-NUC123 USER MANUAL
Monday , March 06, 2017
Rev 1.01
NUC123
6.2
GPIO for 100 pin Schematic
O f f - page Connect or
P[1:64]
P1
P3
P5
P7
P9
P11
P13
P15
JP5
1
3
5
7
9
11
13
15
2
4
6
8
10
12
14
16
P2
P4
P6
P8
P10
P12
P14
P16
P17
P19
P21
P23
P25
P27
P29
P31
NC
P33
P35
P37
P39
P41
P43
P45
P47
NC
1
3
5
7
9
11
13
15
2
4
6
8
10
12
14
16
P18
P20
P22
P24
P26
P28
P30
P32
NC
JP7
1
3
5
7
9
11
13
15
JP6
P[1:64]
2
4
6
8
10
12
14
16
P34
P36
P38
P40
P42
P44
P46
P48
P49
P51
P53
P55
P57
P59
P61
P63
JP8
1
3
5
7
9
11
13
15
2
4
6
8
10
12
14
16
P50
P52
P54
P56
P58
P60
P62
P64
NC
NUTINY-SDK-NUC123 USER MANUAL
Tit le
GPIO for 64 pin
Size
Docum ent Num ber
A4
Dat e:
Sheet
Thursday , March 02, 2017
May 09, 2017
Page 22 of 26
Rev
1.0
of
5
10
Rev 1.01
NUC123
6.3
SDK Circuit Schematic
O f f - page Connect or
NC
1
2
TICERST
C8
10uF/10V
XIN
1
GND
2
1
2
X2
12MHz (NC)
L4
FERRITE BEAD
C9
0.1u
C10
10uF/10V
2
RESET
4
3
GND XOUT
VDD
3
4
C14
10uF/10V
J4
AVDD
P[1:64]
NC
1
2
AVDD
ADAVSS
Power
ADAVSS
ADAVSS
LED
TICERST
VDD
GPIO1
LED
2
RED
1
DVBUS
N2
D12MI
C13
20p
R9
1K
2
1
N1
1
PD2
USBDUSBD+
DVBUS
2
VDD
R10
1K
VDD
SS24A
LED
1
USBD-
R11 DM1
2
R12 DP1
3
33
USBD+
33
4
5
DVBUS
DM1
DP1
JP9
1
2
3
4
RESET
VDD
POWER1GREEN
Crystal
D12MO
D12MI
AVDD
L5
FERRITE BEAD
Reset
P[1:64]
D12MO
D12MI
C11
0.1u
2
R8
10K
SW1
J2
1
SW PUSHBUTTON
3
4
1
VDD
D12MO
C7
20p
J3
D-
ID
GND
RESET
USBDUSBD+
DVBUS
VDD
GND
VBUS
D+
LED
Shield
Shield
Shield
Shield
Shield
Shield
6
7
8
9
10
11
micro USB 5pin
L6
FERRITE BEAD
USB
NC
Tit le
SDK Circuit
Size
Docum ent Num ber
A4
Rev
2
2.0
Dat e:
Sheet
Tuesday , May 09, 2017
of
2
10
NUTINY-SDK-NUC123 USER MANUAL
May 09, 2017
Page 23 of 26
Rev 1.01
NUC123
6.4
Nu-Link-Me V3.0 Schematic
VCC
USBVBUS
O f f - page Connect or
1
ICPLED
2
2
2
IDLE1
BUSY 1
2
ICE1
ICP1
1
1
3
5
7
RED
1
IDLE1 Y ELLOW
RP1
2
4
6
8
USB_D-
RED
BUSY 1
R2
DP
3
33
J5
VBUS
ICE_Status
ID
GND
R4
10K
1
ICE_RST
C2
10uF/10V
RESET
ICELED
ICPLED
IDLE1
BUSY 1
ICE_USB
FERRITE BEAD
20p
12M_I
PA4/ADC4
PA3/ADC3
PA2/ADC2
PA1/ADC1
PA0/ADC0
AVSS
ICE_CLK
ICE_DAT
PA12/PWM0
PA13/PWM1
PA14/PWM2
PA15/PWM3
PC8/SS10
PC9/SPCLK1
PC10/SDI10
PC11/SDO10
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
N15
C3
20p
12M Oscillators
VCC
VCOM SW
ICE_CLK
ICE_DAT
RRSET1
100K
RTCK1
100K
RTDA1
100K
ADAVSS
ICERST
ICECLK
RTDA20
RTDA333
SW2
ICEDAT
ICE_TX
ICE_RX
GND
RXD
TXD
VCOM_pin
4
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
HPS604-E
VCC
USBVBUS
5V
1
PD1
IN
GND
OUT
USBVBUS
2
N13
2
OUT
0.1u
CP1
10uF/10V
JPR1
1&2 (0 ohm)
4
0.1u
DEBUG
3
1
2
CB1
NC
3
2
1
UP1
AMS1117_3.3v
C6
3.3V
3.3V
N12
VCOM_pin
1
VBUS
ICE_DAT
ICE_CLK
ICE_RST
USB_DUSB_D+
RXD
TXD
5V
JP1
1
2
3
4
5
C1
X1
12MHz
3
VCC
N14
ON
VBUS
VDD33
DD+
PB0/RX0
PB1/TX0
PB2/RTS0
PB3/CTS0
PC3/SDO00
PC2/SDI00
PC1/SPCLK0
PC0/SS00
PE5
PB11/TM3
PB10/SS01/TM2
PB9/SS11/TM1
NUC12SRE3DE
12M_O R3 33
2
C5
0.1u
INT0/PB14
CPO1/PB13
CPO0/PB12
X32I
X32O
I2C1SCL/PA11
I2C1SDA/PA10
I2C0SCL/PA9
I2C0SDA/PA8
RX1/PB4
TX1/PB5
RTS1/PB6
CTS1/PB7
LDO
VDD
VSS
VCC_connect
Tiny _TX
Tiny _RX
TICERST
TICECLK
TICEDAT
1
2
1
VCC
C4
10uF/10V
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
VCC_connect
ICE_TX
ICE_RX
ICERST
ICECLK
ICEDAT
L1
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
U1
ICE_AVDD
VCC
GND
6
7
8
9
10
11
micro USB 5pin
STADC/TM0/PB8
PVSS
VDD1
VSS1
/RESET
XT1_In
XT1_Out
INT1/PB15
CPP1/PC14
CPN1/PC15
CPP0/PC6
CPN0/PC7
AVDD
ADC7/PA7
ADC6/PA6
ADC/PA5
VCC
Shield
Shield
Shield
Shield
Shield
Shield
D+
5
VCC
VCC
D-
4
8P4R-330
PVSS
2
2
1
GREEN
NUC_RST#
R1
DM
33
USB_D+
1
NUC_RST#
12M_I
12M_O
ICELED
power switch
VCC
SS24A
D1 SS24A
1
ICE_AVDD
VCC
L2FERRITE BEAD
L3FERRITE BEAD
ADAVSS
USBVBUS
DM
DP
JP3
1
2
3
4
2
VCC_connect
ICEDAT
ICECLK
ICERST
SWD connect
JP2
1
3
5
7
9
2
4
6
8
10
ICE_TX
ICE_RX
NC
Tit le
NuLink-Me
Size
Docum ent Num ber
A4
NC
Rev
1
3.0
Dat e:
Sheet
Thursday , March 02, 2017
of
1
10
NUTINY-SDK-NUC123 USER MANUAL
May 09, 2017
Page 24 of 26
Rev 1.01
NUC123
7
REVISION HISTORY
Date
Revision
Description
2012.08.16
1.00
1.
Initially issued.
1.
Updated the figure of NuTiny-SDK-NUC123 PCB
Board in section 2.
2.
Updated the Jumper descriptions of NuTiny-SDKNUC123 in section 2.1.
3.
Updated the figure of NuTiny-SDK-NUC123 PCB
Placement in section 2.3.
4.
Updated the descriptions of example program in
section 3.4 and section 4.4.
5.
Added the descriptions of Nu-Link Me V3.0 in
section 2 and section 5.
6.
Updated the schematics of NuTiny-SDK-NUC123 in
section 6.
2017.05.09
1.01
NUTINY-SDK-NUC123 USER MANUAL
May 09, 2017
Page 25 of 26
Rev 1.01
NUC123
NUTINY-SDK-NUC123 USER MANUAL
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.
May 09, 2017
Page 26 of 26
Rev 1.01