Nuvoton NuMaker-M029GGC User Manual Download Page 41

NuMaker-M029GGC

 

 

Nov. 17, 2022 

Page 

41

 of 45 

Rev 1.00 

N

UMA

K

E

R

-M0
29
G

G

C

 U

S

E

R M

A

NU

A

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

5.2 

M029GGC Target Board 

Figure 5-2 shows the M029GGC target board circuit. 

 

Figure 5-2 M029GGC Target Board Circuit 

 

 

VDD

J1
HEADER 2.54 5X2 (NC)

HEADER5X2

1

2

3

4

5

6

7

8

9

10

PB12_RXD0

PB11_TXD0

ICE - SWD Connector

SW1
3x6x5 2PIN SMD

SW-2P-SMD

RESET

VDD_MCU

1

2

LEDG1
Green

LED0805

SW2
SMD HPS602-E

SW1X2

P19
P20

P22
P23

PC1_LED_IO

P21

P18

P1 - P12

P13 - P24

P13

P12

PB11_TXD0

P11

PB12_RXD0

P10

P1

P15

P14

P5

nRESET/ICE_CLK

P4

P3

P2

VREF

JP7
NC

header1x4

1
2
3
4

VDD

P9

P8

P7

P6

PF0/ICE_DAT

nRESET/ICE_CLK

R14

100KR

R0603

R13

100KR

R0603

VSS

UP2
AMS1117_5v

SOT-223-1

IN

3

GN

D

1

OU

T

2

OU

T

4

Tit le

Size

Docum ent   Num ber

Rev

Dat e:

Sheet

of

NuMaker-M029GGC

v1.1

M029GGC0AE

B

2

3

Monday , Nov ember 14, 2022

Bypass Cap

NU1_VIN

R7
330R

R0603

1

2

D2

SS24A

RB060L

R17
4.7kR

R0603

C3
0.1u

C0603

R6
330R

R0603

CT5
10uF/10V

TANT-A

1

2

1

2

LEDR1
Red

LED0805

VDD

VDD_MCU

GND

VDD

JP8
NC

header1x4

1
2
3
4

VDD

R18
4.7kR

R0603

VDD

R19
4.7kR

R0603

JP9
NC

header1x4

1
2
3
4

VDD_MCU

VDD

JP10
NC

header1x4

1
2
3
4

R20
4.7kR

R0603

L5
FERRITE BEAD

L0603

C15
1u

C0603

C14
0.1u

C0603

VREF

VREF1
NC

HEADER2X1

1

2

ADAVSS

Pull-Up

I2C

Resistor

PB11_TXD0
PB12_RXD0

MCU_TX
MCU_RX

1

2

D1

SS24A

RB060L

USB Power

UP1
AMS1117_3.3v

SOT-223-1

IN

3

GN

D

1

OU

T

2

OU

T

4

NU1_3VCC

CT4
10uF/10V

TANT-A

1

2

NU1_5VCC

R16
0

R0603

AMMETER
NC

HEADER2X1

1

2

JP2
NC

header1x4

1
2
3
4

JP1
NC

header1x4

1
2
3
4

C12
0.1u

C0603

VDD

AVDD

C11
0.1u

C0603

CT2
10uF/10V

TANT-A

1

2

CT3
10uF/10V

TANT-A

1

2

L2
FERRITE BEAD

L0603

L4
FERRITE BEAD

L0603

Power

C13
0.01u

C0603

LED

U2

M029GGC0AE

QFN-24L-3X3

PB.

0

1

VR

EF

2

VSS

3

VD

D

4

nR

ESET

/I

C

E_C

LK

5

PF

.0

6

PA.

3

7

PA.2

8

PA.1

9

PA.0

10

PB.12

11

PB.11

12

PF

.3

13

PF

.2

14

VSS

15

PB.

8

16

PB.

6

18

PB.

5

19

PB.

7

17

PB.4

20

PB.3

21

PB.2

22

PC.1

23

PB.1

24

P7

P2

P4

P8

P5

P6

P13

P14

P15

P1

P3

P17

P9

P11

P10

P12

P16

P22

P21

P20

P19

P18

P24

P23

P16
P17

L1
FERRITE BEAD

L0603

P24

ICE5V

MCUVCC_DIODE

PC1_LED_IO

C10
0.1u

C0603

CT1
1uF/16V

TANT-A

1

2

USB_VBUS

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

L3
FERRITE BEAD

L0603

PF0/ICE_DAT

USB_VBUS

nRESET/ICE_CLK

VDD_MCU
nRESET/ICE_CLK

PB0_NU2_A5

PA3_NU4_D10
PA2_NU4_D13

VREF
VSS

PA0_NU4_D11

PB11_NU3_D6

PB12_NU3_D7

PF0/ICE_DAT

PA1_NU4_D12

VSS

PF3_NU3_D1

PB4_NU4_SDA0

PB5_NU4_SCL0

PB8_NU3_D5

PF2_NU3_D0

PB7_NU3_D3
PB6_NU3_D2

PB2_NU2_A3

PB3_NU2_A2

PC1_NU3_D4
PB1_NU2_A4

H2
H-3.4X6(NC)

H-3.4X6

1

H1
H-3.4X6(NC)

H-3.4X6

1

H4
H-3.4X6(NC)

H-3.4X6

1

H3
H-3.4X6(NC)

H-3.4X6

1

Mounting Hole

VDD

NU1_3VCC

NU1_5VCC

R12
0(NC)

R0603

Summary of Contents for NuMaker-M029GGC

Page 1: ...tellectual 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 microcontrol...

Page 2: ...3 V Power Sources 16 3 4 4 1 8 V Power Sources 16 3 4 5 Power Connectors 16 3 4 6 USB Connectors 17 3 4 7 Power Switches 17 3 4 8 Power Supply Models 18 3 5 External Reference Voltage Connector 21 3...

Page 3: ...NuMaker M029GGC Nov 17 2022 Page 3 of 45 Rev 1 00 NUMAKER M029GGC USER MANUAL M m U 5 2 M029GGC Target Board 41 5 3 Extension Connectors 42 5 4 PCB Placement 43 6 REVISION HISTORY 44...

Page 4: ...ce Manger 27 Figure 4 6 PuTTY Session Setting 27 Figure 4 7 Template Project Folder Path 28 Figure 4 8 Warning Message of Device not found 28 Figure 4 9 Project File Migrate to Version 5 Format 29 Fig...

Page 5: ...m U Figure 4 28 NuEclipse Debug Mode 39 Figure 4 29 Debug Message on Serial Port Terminal Windows 39 Figure 5 1 Nu Link2 Me Circuit 40 Figure 5 2 M029GGC Target Board Circuit 41 Figure 5 3 Extension C...

Page 6: ...ower Source 15 Table 3 5 5 V Power Sources 15 Table 3 6 3 3 V Power Sources 16 Table 3 7 1 8 V Power Sources 16 Table 3 8 Power Connectors 16 Table 3 9 USB Connectors 17 Table 3 10 Power Switches 17 T...

Page 7: ...des the extension connectors the Arduino UNO compatible headers and the capability of adopting multiple power supplies Furthermore the Nuvoton designed ammeter connector can measure the power consumpt...

Page 8: ...tension connectors Arduino UNO compatible extension connectors Ammeter connector for measuring the microcontroller s power consumption Flexible board power supply External VDD power connector Arduino...

Page 9: ...the front view Target chip M029GGC0AE U1 USB PWR Connector J2 Arduino UNO Compatible Extension Connectors NU1 NU2 NU3 NU4 M029GGC Extension Connectors JP3 JP4 JP5 and JP6 External VDD Power Connector...

Page 10: ...UC472 User Manual 3 2 Rear View Figure 3 2 shows the main components and connectors from the rear side of NuMaker M029GGC The following lists components and connectors from the rear view Nu Link2 Me M...

Page 11: ...Full pins extension connectors on the NuMaker M029GGC NU1 NU2 NU3 and NU4 Arduino UNO compatible pins on the NuMaker M029GGC Table 3 1 Extension Connectors 3 3 1 Pin Assignment for Extension Connecto...

Page 12: ...ADC0_CH11 UART0_nCTS UART0_TXD I2 C1_SCL BPWM1_CH0 MANCH_RXD JP4 JP4 1 13 PF 3 UART0_TXD I2 C0_SCL BPWM1_CH0 JP4 2 14 PF 2 UART0_RXD I2 C0_SDA BPWM1_CH1 JP4 3 15 VSS JP4 4 16 PB 8 ADC0_CH8 UART0_RXD B...

Page 13: ...NuMaker M029GGC Nov 17 2022 Page 13 of 45 Rev 1 00 NUMAKER M029GGC USER MANUAL M m U Figure 3 4 Arduino UNO Compatible Extension Connectors...

Page 14: ...1 PF 3 NU2 5 A4 PB 1 NU3 3 D2 PB 6 NU2 4 A3 PB 2 NU3 4 D3 PB 7 NU2 3 A2 PB 3 NU3 5 D4 PC 1 NU2 2 A1 NU3 6 D5 PB 8 NU2 1 A0 NU3 7 D6 PB 11 NU1 NU1 8 VIN NU3 8 D7 PB 12 NU1 7 VSS NU4 NU4 1 D8 PF 0 NU1 6...

Page 15: ...er source with voltage range from 7 V to 12 V The voltage regulator UP2 converts the NU1 pin8 input voltage to 5 V and supplies it to NU1_5VCC Table 3 4 Vin Power Source 3 4 2 5 V Power Sources Table...

Page 16: ...ON UP1 NU1_5VCC UP1 converts NU1_5VCC to 3 3 V and supplies 3 3 V to M029GGC target board Note SW2 2 NU1 3VCC should be switched to ON Table 3 6 3 3 V Power Sources 3 4 4 1 8 V Power Sources Table 3 7...

Page 17: ...able 3 9 USB Connectors 3 4 7 Power Switches Table 3 10 presents the power switches Switch Description ICEJPR1 Configures the target chip operating voltage at 1 8 V 3 3 V 5 V Note M029 operating volta...

Page 18: ...upply to ICEJ3 Table 3 11 presents all power models when supplying external power through Nu Link2 Me The Nu Link2 Me external power sources are highlighted in yellow Model Target Chip Voltage ICEJ3 I...

Page 19: ...teps below Switch the SW2 to OFF Remove the resistor on ICEJPR1 MCUVCC Solder the resistor on ICEJPR2 ICEVCC depending on the ICE chip operating voltage Connect ICEJ3 to PC Connect the external power...

Page 20: ...r 3 3 V 3 3 V 6 5 V 7 V 12 V Input NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 7 5 V Connect to PC NU1 5VCC 5 V output Remove resistor 3 3 V 3 3 V 8 1 8 V 3 6 V Connect to PC OFF DC Input 1 8 V 3...

Page 21: ...13 External Reference Voltage Connector 3 6 Ammeter Connector Table 3 14 presents the ammeter connector Connector Description AMMETER Connector for user to measure the target chip power consumption e...

Page 22: ...pports virtual COM port VCOM for printing debug messages on PC Besides the programming status could be shown on the built in LEDs Lastly the Nu Link2 Me could be detached from the evaluation board and...

Page 23: ...Me is selected to connect Flash x 3 Flash x 3 Flash x 3 On ICE online Not connected to a target chip On Flash x 3 Flash x 3 ICE online Connected to a target chip On On ICE online Failed to connect to...

Page 24: ...RM NuEclipse GCC for Windows NuEclipse GCC for Linux 4 2 Nuvoton Nu Link Driver Installation Download and install the latest Nuvoton Nu Link Driver Download and install Nu Link_Keil_Driver when using...

Page 25: ...NuMaker M029GGC Nov 17 2022 Page 25 of 45 Rev 1 00 NUMAKER M029GGC USER MANUAL M m U Figure 4 2 Nu Link USB Driver Installation...

Page 26: ...irmware Download Download and unzip the Board Support Package BSP 4 4 Hardware Setup Open the virtual COM VCOM function by changing Nu Link2 Me VCOM Switch No 1 and 2 to ON Figure 4 3 Open VCOM Functi...

Page 27: ...L M m U Find the Nuvoton Virtual COM Port on the Device Manger as Figure 4 5 Figure 4 5 Device Manger Open a serial port terminal PuTTY for example to print out debug message Set the speed to 115200 F...

Page 28: ...4 6 Execute the Project under Toolchains Open and execute the project under the toolchain The section 4 6 1 4 6 2 and 4 6 3 describe the steps of executing project in Keil MDK IAR EWARM and NuEclipse...

Page 29: ...9 Project File Migrate to Version 5 Format Make sure the debugger is Nuvoton Nu Link Debugger as shown in Figure 4 10 and Figure 4 11 2 1 Figure 4 10 Debugger Setting in Options Window Note If the dr...

Page 30: ...ure 4 11 Programming Setting in Options Window Rebuild all target files After successfully compiling the project download code to the Flash memory Click Start Stop Debug Section button to enter debug...

Page 31: ...and the debug message will be printed out as shown in Figure 4 14 User can debug the project under debug mode by checking source code assembly language peripherals registers and setting breakpoint st...

Page 32: ...w to open the project Make sure the toolbar contains Nu Link item as shown in Figure 4 15 Note If the toolbar does not contain Nu Link item please rework section 4 2 Figure 4 15 IAR EWARM Window Make...

Page 33: ...and the debug message will be printed out as shown in Figure 4 18 User can debug the project under debug mode by checking source code assembly language peripherals registers and setting breakpoint st...

Page 34: ...the filenames and project folder path contain neither invalid character nor space Double click NuEclipse exe to open the toolchain Import the Template project by following the steps presented in Figu...

Page 35: ...GGC USER MANUAL M m U Click the Template project and find the project properties as shown in Figure 4 21 Make sure the settings are the same as settings in Figure 4 22 1 2 3 Figure 4 21 Open Project P...

Page 36: ...he Template project and build the project 1 2 3 Figure 4 23 Build Project After the project is built click the Template project and set the Debug Configuration as shown in Figure 4 24 Follow the setti...

Page 37: ...USER MANUAL M m U 4 1 5 2 Note 1 Double click the GDB Nuvoton Nu Link Debugging to create the sub item Note 2 After the project is built the elf file will be shown in C C Application frame Figure 4 25...

Page 38: ...of 45 Rev 1 00 NUMAKER M029GGC USER MANUAL Maker Nu mbed NUC472 User Manual 8 10 11 9 1 Note User must follow those settings highlighted in green and configure other settings depending on the needs Fi...

Page 39: ...9 User can debug the project under debug mode by checking source code assembly language peripherals registers and setting breakpoint step run value monitor etc For more information about how to use Nu...

Page 40: ...MHz X3225B X3S012000DC1H HU CRYSTAL_SMD 1 XIN 2 GND 4 GND 3 XOUT 3 3V ICEU2 W25Q16JVSSIQ SOP8 5 23 1 27MM CS 1 DO 2 WP 3 GND 4 DI 5 CLK 6 HOLD 7 VCC 8 SPIM_MISO0 SPI FLASH 3 3V ICEC12 0 1u C0603 SN74L...

Page 41: ...tor PB11_TXD0 PB12_RXD0 MCU_TX MCU_RX 1 2 D1 SS24A RB060L USB Power UP1 AMS1117_3 3v SOT 223 1 IN 3 GND 1 OUT 2 OUT 4 NU1_3VCC CT4 10uF 10V TANT A 1 2 NU1_5VCC R16 0 R0603 AMMETER NC HEADER2X1 1 2 JP2...

Page 42: ...xt Connector A 3 3 Monday Nov ember 14 2022 PF0 ICE_DAT PB0_NU2_A5 nRESET ICE_CLK VDD_MCU VSS VREF PA2_NU4_D13 PA3_NU4_D10 PF0 ICE_DAT PF3_NU3_D1 PB12_NU3_D7 PB11_NU3_D6 PA0_NU4_D11 PA1_NU4_D12 PB8_NU...

Page 43: ...ov 17 2022 Page 43 of 45 Rev 1 00 NUMAKER M029GGC USER MANUAL M m U 5 4 PCB Placement Figure 5 4 and Figure 5 5 show the front and rear placement of NuMaker M029GGC Figure 5 4 Front Placement Figure 5...

Page 44: ...NuMaker M029GGC Nov 17 2022 Page 44 of 45 Rev 1 00 NUMAKER M029GGC USER MANUAL Maker Nu mbed NUC472 User Manual 6 REVISION HISTORY Date Revision Description 2022 11 17 1 00 Initial version...

Page 45: ...s 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 f...

Reviews: