Page 1
NuTiny-SDK-NUC029SDE 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. ® Nuvoton is providing this document only for reference purposes of NuMicro microcontroller based system design.
NuTiny-SDK-NUC029SDE PCB Placement ............11 How to Start NuTiny-SDK-NUC029SDE on the Keil mdk ENVIRONMENT .... 12 Downloading and Installing Keil MDK Software..........12 Downloading and Installing Nuvoton Nu-Link Driver ..........12 Hardware Setup ..................12 Example Program ..................12 How to Start NuTiny-SDK-NUC029SDE on the IAR Embedded Workbench ..14 Downloading and Installing IAR Embedded Workbench Software ......
Page 3
NUC029SDE GPIO for 64 pin Schematic ................24 SDK Circuit Schematic ................25 Target Chip .................... 26 REVISION HISTORY ................27 Jan 21, 2019 Page 3 of 28 Rev 1.00...
NUC029SDE OVERVIEW ® NuTiny-SDK-NUC029SDE is a specific development tool for NuMicro NUC029SDE. With the NuTiny-SDK-NUC029SDE, user can develop and verify the application program easily. The NuTiny-SDK-NUC029SDE includes two portions. One is NuTiny-EVB-NUC029SDE and the other is Nu-Link-Me. NuTiny-EVB-NUC029SDE is the evaluation board and Nu-Link-Me is its Debug Adaptor.
To use the 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.
VCOM function. SW2 connects pin 17(PB.0/RXD) and pin 18(PB.1/TXD) in NuTiny-EVB-NUC029SDE with pin 22(PB.1/TXD) and pin 21(PB.0/RXD) in Nuvoton ICE adaptor (Nu-Link-Me V3.0). SW2 connects pin 29(VCOM) in Nuvoton ICE adaptor (Nu-Link-Me V3.0) to GND to enable VCOM function.
Page 7
NUC029SDE Switch Pin Function UART0 Mode VCOM Mode Number Name ICE_TX ICE_RX VCOM_EN X: Unused. Jan 21, 2019 Page 7 of 28 Rev 1.00...
NUC029SDE Pin Assignment for Extended Connector The NuTiny-EVB-NUC029SDE provides NUC029SDE on board and the extended connector (JP5, JP6, JP7 and JP8) for LQFP-64 pin. Table 2-1 is the pin assignment for NUC029SDE. Pin No Pin Function INT0/PB.14 PB.13 CLKO/PB.12 PWM1_CH5/I2C0_SCL/PF.5 PWM1_CH4/I2C0_SDA/PF.4 PWM1_CH3/I2C1_SCL/PA.11 PWM1_CH2/I2C1_SDA/PA.10...
Figure 3-1 NuTiny-SDK-NUC029SDE Hardware Setup Example Program This example demonstrates downloading and debugging an application on a NuTiny-SDK- ® NUC029SDE board. It can be found on the list directory and downloaded from Nuvoton NuMicro website. Jan 21, 2019 Page 12 of 28...
Page 13
NUC029SDE Directory ..\NUC029xDEBSPv3.00.001\SampleCode\Template\Keil This sample code will show some functions about system manager controller and clock controller. ® Start debug mode Start uVision When using debugger commands, you may: Project – Open Review variables in the watch window Open the SYS.uvproj project file ...
Figure 4-1 NuTiny-SDK-NUC029SDE Hardware Setup Example Program This example demonstrates downloading and debugging an application on a NuTiny-SDK- ® NUC029SDE board. It can be found on the list directory and downloaded from Nuvoton NuMicro website. Jan 21, 2019 Page 14 of 28...
Page 15
NUC029SDE Directory ..\NUC029xDEBSPv3.00.001\SampleCode\Template\IAR This sample code will show some functions about system manager controller and clock controller. Project – Download and Debug Start IAR Embedded Workbench Program the application code into on-chip Flash ROM File-Open-Workspace Open the SYS.eww workspace file Single step through code ...
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 Jan 21, 2019 Page 16 of 28 Rev 1.00...
Page 17
NUC029SDE Figure 5-3 Install Nuvoton Universal Serial Bus Controllers Jan 21, 2019 Page 17 of 28 Rev 1.00...
NUC029SDE VCOM Mode Setting on NuTiny-SDK-NUC029SDE Before the NuTiny-SDK-NUC029SDE is connected to the PC, please enable VCOM function by switching on SW2. The NuTiny-EVB-NUC029SDE transmits through UART0 to VCOM to send out data. Switch SW2 off when using UART0 function without VCOM function. Development Tool Setup ®...
NUC029SDE 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.
Page 20
NUC029SDE Step 2 Step 3 Jan 21, 2019 Page 20 of 28 Rev 1.00...
NUC029SDE 5.3.3 Build and Download Code to NuTiny-SDK-NUC029SDE Please build the project and download code to the NuTiny-SDK-NUC029SDE. 5.3.4 Open the Serial Port Terminal User can use serial port terminal, PuTTY for example, to print out debug message. Figure 5-5 Set Baud Rate Jan 21, 2019 Page 21 of 28 Rev 1.00...
NUC029SDE 5.3.5 Reset Chip After pushing the reset button, the chip will reprogram application and print out debug message. Figure 5-6 Serial Port Terminal Windows Note: Please switch SW2 on before the NuTiny-SDK-NUC029SDE is connected to the PC. When the NuTiny-SDK-NUC029SDE is connected to the PC with SW2 switch on, PC will detect VCOM as a USB device and the detection will only be processed once.
NUC029SDE GPIO for 64 pin Schematic Off-page Connector P[1:64] P[1:64] Title GPIO for 64 pin Size Document Number <Doc> Date: Monday , January 21, 2019 Sheet Jan 21, 2019 Page 24 of 28 Rev 1.00...
NUC029SDE REVISION HISTORY Date Revision Description 2019.01.21 1.00 Initially issued. Jan 21, 2019 Page 27 of 28 Rev 1.00...
Page 28
NUC029SDE 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”.
Need help?
Do you have a question about the NuMicro Series and is the answer not in the manual?
Questions and answers