Page 1
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. Nuvoton assumes no responsibility for errors or omissions.
3.3.8 Pin Assignment for Extended Connector ................8 QUICK START ....................10 Toolchains Supporting ................... 10 Nuvoton Nu-Link Driver Installation ................ 10 BSP Firmware Download ..................12 Hardware Setup ..................... 12 Find the Example Project ..................13 Execute the Project under Toolchains ..............14 4.6.1...
Page 3
N76S003 List of Figure Figure 3.1-1 NuTiny-N76S003AT (PCB Board) ....................7 Figure 4.2-1 Nu-Link USB Driver Installation Setup ................... 10 Figure 4.2-2 Nu-Link USB Driver Installation ..................... 11 Figure 4.4-1 Open VCOM Function ........................12 Figure 4.4-2 ICE USB Connector ........................12 Figure 4.4-3 Device Manger ..........................
Page 4
N76S003 List of Table Table 3.3-1 Voltage connector ..........................8 Table 3.3-2 Nu-Link-Me virtual COM port ......................8 Table 3.3-3 Pin Assignment for N76S003AT20 ....................9 Nov. 15, 2023 Page 4 of 24 Rev 1.00...
N76S003 OVERVIEW The NuTiny-N76S003AT is an evaluation board for Nuvoton NuMicro N76S003AT20 microcontrollers. The NuTiny-N76S003AT consists of two parts: an N76S003 target board and an on-board Nu-Link2- Me debugger and programmer. The NuTiny-N76S003AT is designed for project evaluation, prototype development and validation with power consumption monitoring function. The NuTiny-N76S003AT board is suitable for a wide range of applications such as home appliances, LED lighting controls, motor controls or Industrial automation.
N76S003 FEATURES ⚫ NuMicro N76S003AT20 used as main microcontroller ⚫ N76S003AT20 full pins extension connectors ⚫ Flexible board power supply: External V power connector – ICE USB connector on Nu-Link2-Me – ⚫ On-board Nu-Link2-Me debugger and programmer: Debug through OCD interface –...
To use Nu-Link-Me Debug adaptor with Keil, please refer to “Nuvoton Nu-Link debug adapter user manual” in detail. This document will be stored in the local hard disk when user installs each driver. Nu-Link-Me also supports virtual COM port function. User can use Nu-Link-Me as a USB to UART virtual COM port, which connects to on-board N76S003 AT20 UART0.
JP9 input Table 3.3-1 Voltage connector 3.3.2 Debug Connector ⚫ JP4: Connector in target board (NuTiny-N76S003AT ) for connecting with Nuvoton ICE adaptor (Nu-Link-Me) ⚫ JP2: Connector in ICE adaptor (Nu-Link-Me) for connecting with a target board (for example NuTiny-N76S003AT ) 3.3.3...
Page 9
N76S003 20 pin. Table 3.3-3 is the pin assignment for N76S003AT20. Pin No Pin Function Pin No Pin Function PWM2/IC6/T0/AIN4/P0.5 P1.4/SDA/FB/PWM1 TXD/AIN3/P0.6 P1.3/SCL/[STADC] RXD/AIN2/P0.7 P1.2/PWM0/IC0 RST/P2.0 P1.1/PWM1/IC1/AIN7/CLO INT0/OSCIN/AIN1/P3.0 P1.0/PWM2/IC2/SPCLK INT1/AIN0/P1.7 P0.0/PWM3/IC3/MOSI/T1 P0.1/PWM4/IC4/MISO [SDA]/TXD_1/ICPDA/OCDDA/P1.6 P0.2/ICPCK/OCDCK/RXD_1/[SCL] P0.3/PWM5/IC5/AIN6 PWM5/IC7/SS/P1.5 P0.4/AIN5/STADC/PWM3/IC3 Table 3.3-3 Pin Assignment for N76S003AT20 Nov.
IAR EMBEDDED WORKBENCH FOR 8051 ⚫ NuEclipse_Windows (For NuMicro 8051) ⚫ NuEclipse_Linux (For NuMicro 8051) Nuvoton Nu-Link Driver Installation Download and install the latest Nuvoton Nu-Link Driver. ⚫ Download and install Nu-Link_Keil_Driver when using Keil MDK. ⚫ Download and install Nu-Link_IAR_Driver when using IAR EWARM.
N76S003 BSP Firmware Download Download and unzip the Board Support Package (BSP). Hardware Setup 1. Open the virtual COM (VCOM) function by changing Nu-Link2-Me VCOM Switch No. 1 and 2 to ON. Figure 4.4-1 Open VCOM Function 2. Connect the ICE USB connector shown in Figure 4.4-2 to the PC USB port through a USB cable.
N76S003 3. Find the “Nuvoton Virtual COM Port” on the Device Manger as Figure 4.4-3. Figure 4.4-3 Device Manger 4. Open a serial port terminal, PuTTY for example, to print out debug message. Set the speed to 115200. Figure 4.4-4 presents the PuTTY session setting.
N76S003 Template KEIL NuEclipse Figure 4.5-1 Template Project Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain. The section 4.6.1 and 4.6.2 describe the steps of executing project in Keil MDK and IAR EWARM, respectively. 4.6.1 Keil MDK This section provides steps to beginners on how to run a project by using Keil MDK.
N76S003 Figure 4.6-2 Project File Migrate to Version 5 Format 6. Make sure the debugger is “Nuvoton Nu-Link Debugger” as shown in Figure 4.6-3 and Figure 4.6-4. Figure 4.6-3 Debugger Setting in Options Window Note: If the dropdown menu in Figure 4.6-3 does not contain “Nuvoton Nu-Link Debugger” item, please rework section.
N76S003 be printed out as shown in Figure 4.6-7. User can debug the project under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc. 3 1 2 1. Run 2. Stop 3.
N76S003 4.6.2 IAR EWARM This section provides steps to beginners on how to run a project by using IAR EWARM. 9. Double click the “Template.eww” to open the project. 10. Make sure the toolbar contains “Nu-Link” item as shown in Figure 4.6-8. Note: If the toolbar does not contain “Nu-Link”...
N76S003 12. Figure 4.6-10 shows the debug mode under IAR EWARN. Click “Go” and the debug message will be printed out as shown in Figure 4.6-11. User can debug the project under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc.
N76S003 REVISION HISTORY Date Revision Description 2023.11.15 1.00 Initial Release Nov. 15, 2023 Page 23 of 24 Rev 1.00...
Page 24
N76S003 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