Nuvoton NuMaker NUC1262SE User Manual

Nuvoton NuMaker NUC1262SE User Manual

For numicro nuc1262 series
Table of Contents

Advertisement

Quick Links

NuMaker-NUC1262SE
NuMicro
Family
®
Based on Arm
Cortex
-M23
®
®
NuMaker-NUC1262SE
User Manual
Evaluation Board for NuMicro
NUC1262 Series
®
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.
All data and specifications are subject to change without notice.
For additional information or questions, please contact: Nuvoton Technology Corporation.
www.nuvoton.com
Mar. 24, 2021
Page 1 of 46
Rev 1.00

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NuMaker NUC1262SE and is the answer not in the manual?

Questions and answers

Summary of Contents for Nuvoton NuMaker NUC1262SE

  • 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.
  • Page 2: Table Of Contents

    3.9.1 VCOM Switches......................23 3.9.2 Status LEDs ........................24 4 QUICK START ....................25 4.1 Toolchains Supporting .....................25 4.2 Nuvoton Nu-Link Driver Installation ................25 4.3 BSP Firmware Download ..................27 4.4 Hardware Setup .......................27 4.5 Find the Example Project ..................29 4.6 Execute the Project under Toolchains ..............29 4.6.1 Keil MDK ..........................
  • Page 3 NuMaker-NUC1262SE 5.2 NUC1262 Target Board ...................42 5.3 Extension Connectors .....................43 5.4 PCB Placement ......................44 6 REVISION HISTORY ..................45 Mar. 24, 2021 Page 3 of 46 Rev 1.00...
  • Page 4 NuMaker-NUC1262SE List of Figures Figure 1-1 NuMaker-NUC1262SE Evaluation Board ..............7 Figure 3-1 Front View of NuMaker-NUC1262SE................9 Figure 3-2 Rear View of NuMaker-NUC1262SE .................10 Figure 3-3 NUC1262SE4AE Extension Connectors ..............11 Figure 3-4 Arduino UNO Compatible Extension Connectors ............14 Figure 3-5 External Power Supply Sources on Nu-Link2-Me ............18 Figure 3-6 External Power Supply Sources on NUC1262 Target Board ........19 Figure 3-7 Detach the Nu-Link2-Me from NuMaker-NUC1262SE..........20 Figure 3-8 Wiring between Ammeter Connector and Ammeter ...........22...
  • Page 5 NuMaker-NUC1262SE Figure 4-28 NuEclipse Debug Mode ...................40 Figure 4-29 Debug Message on Serial Port Terminal Windows ..........40 Figure 5-1 Nu-Link2-Me Circuit ....................41 Figure 5-2 NUC1262 Target Board Circuit ..................42 Figure 5-3 Extension Connectors Circuit ..................43 Figure 5-4 Front Placement ......................44 Figure 5-5 Rear Placement ......................44 Mar.
  • Page 6 NuMaker-NUC1262SE List of Tables Table 3-1 Extension Connectors ....................11 Table 3-2 NUC1262SE4AE Full-pin Extension Connectors and GPIO Function List....13 Table 3-3 Arduino UNO Extension Connectors and NUC1262SE4AE Mapping GPIO List ..15 Table 3-4 Vin Power Source.......................16 Table 3-5 5 V Power Sources.....................16 Table 3-6 3.3 V Power Sources ....................17 Table 3-7 1.8 V Power Sources ....................17 Table 3-8 Power Connectors ......................17...
  • Page 7: Overview

    NuMaker-NUC1262SE OVERVIEW The NuMaker-NUC1262SE is an evaluation board for Nuvoton NuMicro NUC1262SE, NUC1262NE, and NUC1262LE microcontrollers. The NuMaker-NUC1262SE consists of two parts: an NUC1262SE target board and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-NUC1262SE is designed for project evaluation, prototype development and validation with power consumption monitoring function.
  • Page 8: Features

    NuMaker-NUC1262SE FEATURES  NuMicro NUC1262SE4AE microcontroller with function compatible with: NUC1262SE4AE – NUC1262NE4AE – NUC1262LE4AE –  NUC1262SE4AE extension connectors  Arduino UNO compatible extension connectors  Ammeter connector for measuring the microcontroller’s power consumption  Flexible board power supply: External V power connector –...
  • Page 9: Hardware Configuration

    NuMaker-NUC1262SE HARDWARE CONFIGURATION Front View Arduino UNO Compatible Extension Connectors Switch Reset Button External V Connector Ammeter VCOM Switch External V Connector ICE USB Connector USB PWR Connector ICE Chip: M48SSIDAE Power LED ICE Status LED PB14 LED Off-line Program Button External V Connector NUC1262 Target Board...
  • Page 10: Rear View

    NuMaker-NUC1262SE Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-NUC1262SE. The following lists components and connectors from the rear view:  Nu-Link2-Me MCUVCC Power Switch (ICEJPR1) – ICEVCC Power Switch (ICEJPR2) – ICEVCC Power Switch MCUVCC Power Switch Figure 3-2 Rear View of NuMaker-NUC1262SE Mar.
  • Page 11: Extension Connectors

    NuMaker-NUC1262SE Extension Connectors Table 3-1 presents the extension connectors. Connector Description JP3, JP4, JP5 and JP6 Full pins extension connectors on the NuMaker-NUC1262SE. NU1, NU2, NU3 and NU4 Arduino UNO compatible pins on the NuMaker-NUC1262SE. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-NUC1262SE provides the NUC1262SE4AE onboard and extension connectors (JP3, JP4, JP5 and JP6).
  • Page 12 NuMaker-NUC1262SE NUC1262SE4AE Header Pin No. Function PB.6/ADC0_CH6/UART1_RXD/BPWM1_CH5/BPWM3_CH5/INT4 JP3.1 JP3.2 PB.5/ADC0_CH5/SPI1_MISO/I2C0_SCL/BPWM2_CH0/LLSI_CH4/TM0/INT0 JP3.3 PB.4/ADC0_CH4/SPI1_MOSI/I2C0_SDA/BPWM2_CH1/LLSI_CH5/TM1/INT1 JP3.4 PB.3/ADC0_CH3/SPI1_CLK/I2C1_SCL/UART1_TXD/BPWM2_CH2/LLSI_CH6/TM2/INT2 JP3.5 PB.2/ADC0_CH2/SPI1_SS/I2C1_SDA/UART1_RXD/BPWM2_CH3/LLSI_CH7/TM3/INT3 JP3.6 PB.1/ADC0_CH1/VDET_P1/SPI1_I2SMCLK/I2C1_SCL/BPWM2_CH4/BPWM3_CH4 JP3.7 PB.0/ADC0_CH0/VDET_P0/SPI0_I2SMCLK/I2C1_SDA/BPWM2_CH5/BPWM3_CH5 JP3.8 PA.11/BPWM0_CH0/TM0_EXT JP3.9 PA.10/BPWM0_CH1/TM1_EXT JP3.10 PA.9/UART1_TXD/BPWM0_CH2/TM2_EXT JP3.11 PA.8/UART1_RXD/BPWM0_CH3/TM3_EXT/INT4 JP3.12 PF.6/SPI0_MOSI JP3.13 PF.14/LLSI_CH3/BPWM2_CH4/CLKO/TM3/INT5 JP3.14 PF.5/BPWM2_CH0/BPWM0_CH4/X32_IN/ADC0_ST JP3.15 PF.4/BPWM2_CH1/BPWM0_CH5/X32_OUT JP3.16 PF.3/UART0_TXD/I2C0_SCL/XT1_IN/BPWM1_CH0 JP5.1 PF.2/UART0_RXD/I2C0_SDA/XT1_OUT/BPWM1_CH1 JP5.2 PC.7/SPI1_MISO/UART0_nCTS/I2C1_SMBAL/BPWM3_CH2/BPWM1_CH0/TM0/INT3 JP5.3...
  • Page 13: Table 3-2 Nuc1262Se4Ae Full-Pin Extension Connectors And Gpio Function List

    NuMaker-NUC1262SE NUC1262SE4AE Header Pin No. Function JP5.18 PF.1/UART1_RXD/I2C1_SDA/UART0_RXD/BPWM1_CH1/ICE_CLK JP4.1 PC.5/I2C1_SCL/BPWM3_CH0/LLSI_CH0 JP4.2 PC.4/SPI1_I2SMCLK/I2C1_SDA/BPWM3_CH1/LLSI_CH1 JP4.3 PC.3/SPI1_MISO/I2C0_SMBAL/BPWM3_CH2/LLSI_CH2 JP4.4 PC.2/SPI1_MOSI/I2C0_SMBSUS/BPWM3_CH3/LLSI_CH3 JP4.5 PC.1/SPI1_CLK/I2C0_SCL/LLSI_CH8/ADC0_ST/BPWM3_CH4/BPWM2_CH1 JP4.6 PC.0/SPI1_SS/I2C0_SDA/LLSI_CH9/BPWM3_CH5/BPWM3_CH3 JP4.7 PD.3/SPI0_SS/UART0_TXD JP4.8 PD.2/SPI0_CLK/UART0_RXD JP4.9 PD.1/SPI0_MISO JP4.10 PD.0/SPI0_MOSI/TM2 JP4.11 USB_VBUS JP4.12 USB_D- JP4.13 USB_D+ JP4.14 USB_VDD33_CAP JP6.1 JP6.2 LDO_CAP JP6.3 JP6.4 PC.14/SPI1_MOSI/SPI0_I2SMCLK/TM1 JP6.5...
  • Page 14: 3.3.2 Arduino Uno Compatible Extension Connectors

    NuMaker-NUC1262SE 3.3.2 Arduino UNO Compatible Extension Connectors Figure 3-4 shows the Arduino UNO compatible extension connectors. UART1_RXD BPWM2_CH3 PB.2 UART1_TXD BPWM2_CH2 PB.3 I2C1_SDA BPWM3_CH1 PC.4 I2C1_SCL BPWM3_CH0 PC.5 BPWM3_CH2 PC.3 BPWM3_CH3 PC.2 BPWM2_CH5 PD.15 BPWM1_CH0 PF.15 BPWM0_CH5 PA.5 BPWM1_CH1 PB.10 SPI0_SS BPWM0_CH3 PA.3...
  • Page 15: Table 3-3 Arduino Uno Extension Connectors And Nuc1262Se4Ae Mapping Gpio List

    NuMaker-NUC1262SE NuMaker-NUC1262SE NuMaker-NUC1262SE Header Header Compatible to GPIO Pin of Compatible to GPIO Pin of Arduino UNO NUC1262 Arduino UNO NUC1262 NU3.1 PB.2 NU2.6 PB.1 NU3.2 PB.3 NU2.5 PB.0 NU3.3 PC.4 NU2.4 PB.4 NU3.4 PC.5 NU2.3 PB.5 NU3.5 PC.3 NU2.2 PB.6 NU3.6 PC.2...
  • Page 16: Power Supply Configuration

    NuMaker-NUC1262SE Power Supply Configuration The NuMaker-NUC1262SE is able to adopt multiple power supplies. External power sources include NU1 Vin (7 V to 12 V), V (depending on the target chip operating voltage), and PC through USB connector. By using switches and voltage regulator, multiple power domains can be created on the NuMaker-NUC1262SE.
  • Page 17: Power Sources

    NuMaker-NUC1262SE 3.4.3 3.3 V Power Sources Table 3-6 presents the 3.3 V power sources. Voltage Regulator 5 V Source Description ICEUP1 converts USB_HS_VBUS to 3.3 V and supplies ICEUP1 USB_HS_VBUS 3.3 V to NUC1262 target board or ICE chip. UP1 converts USB_VBUS to 3.3 V and supplies 3.3 V to NUC1262 target board.
  • Page 18: Usb Connectors

    NuMaker-NUC1262SE 3.4.6 USB Connectors Table 3-9 presents the USB connectors. Connector Description ICE USB connector on Nu-Link2-Me for power supply, debugging and ICEJ3 programming from PC. USB FS connector on NuMaker-NUC1262SE for power supply. Table 3-9 USB Connectors 3.4.7 Power Switches Table 3-10 presents the power switches.
  • Page 19: Figure 3-6 External Power Supply Sources On Nuc1262 Target Board

    NuMaker-NUC1262SE To use ICEJ3 as external power supply source with Nu-Link2-Me, please follow the steps below: Solder the resistor on ICEJPR1 (MCUVCC) depending on the target chip operating voltage. Solder the resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage. Switch the SW2 to OFF.
  • Page 20: Figure 3-7 Detach The Nu-Link2-Me From Numaker-Nuc1262Se

    NuMaker-NUC1262SE 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 resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage. Connect ICEJ3 to PC. Connect the external power supply to JP1.
  • Page 21: Table 3-12 Supply External Power For Nuc1262 Target Board

    NuMaker-NUC1262SE Table 3-12 presents all power models when supplies external power through NUC1262 target board. The NUC1262 target board external power sources are highlighted in yellow. ICEJPR1 ICEJPR2 Target Chip ICE Chip Model ICEJ3 (MCUVCC) (ICEVCC) Voltage Selection Voltage Selection Selection 7 V ~ 12 V Remove...
  • Page 22: External Reference Voltage Connector

    NuMaker-NUC1262SE External Reference Voltage Connector Table 3-14 presents the external reference voltage connector. Connector Description Connector for user to connect to the external reference voltage pin of the VREF1 target chip. User needs to remove the L5 ferrite bead. Table 3-13 External Reference Voltage Connector Ammeter Connector Table 3-14 presents the ammeter connector.
  • Page 23: Leds

    NuMaker-NUC1262SE LEDs Table 3-16 presents the LEDs. Component Description Power LED The power LED indicates that the NuMaker-NUC1262SE is powered. PB14 LED The LED is connected to the target chip PB.14. ICES0, ICES1, ICES2 Nu-Link2-Me status LED. and ICES3 Table 3-16 LEDs Nu-Link2-Me The Nu-Link2-Me is an attached on-board debugger and programmer.
  • Page 24: Status Leds

    NuMaker-NUC1262SE 3.9.2 Status LEDs Table 3-16 presents the status LEDs patterns for different operation on Nu-Link2-Me. Status LED Operation Status ICES0 ICES1 ICES2 ICES3 Boot Flash x 3 Flash x 3 Flash x 3 Flash x 3 Idle One Nu-Link2-Me is selected to connect Flash x 3 Flash x 3 Flash x 3...
  • Page 25: Quick Start

    KEIL MDK Nuvoton edition M0/M23  IAR EWARM  NuEclipse GCC (for Windows)  NuEclipse GCC (for Linux) 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.
  • Page 26: Figure 4-2 Nu-Link Usb Driver Installation

    NuMaker-NUC1262SE Figure 4-2 Nu-Link USB Driver Installation Mar. 24, 2021 Page 26 of 46 Rev 1.00...
  • Page 27: Bsp Firmware Download

    NuMaker-NUC1262SE BSP Firmware Download Download and unzip the Board Support Package (BSP). Hardware Setup Open the virtual COM (VCOM) function by changing Nu-Link2-Me VCOM Switch No. 1 and 2 to Figure 4-3 Open VCOM Function Connect the ICE USB connector shown in Figure 4-4 to the PC USB port through a USB cable. Figure 4-4 ICE USB Connector Mar.
  • Page 28: Figure 4-5 Device Manger

    NuMaker-NUC1262SE 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. Figure 4-6 presents the PuTTY session setting.
  • Page 29: Find The Example Project

    NuMaker-NUC1262SE Find the Example Project Use the “Template” project as an example. The project can be found under the BSP folder as shown in Figure 4-7.  NUC1262_Series_BSP_CMSIS_V3.XX.XXX  SampleCode  Template   Keil  Figure 4-7 Template Project Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain.
  • Page 30: Figure 4-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. Figure 4-10 Debugger Setting in Options Window Note: If the dropdown menu in Figure 4-10 does not contain “Nuvoton Nu-Link Debugger” item, please rework section 4.2. Mar. 24, 2021 Page 30 of 46 Rev 1.00...
  • Page 31: Figure 4-11 Programming Setting In Options Window

    NuMaker-NUC1262SE Figure 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 mode. 1. Rebuild 2. Successfully compile 3. Download 4. Start/Stop Debug Figure 4-12 Compile and Download the Project Mar.
  • Page 32: Figure 4-13 Keil Mdk Debug Mode

    NuMaker-NUC1262SE Figure 4-13 shows the debug mode under Keil MDK. Click “Run” 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, step run, value monitor, etc.
  • Page 33: Iar Ewarm

    NuMaker-NUC1262SE 4.6.2 IAR EWARM This section provides steps to beginners on how to run a project by using IAR EWARM. Double click the “Template.eww” 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”...
  • Page 34: Figure 4-17 Iar Ewarm Debug Mode

    NuMaker-NUC1262SE Figure 4-17 shows the debug mode under IAR EWARN. Click “Go” 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, step run, value monitor, etc.
  • Page 35: Nueclipse

    NuMaker-NUC1262SE 4.6.3 NuEclipse This section provides steps to beginners on how to run a project by using NuEclipse. Please make sure 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 Figure 4-19 and Figure 4-20. Figure 4-19 Import the Project in NuEclipse M031_Series_BSP_CMSIS_V3.XX.XXX\SampleCode\Template M031_Series_BSP_CMSIS_V3.XX.XXX\SampleCode\Template\GCC)
  • Page 36: Figure 4-21 Open Project Properties Window

    NuMaker-NUC1262SE 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. Figure 4-21 Open Project Properties Window Figure 4-22 Project Properties Settings Mar. 24, 2021 Page 36 of 46 Rev 1.00...
  • Page 37: Figure 4-23 Build Project

    NuMaker-NUC1262SE Click the “Template” project and build the project. 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 settings presented in Figure 4-25, Figure 4-26 and Figure 4-27 to enter debug mode.
  • Page 38: Figure 4-25 Main Tab Configuration

    NuMaker-NUC1262SE 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 Main Tab Configuration Figure 4-26 Debugger Tab Configuration Mar.
  • Page 39: Figure 4-27 Startup Tab Configuration

    NuMaker-NUC1262SE Note 1: User must follow those settings highlighted in green, and configure other settings depending on the needs. Figure 4-27 Startup Tab Configuration Mar. 24, 2021 Page 39 of 46 Rev 1.00...
  • Page 40: Figure 4-28 Nueclipse Debug Mode

    NuMaker-NUC1262SE Figure 4-28 shows the debug mode under NuEclipse. Click “Resume” and the debug message will be printed out as shown in Figure 4-29. User can debug the project under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc.
  • Page 41: Numaker-Nuc1262Se Schematics

    NuMaker-NUC1262SE NUMAKER-NUC1262SE SCHEMATICS Nu-Link2-Me Figure 5-1 shows the Nu-Link2-Me circuit. 3.3V ICER1 O f f - page C onnect or 200 1% USB_HS_CAP R0603 ICE5V ICEC1 ICEC2 ICE5V 0.1u MCUVCC_DIODE C0603 C0603 MCUVCC_DIODE SWDH_DAT TICEDAT SWDH_CLK TICECLK SWDH_RST# TICERST ICE_RX_S MCU_TX ICE_TX_S MCU_RX...
  • Page 42: Nuc1262 Target Board

    NuMaker-NUC1262SE NUC1262 Target Board Figure 5-2 shows the NUC1262 target board circuit. P1 - P16 P33 - P48 PF0_ICE_DAT PB6_NU2_A1 TICEDAT PF1_ICE_CLK PB5_NU2_A2 TICECLK PB4_NU2_A3 PC5_NU3_D3 PB3_NU3_D1/TX PC4_NU3_D2 PB2_NU3_D0/RX PC3_NU3_D4 PB1_NU2_A5/SCL/TX PC2_NU3_D5 PB0_NU2_A4/SDA/RX PC1_NU4_SCL PA11 PC0_NU4_SDA PA10 nRESET PF14 USB_VBUS PF5_X32_IN PF5_X32_IN USB_D-...
  • Page 43: Extension Connectors

    NuMaker-NUC1262SE Extension Connectors Figure 5-3 shows extension connectors of NuMaker-NUC1262SE. P1 - P16 P33 - P48 PB6_NU2_A1 TICEDAT PB5_NU2_A2 TICECLK PC1_NU4_SCL I2C_SCL PB4_NU2_A3 PC5_NU3_D3 PC0_NU4_SDA I2C_SDA PB3_NU3_D1/TX PC4_NU3_D2 VREF VREF PB2_NU3_D0/RX PC3_NU3_D4 PB1_NU2_A5/SCL/TX PC2_NU3_D5 TICERST PA2_NU3_D13/CLK MCU_RESET PB0_NU2_A4/SDA/RX PC1_NU4_SCL NU1_3VCC PA1_NU3_D12/MISO 3VCC PA11...
  • Page 44: Pcb Placement

    NuMaker-NUC1262SE PCB Placement Figure 5-4 and Figure 5-5 show the front and rear placement of NuMaker-NUC1262SE. Figure 5-4 Front Placement Figure 5-5 Rear Placement Mar. 24, 2021 Page 44 of 46 Rev 1.00...
  • Page 45: Revision History

    NuMaker-NUC1262SE REVISION HISTORY Date Revision Description  2021.03.24 1.00 Initial version Mar. 24, 2021 Page 45 of 46 Rev 1.00...
  • Page 46 NuMaker-NUC1262SE 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”.

Table of Contents