background image

NuMaker-M030GTD

 

 

Nov. 17, 2022 

Page 

46

 of 46 

Rev 1.00 

N

UMA

K

E

R

-M0
3

0

G

TD
 U

S

E

R MA

NUA

L

 

Ma
k

er Nu

-m

be
d

 NUC

47

Us
er Man

ua

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.

 

 

 

 

Summary of Contents for NuMaker-M030GTD

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: ...wer 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 6 Ammet...

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

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 41 Figure 5 2 M030GTD Target Board Circuit 42 Figure 5 3 Extension C...

Page 6: ...e 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 Table 3 11 Supply Ex...

Page 7: ...et board provides 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...

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

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

Page 10: ...2 Rear View Figure 3 2 shows the main components and connectors from the rear side of NuMaker M030GTD The following lists components and connectors from the rear view Nu Link2 Me MCUVCC Power Switch I...

Page 11: ...on the NuMaker M030GTD NU1 NU2 NU3 and NU4 Arduino UNO compatible pins on the NuMaker M030GTD Table 3 1 Extension Connectors 3 3 1 Pin Assignment for Extension Connectors The NuMaker M030GTD provides...

Page 12: ...TM1_EXT JP5 7 15 PB 11 ADC0_CH11 UART0_nCTS UART0_TXD I2 C1_SCL BPWM1_CH0 JP5 8 16 PF 3 UART0_TXD I2 C0_SCL BPWM1_CH0 JP4 JP4 1 17 PF 2 UART0_RXD I2 C0_SDA BPWM1_CH1 JP4 2 18 PB 10 ADC0_CH10 UART0_nR...

Page 13: ...MISO PA 1 D12 SPI0_CLK PA 2 D13 VSS VSS AVDD VREF I2C0_SDA PB 4 SDA I2C0_SCL PB 5 SCL UART0_RXD PB 12 D0 UART0_TXD PB 13 D1 I2C1_SCL BPWM1_CH0 PB 11 D2 I2C1_SDA BPWM1_CH1 PB 10 D3 BPWM1_CH2 PB 9 D4 BP...

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

Page 15: ...r 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 3...

Page 16: ...N UP1 NU1_5VCC UP1 converts NU1_5VCC to 3 3 V and supplies 3 3 V to M030GTD 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: ...ble 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 M030G operating volta...

Page 18: ...pending on the ICE chip operating voltage Switch the SW2 to OFF Connect the external power supply to ICEJ3 Table 3 11 presents all power models when supplying external power through Nu Link2 Me The Nu...

Page 19: ...g voltage Connect the external power supply to Vin or J2 To use JP1 as external power supply source please follow the steps below Switch the SW2 to OFF Remove the resistor on ICEJPR1 MCUVCC Solder the...

Page 20: ...3 V Connect to PC NU1 3VCC 3 3 V output Remove resistor 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...

Page 21: ...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 easily User n...

Page 22: ...ports 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 M030GTD Nov 17 2022 Page 25 of 46 Rev 1 00 NUMAKER M030GTD 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: ...GTD 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 46 Rev 1 00 NUMAKER M030GTD 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: ...Debug Message on Serial Port Terminal Windows 4 7 Built in I2 C Bootloader The default bootloader is stored in the internal LDROM of M030G series and is programmed by Nuvoton during production Its mai...

Page 40: ...Nu mbed NUC472 User Manual Available Part Number Package I2 C SCL I2 C SDA Mandatory Pin Enable internal pull up resistor M030GTC1AE QFN33 Pin 30 PA 12 Pin 31 PA 13 Pin 5 PF 0 M030GTD1AE M030GGC1AE Q...

Page 41: ...012000DC1H 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 SN74LV2T45DCUR ICEU...

Page 42: ...D0805 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 C...

Page 43: ...NuMaker M030G v1 1 Ext Connector A 3 3 Friday July 10 2020 VREF PF0 ICE_DAT nRESET ICE_CLK AVDD VDD_MCU PA2_NU4_D13 PA3_NU4_D10 PA15_NU4_D9 PB13_NU3_D1 PB15_NU2_A3 PB14_NU2_A2 PA0_NU4_D11 PA1_NU4_D12...

Page 44: ...e 44 of 46 Rev 1 00 NUMAKER M030GTD USER MANUAL Maker Nu mbed NUC472 User Manual 5 4 PCB Placement Figure 5 4 and Figure 5 5 show the front and rear placement of NuMaker M030GTD Figure 5 4 Front Place...

Page 45: ...NuMaker M030GTD Nov 17 2022 Page 45 of 46 Rev 1 00 NUMAKER M030GTD USER MANUAL M m U 6 REVISION HISTORY Date Revision Description 2022 11 17 1 00 Initial version...

Page 46: ...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 syste...

Reviews: