background image

NUC029KGE

 

 

Mar 4, 2019 

Page 

36

 of 47 

Rev 1.00 

NUT

INY

-S

DK
-NU
C02

9K
G

E

 U

S

E


MA

NUA

L

 

STARTING TO USE NU-LINK2-ME VCOM FUNCTION 

  Downloading and Installing VCOM Driver 

5.1

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. 

 

Figure 5-1 Optional Step after ICP Programming Tool Installation 

 

 

Figure 5-2 Install Nuvoton COM&LPT Driver 

 

Содержание NuMicro NuTiny-SDK-NUC029KGE

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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_...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 40: ...NUC029KGE Mar 4 2019 Page 40 of 47 Rev 1 00 NUTINY SDK NUC029KGE USER MANUAL Step 2 Step 3...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: