background image

NUC029KGE

 

 

Mar 4, 2019 

Page 

45

 of 47 

Rev 1.00 

NUT

INY

-S

DK
-NU
C02

9K
G

E

 U

S

E


MA

NUA

L

 

  Target Chip and SDK Circuit Schematic 

6.3

 

 

 

R2

0

XT1_OUT

XT1_IN

R5

0

X1
12MHz SMD 49S

XTAL\LP\SMD

C8

20p

C2

20p

PB3
PB4

MCUVCC_DIODE

J1

HEADER 2.54 5X2 (NC)

1

2

3

4

5

6

7

8

9

10

VDD

PA3_RX0

PA2_TX0

ICE_CLK

ICE_DAT

ICE

D-

nRESET

USB_VBUS

D+

J3

NC

1
2
3
4
5

GND

VSS

P42

P37

VDD

P38

P44

P43

VSS

P39
P40

XT1_OUT

P41

XT1_IN

SW1

3x6x5 2PIN SMD

SW-2P-SMD

P45

VDD

R3
10K

R0603

P48

P46
P47

LDO_CAP

RESET

VDD

nRESET

P36

P35

P33
P34

R20

0

C25
0.1u

VBAT
NC

1

2

VDD

VBAT

P50

P49

P54

P53

P58

P57

P52

P51

P56

P55

P59
P60
P61

P63

P62

P64

R13
100k

P72

ICE_DAT

P71

ICE_CLK

P70

P69

P68

P67

P66

LED_R

P65

R14
100k

P80

P79

P78

P77

P76

P75

P74

P73

P88

P87

P86

P85

P84

VDD

P83

P82

VSS

P81

P96

USB_D+

P95

USB_D-

P94

USB_VBUS

P93

P92

VDDIO

P91

P90

P89

P16

P13

P14

P15

P7

P11

P10

P9

P12

P3

P2

P4

P8

P5

P6

P1

P18

P17

1

2

LEDG1
Green LED G (

綠 光

普 亮

LED0805

P20

P19

P22

P21

P24

P23

P30

P29

P28

P27

P25

P26

P32

P31

P98

USB_VDD33_CAP

P97

P106

VDD

P105

P104

P103

PA2_TX0

P102

PA3_RX0

P101

P100

P99

P114

P113

VDD

P112

P111

VSS

P110

P109

P108

P107

P122

P121

P120

P119

P118

P117

VREF

P116

P115

AVDD

P128

P127

P126

P125

P124

P123

C16
0.1u

C0603

C15
1u

C0603

C17
0.1u

C0603

C18
0.1u

C0603

C19
0.1u

C0603

P49

P50

P57

P58

P56
P55
P54
P53
P52
P51

P64
P63
P62
P61
P60
P59

P33

P34

P41

P42

P40
P39
P38
P37
P36
P35

P48
P47
P46
P45
P44
P43

L5

FERRITE BEAD

P112

P111

P104

P103

P105
P106
P107
P108
P109
P110

P97
P98
P99
P100
P101
P102

P128

P127

P120

P119

P121
P122
P123
P124
P125
P126

P113
P114
P115
P116
P117
P118

P81

P82

P89

P90

P88

P87

P86

P85

P84

P83

P96

P95

P94

P93

P92

P91

P65

P66

P73

P74

P72

P71

P70

P69

P68

P67

P80

P79

P78

P77

P76

P75

Title

Size

Document Number

Rev

Date:

Sheet

of

NuTiny-SDK-NUC029KGE

v1.0

NUC029KGE

D

2

3

Thursday , January  03, 2019

Bypass Cap

ADAVSS

P33 - P64

P1 - P32

P65 - P96

R7
330R

R0603

C4
0.1u

C0603

C3
0.1u

C0603

C5
1u

C0603

R6
330R

R0603

1

2

LEDR1
Red LED R (

紅 光

高 亮

LED0805

USB_VBUS

VDD

VDD

1

2

D1

SS24A

HXT & LXT Crystal

X32_OUT

X32_IN

R1

0

X2

SMD 32.768K X3215

9HT9

R4

0

C1

20p

C7

20p

P21
P22

P17
P18

P25

P24

VBAT

P23

P19
P20

P30

P29

P28

P26

X32_OUT

P27

X32_IN

P32

P31

P2

P1

P6

P5

P4

P3

P97 - P128

P7

nRESET

P8

USB_VDD33_CAP

PF7

VDD

PA1

PF6
PC15

P9

AVSS

PA14

PA12
PA13

PA0

P112_NC

PA15
GND

PC7
PE4

PE0

PB12

P11

VDD

P10

PE7
PA8

PC5
PC6

P12

PA7
PA6

PE5
PE6

P13

VSS

PA10
PA11

PA9

PF5

P14

PE9

PE1
PE8

PA5

P15

PE13

PE12

VDDIO

PE10

P16

USB_VBUS

P93_NC

P83_NC

PE11

USB_DP

VDD

PA4
GND

P114_NC

PB11

USB_DM

PB10

PE2
P128_NC

PB8

P116_NC

AVDD

PB9

VREF

PB2

PB1

PB0

USB Device

R12

0

U1

<NUC029KGE>

PB.

13

1

PB.

14

2

PB.

15

3

PB.

5

4

PB.

6

5

PB.

7

6

nR

ESET

7

PD

.0

8

AVSS

9

NC

10

VD

D

11

NC

12

VSS

13

PC

.8

14

PD

.8

15

PD

.9

16

NC

25

X32O

26

X32I

27

NC

28

PF

.2

29

PD

.10

30

PD

.11

31

PD

.12

32

PD.13

33

NC

34

PD.14

35

PD.15

36

VDD

37

PD.7

38

NC

39

XT1OUT

40

PA.

4

81

VSS

82

NC

83

VD

D

84

PE.

1

85

PE.

8

86

PE.

9

87

PE.

10

88

PE.

11

89

PE.

12

90

PE.

13

91

VD

D

IO

92

NC

93

U

SB_VBU

S

94

U

SB_D

M

95

U

SB_D

P

96

PC.10

49

PC.11

50

PC.12

51

PC.13

52

PC.14

53

PC.0

54

PC.1

55

PC.2

56

PC.3

57

PC.4

58

NC

59

NC

60

NC

61

NC

62

NC

63

NC

64

PD

.1

17

PD

.2

18

PD

.3

19

PD

.4

20

PD

.5

21

PE.

3

22

PD

.6

23

VBAT

24

LDO_CAP

47

NC

46

VDD

45

NC

44

VSS

43

NC

42

XT1IN

41

PC.9

48

PA.

5

80

PA.

6

79

PA.

7

78

PF

.5

77

PA.

11

76

PA.

10

75

PA.

9

74

PA.

8

73

PE.

7

72

PE.

6

71

PE.

5

70

PE.

4

69

PC

.7

68

67

PC

.6

PC

.5

66

PE.

0

65

PF.7

97

USB_VDD33_CAP

98

PF.6

99

PC.15

100

PB.12

101

PA.3

102

PA.2

103

PA.1

104

PA.0

105

VDD

106

PA.12

107

PA.13

108

PA.14

109

PA.15

110

VSS

111

NC

112

VDD

113

NC

114

AVDD

115

NC

116

VREF

117

PB.0

118

PB.1

119

PB.2

120

PB.3

121

PB.4

122

PB.8

123

PB.9

124

PB.10

125

PB.11

126
127

PE.2
NC

128

PD1

VBAT

PD3
PD4

PD2

X32I
P28_NC

P25_NC
X32O

PD12

PF10
PD11

PF2

UP1
AMS1117_3.3V

IN

3

GN

D

1

OU

T

2

OU

T

4

PD5

UP1_VCC

CT4
10uF/10V

TANT-A

1

2

PB5
PB6

PB13

PD0
AVSS

PB14
PB15

PC8
PD8

PB7
nRESET

VDD
P12_NC

P10_NC

GND

PD9

PD7

P44_NC

XT1OUT

P39_NC

VDD

TICECLK

PD14

XT1IN

GND

P42_NC

TICERST

PD13
P34_NC

P46_NC

VDD

TICEDAT

LDO_CAP
PC9

PD15

ICE_CLK

ICE_DAT

nRESET

MCU_TX

PA2_TX0

MCU_RX

PA3_RX0

R19

0

C24
0.1u

VDDIO
NC

1

2

JP2

NC

1
2

3

4

JP1

NC

1
2

3

4

C12
0.1u

C14
0.1u

VDD

AVDD

C11
0.1u

VREF

VREF1NC

1

2

CT2

10uF/10V

1

2

CT3

10uF/10V

1

2

L2

FERRITE BEAD

L4

FERRITE BEAD

Power

C13
0.01u

LED

C26
10uF/10V

1

2

VDDIO

VDD

P62_NC
P63_NC
P64_NC

PC11
PC12

P60_NC
P61_NC

PC1

P59_NC

PC13

PC0

PC14

PC2

VDD

PD6

USB_VDD33_CAP

LED_R

D+

D-

C10
0.1u

USB_D-

USB_D+

R9

27

R11

27

CT1

1uF/16V

1

2

PE3

USB_VBUS

L3
FERRITE BEAD

L0603

J2

micro USB 5pin

MICRO_USB_AB

VBUS

1

D-

2

D+

3

GND

5

ID

4

Shield

6

Shield

7

Shield

8

Shield

9

Shield

10

Shield

11

PC3

C6
1u

C0603

PC10

LDO_CAP

PC4

PA3
PA2

VDD

UP1_VCC

Summary of Contents for NuMicro NuTiny-SDK-NUC029KGE

Page 1: ...operty 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 sys...

Page 2: ...31 2 5 3 How to Start NuTiny SDK NUC029KGE on the Keil mdk ENVIRONMENT 32 Downloading and Installing Keil MDK Software 32 3 1 Downloading and Installing Nuvoton Nu Link Driver 32 3 2 Hardware Setup 3...

Page 3: ...3 Build and Download Code to NuTiny SDK NUC029KGE 41 5 3 4 Open the Serial Port Terminal 41 5 3 5 Reset Chip 42 6 NuTiny SDK NUC029KGE Schematics 43 Nu Link2 Me Schematic 43 6 1 GPIO for 128 pin Sche...

Page 4: ...r precision control and an integrated hardware divider to speed up the calculation for the control algorithms Apart from that the NUC029xGE also integrates SPROM Security Protection ROM which provides...

Page 5: ...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 Link2 Me also suppor...

Page 6: ...CEVCC 1 8V or 3 3V ICEJPR2 ICE USB Connector ICEJ3 VCOM Switch ICESW2 ICE Status LED Off line Program Button ICESW1 Nu Link2 Me ICE Chip M48SSIDAE Figure 2 1 NuTiny SDK NUC029KGE PCB Board Target Chip...

Page 7: ...t pin 4 PB 5 I O General purpose digital I O pin ADC0_CH13 A ADC0 channel 13 analog input SPI0_MOSI I O SPI0 MOSI Master Out Slave In pin SPI1_MOSI I O SPI1 MOSI Master Out Slave In pin ACMP0_P2 A Ana...

Page 8: ...pin ACMP1_N A Analog comparator 1 negative input pin SC1_CLK O Smart Card 1 clock pin INT3 I External interrupt 3 input pin 9 AVSS P Ground pin for analog circuit 10 NC No connect pin leave floating 1...

Page 9: ...1 positive input 2 pin TM0 I O Timer0 event counter input toggle output pin EBI_nRD O EBI read enable output pin 18 PD 2 I O General purpose digital I O pin ADC0_ST I ADC0 external trigger input pin...

Page 10: ...Send input pin PWM0_BRAKE1 I PWM0 Brake 1 input pin TM1 I O Timer1 event counter input toggle output pin 22 PE 3 I O General purpose digital I O pin SPI1_MOSI I O SPI1 MOSI Master Out Slave In pin UAR...

Page 11: ...er input toggle output pin USCI2_DAT0 I O USCI2 data 0 pin 31 PD 11 I O General purpose digital I O pin TM3 I O Timer3 event counter input toggle output pin USCI2_DAT1 I O USCI2 data 1 pin 32 PD 12 I...

Page 12: ...O source for internal PLL and digital circuit 38 PD 7 I O General purpose digital I O pin USCI1_CTL1 I O USCI1 control 1 pin SPI0_I2SMCLK I O SPI0 I2S master clock output pin PWM0_SYNC_IN I PWM0 count...

Page 13: ...ter Out Slave In pin I2C1_SDA I O I 2 C1 data input output pin USCI2_DAT1 I O USCI2 data 1 pin PWM1_CH1 I O PWM1 channel 1 output capture input 50 PC 11 I O General purpose digital I O pin SPI0_MISO I...

Page 14: ...d output pin USCI0_DAT1 I O USCI0 data 1 pin ACMP1_WLAT I Analog comparator 1 window latch input pin PWM0_CH1 I O PWM0 channel 1 output capture input EBI_AD9 I O EBI address data bus bit 9 56 PC 2 I O...

Page 15: ...ve floating 63 NC No connect pin leave floating 64 NC No connect pin leave floating 65 PE 0 I O General purpose digital I O pin SPI0_CLK I O SPI0 serial clock pin I2C1_SDA I O I 2 C1 data input output...

Page 16: ...n SC0_PWR O Smart Card 0 power pin PWM1_BRAKE0 I PWM1 Brake 0 input pin EBI_nCS0 O EBI chip select 0 output pin INT0 I External interrupt 0 input pin 70 PE 5 I O General purpose digital I O pin I2C0_S...

Page 17: ...output pin I2C1_SDA I O I 2 C1 data input output pin UART1_RXD I UART1 data receiver input pin SC0_RST O Smart Card 0 reset pin SC1_PWR O Smart Card 1 power pin TM_BRAKE1 I TM_BRAKE1 I Timer Brake in...

Page 18: ...r2 external capture input toggle output pin TM_BRAKE3 I TM_BRAKE3 I Timer Brake input pin EBI_AD5 I O EBI address data bus bit 5 81 PA 4 I O General purpose digital I O pin SPI1_SS I O SPI1 slave sele...

Page 19: ...pin EBI_AD7 I O EBI address data bus bit 7 TM0_EXT I O Timer0 external capture input toggle output pin 89 PE 11 I O General purpose digital I O pin SPI1_MOSI I O SPI1 MOSI Master Out Slave In pin SPI0...

Page 20: ...nal D 97 PF 7 I O General purpose digital I O pin 98 USB_VDD33_CAP A Internal power regulator output 3 3V decoupling pin 99 PF 6 I O General purpose digital I O pin 100 PC 15 I O General purpose digit...

Page 21: ...EBI address data bus bit 1 105 PA 0 I O General purpose digital I O pin UART1_nCTS I UART1 clear to Send input pin UART1_TXD O UART1 data transmitter output pin USCI1_CTL0 I O USCI1 control 0 pin SC0_...

Page 22: ...L1 I O USCI1 control 1 pin TM2 I O Timer2 event counter input toggle output pin 110 PA 15 I O General purpose digital I O pin UART2_nRTS O UART2 request to Send output pin USCI1_CLK I O USCI1 clock pi...

Page 23: ...0 reset pin PWM0_SYNC_OU T O PWM0 counter synchronous trigger output pin EBI_nWRH O EBI high byte write enable output pin USCI1_DAT1 I O USCI1 data 1 pin 120 PB 2 I O General purpose digital I O pin A...

Page 24: ...BI address data bus bit 7 USCI0_CTL1 I O USCI0 control 1 pin UART2_RXD I UART2 data receiver input pin TM1_EXT I O Timer1 external capture input toggle output pin 123 PB 8 I O General purpose digital...

Page 25: ...T1 request to Send output pin TM_BRAKE3 I TM_BRAKE3 I Timer Brake input pin PWM0_CH2 I O PWM0 channel 2 output capture input USCI0_CTL0 I O USCI0 control 0 pin 128 NC No connect pin leave floating Not...

Page 26: ...e Regulator 5V Source Comment ICEUP1 USB_HS_VBUS ICEUP1 converts USB_HS_VBUS to 3 3 V and supplies 3 3V to NUC029KGE platform or ICE chip Table 2 3 3 3 V Power Sources 2 3 3 1 8 V Power Sources Table...

Page 27: ...gures the ICE chip operating voltage at 1 8 V 3 3 V Table 2 7 Power Switches 2 3 7 Power Supply Models External Power Supply through Nu Link2 Me to Target Chip 2 3 7 1 The external power supply source...

Page 28: ...ase do not switch to 1 8V power source Table 2 8 Supply External Power through Nu Link2 Me External Power Supply through NUC029KGE platform to Target Chip 2 3 7 2 The external power supply sources on...

Page 29: ...ctor J2 External VDD Connector JP1 External VSS Connector JP2 Separate Nu Link2 Me Table 2 9 presents all power models when supplies external power through NUC029KGE platform The NUC029KGE platform ex...

Page 30: ...red PC 5 I O LED The LED is connected to the target chip PC 5 ICE ISP RED and GREEN Nu Link2 Me status LED Table 2 12 LEDs Nu Link2 Me 2 4 The Nu Link2 Me is a debugger and programmer that supports on...

Page 31: ...Mar 4 2019 Page 31 of 47 Rev 1 00 NUTINY SDK NUC029KGE USER MANUAL NuTiny SDK NUC029KGE PCB Placement 2 5 Figure 2 4 shows the NuTiny SDK NUC029KGE PCB placement Figure 2 4 NuTiny SDK NUC029KGE PCB P...

Page 32: ...official Nuvoton 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...

Page 33: ...system manager controller and clock controller Start uVision Start debug mode When using the debugger commands you may Project Open Open the SYS uvproj project file Review variables in the watch wind...

Page 34: ...4 2 Please visit the official Nuvoton 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...

Page 35: ...will show some functions about system manager controller and clock controller Start IAR Embedded Workbench Project Download and Debug Program the application code into on chip Flash ROM File Open Wor...

Page 36: ...ton 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 i...

Page 37: ...NUC029KGE Mar 4 2019 Page 37 of 47 Rev 1 00 NUTINY SDK NUC029KGE USER MANUAL Figure 5 3 Install Nuvoton Universal Serial Bus Controllers...

Page 38: ...9KGE transmits through UART0 to VCOM to send out data Switch ICESW2 off when using UART0 function without VCOM function Development Tool Setup 5 3 The example is demonstrated on the Keil Vision IDE 5...

Page 39: ...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...

Page 40: ...NUC029KGE Mar 4 2019 Page 40 of 47 Rev 1 00 NUTINY SDK NUC029KGE USER MANUAL Step 2 Step 3...

Page 41: ...ANUAL 5 3 3 Build and Download Code to NuTiny SDK NUC029KGE Please build the project and download code to the NuTiny SDK NUC029KGE 5 3 4 Open the Serial Port Terminal User can use serial port terminal...

Page 42: ...nt out debug message Figure 5 6 Serial Port Terminal Windows Note Please switch ICESW2 on before the NuTiny SDK NUC029KGE is connected to the PC When the NuTiny SDK NUC029KGE is connected to the PC wi...

Page 43: ...SN74LV2T45DCUR ICEU4 SOP8 3 1 0 5 GND 4 A2 3 VCCA 1 DIR 5 A1 2 B2 6 B1 7 VCCB 8 ICER1 200 1 R0603 HSUSB_VDD33 HXT_O ICEC11 20p C0603 ICEC10 20p C0603 HXT_I 12M Crystal ICEX1 12MHz SMD X3225B 1 XIN 2 G...

Page 44: ...6 P54 P52 P50 P58 P33 P49 P47 P45 P43 P41 P37 P35 P57 P55 P53 P51 P1 P17 P15 P13 P11 P9 P7 P5 P3 P31 P29 P27 P23 P21 P19 P2 P18 P16 P14 P8 P6 P4 P32 P30 P26 P24 P22 P20 P97 P113 P111 P109 P107 P105 P1...

Page 45: ...PA1 PF6 PC15 P9 AVSS PA14 PA12 PA13 PA0 P112_NC PA15 GND PC7 PE4 PE0 PB12 P11 VDD P10 PE7 PA8 PC5 PC6 P12 PA7 PA6 PE5 PE6 P13 VSS PA10 PA11 PA9 PF5 P14 PE9 PE1 PE8 PA5 P15 PE13 PE12 VDDIO PE10 P16 US...

Page 46: ...NUC029KGE Mar 4 2019 Page 46 of 47 Rev 1 00 NUTINY SDK NUC029KGE USER MANUAL 7 REVISION HISTORY Date Revision Description 2019 03 04 1 00 1 Initially issued...

Page 47: ...t 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 v...

Reviews: