Table of Contents

Advertisement

Quick Links

NuMaker-Volcano
NuMicro
®
Family
Arm
®
Cortex
®
-M0-based Microcontroller
NuMaker-Volcano
User Manual
Evaluation Board for NuMicro
®
M0A21/M0A23 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. 17, 2023
Page 1 of 37
Rev 1.00

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Nuvoton NuMaker-Volcano

  • 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.8 Nu-Link2-Me ......................... 16 3.8.1 VCOM Switches......................16 4 QUICK START ....................17 4.1 Toolchains Supporting ....................17 4.2 Nuvoton Nu-Link Driver Installation ................17 4.3 BSP Firmware Download ................... 19 4.4 Hardware Setup ......................19 4.5 Find the Example Project ................... 21 4.6 Execute the Project under Toolchains ..............
  • Page 3 NuMaker-Volcano List of Figures Figure 1-1 NuMaker-Volcano Evaluation Board ................6 Figure 3-1 Front View of NuMaker-Volcano ..................8 Figure 3-2 Rear View of NuMaker-Volcano ..................9 Figure 3-3 M0A23EC1AC Extension Connectors ................10 Figure 3-4 External Power Supply Sources on Nu-Link2-Me ............14 Figure 3-5 Function Switches on NuMaker-Volcano..............
  • Page 4 NuMaker-Volcano Figure 5-2 M0A21/M0A23 Target Board Circuit ................34 Figure 5-3 Front Placement ......................35 Figure 5-4 Rear Placement ......................35 Mar. 17, 2023 Page 4 of 37 Rev 1.00...
  • Page 5 NuMaker-Volcano List of Tables Table 3-1 M0A23EC1AC Full-pin Extension Connectors and GPIO Function List ......12 Table 3-2 5 V Power Sources ......................13 Table 3-3 3.3 V Power Sources ..................... 13 Table 3-4 USB Connectors ......................13 Table 3-5 Supply External Power through Nu-Link2-Me ............... 14 Table 3-6 Function Switches ......................
  • Page 6: Overview

    The NuMaker-Volcano is a 25 x 50 (mm ) evaluation board for Nuvoton NuMicro M0A21/M0A23 microcontrollers. The NuMaker-Volcano consists of two parts: an M0A21/M0A23 target board and an on-board debugger and programmer. The NuMaker-Volcano is designed for project evaluation, prototype development and validation.
  • Page 7: Features

    NuMaker-Volcano FEATURES  NuMicro M0A23EC1AC microcontroller with function compatible with: M0A23EC1AC – M0A23OC1AC – M0A21EC1AC – M0A21EB1AC – M0A21OC1AC – M0A21OB1AC –  M0A23EC1AC extension connectors  Board power supply from ICE USB connector  On-board Nu-Link2-Me debugger and programmer: Debug through SWD interface –...
  • Page 8: Hardware Configuration

    Target Board Nu-Link2-Me M0A23EC1AC Figure 3-1 Front View of NuMaker-Volcano Figure 3-1 shows the main components and connectors from the front side of NuMaker-Volcano. The following lists components and connectors from the front view:  Target chip: M0A23EC1AC (U1) ...
  • Page 9: Rear View

    NuMaker-Volcano Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-Volcano. The following lists components and connectors from the rear view:  SWD Function Switch (SW1) Enable V to VCC – Enable PA.0 and PA.1 to ICE_DAT and ICE_CLK –...
  • Page 10: Extension Connectors

    NuMaker-Volcano Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-Volcano provides the M0A23EC1AC onboard and extension connectors. Figure 3-3 shows the M0A23EC1AC extension connectors. Pin15 ~ Pin28 Pin1 ~ Pin14 Figure 3-3 M0A23EC1AC Extension Connectors Mar. 17, 2023 Page 10 of 37...
  • Page 11 NuMaker-Volcano M0A23EC1AC Pin No. Function PA.5 / ADC0_CH16 / UART0_nRTS / XT1_IN / CLKO / PWM0_CH0 / PWM0_CH2 / PWM0_CH4 / UART0_TXD / UART0_RXD / USCI0_CLK / USCI0_DAT0 / USCI0_DAT1 / USCI0_CTL0 / USCI0_CTL1 / USCI1_CLK / USCI1_DAT0 / USCI1_DAT1 / USCI1_CTL0 / CAN0_TXD / CAN0_RXD / ACMP0_O / ACMP1_O / ADC0_ST / TM0 / TM2 / TM0_EXT / TM2_EXT / UART1_TXD / UART1_RXD / ACMP0_WLAT PA.4 / ADC0_CH15 / UART0_nRTS / XT1_OUT / CLKO / PWM0_CH1 / PWM0_CH3 / PWM0_CH5 / UART0_TXD /...
  • Page 12: Table 3-1 M0A23Ec1Ac Full-Pin Extension Connectors And Gpio Function List

    NuMaker-Volcano M0A23EC1AC Pin No. Function PC.2 / ADC0_CH5 / ACMP0_N2 / ACMP1_N2 / UART0_nRTS / UART0_nCTS / CLKO / PWM0_CH0 / PWM0_CH2 / PWM0_CH4 / UART0_TXD / UART0_RXD / USCI0_CLK / USCI0_DAT0 / USCI0_DAT1 / USCI0_CTL0 / USCI1_CTL1 / USCI1_CLK / USCI1_DAT0 / USCI1_DAT1 / USCI1_CTL0 / CAN0_TXD / CAN0_RXD / ACMP0_O / ACMP1_O / ADC0_ST / TM0 / TM2 / TM0_EXT / TM2_EXT / UART1_TXD / UART1_RXD / UART1_nRTS PC.1 / ADC0_CH4 / ACMP0_N1 / ACMP1_N1 / UART0_nRTS / UART0_nCTS / CLKO / PWM0_CH1 / PWM0_CH3 /...
  • Page 13: Power Supply Configuration

    NuMaker-Volcano Power Supply Configuration The NuMaker-Volcano is able to adopt 3.3 V or 5 V power supplies from PC through ICE USB connector. By switching ICEJPR1, two power domains can be created on the NuMaker-Volcano. 3.4.1 5 V Power Sources Table 3-2 presents the 5 V power sources.
  • Page 14: Function Switches

    NuMaker-Volcano ICE USB Connector (ICEJ1) Nu-Link2-Me Figure 3-4 External Power Supply Sources on Nu-Link2-Me To use ICEJ1 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.
  • Page 15: Push Buttons

    Reset button to reset the target chip. Table 3-7 Push-Buttons LEDs Table 3-8 presents the LEDs. Component Description Power LED The power LED indicates that the NuMaker-Volcano is powered. Table 3-8 LEDs Mar. 17, 2023 Page 15 of 37 Rev 1.00...
  • Page 16: Nu-Link2-Me

    NuMaker-Volcano Nu-Link2-Me The Nu-Link2-Me is an attached on-board debugger and programmer. The Nu-Link2-Me supports on- chip debugging, online ICP programming through SWD interface. The Nu-Link2-Me also supports virtual COM port (VCOM) for printing debug messages on PC. For more information about Nu-Link2-Me, please refer to Nu-Link2-Pro Debugger and Programmer User Manual.
  • Page 17: 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 18: Figure 4-2 Nu-Link Usb Driver Installation

    NuMaker-Volcano Figure 4-2 Nu-Link USB Driver Installation Mar. 17, 2023 Page 18 of 37 Rev 1.00...
  • Page 19: Bsp Firmware Download

    NuMaker-Volcano BSP Firmware Download Download and unzip the Board Support Package (BSP). Hardware Setup Open the virtual COM (VCOM) function by changing the on-board debugger and programmer VCOM Switch No. 1 and 2 to ON. 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.
  • Page 20: Figure 4-5 Device Manger

    NuMaker-Volcano 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 21: Find The Example Project

    NuMaker-Volcano 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.  M0A21_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 22: 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. 17, 2023 Page 22 of 37 Rev 1.00...
  • Page 23: Figure 4-11 Programming Setting In Options Window

    NuMaker-Volcano 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 24: Figure 4-13 Keil Mdk Debug Mode

    NuMaker-Volcano 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 25: Iar Ewarm

    NuMaker-Volcano 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.
  • Page 26: Figure 4-17 Iar Ewarm Debug Mode

    NuMaker-Volcano 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 27: Nueclipse

    NuMaker-Volcano 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.
  • Page 28: Figure 4-21 Open Project Properties Window

    NuMaker-Volcano 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. 17, 2023 Page 28 of 37 Rev 1.00...
  • Page 29: Figure 4-23 Build Project

    NuMaker-Volcano 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 30: Figure 4-25 Main Tab Configuration

    NuMaker-Volcano 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 31: Figure 4-27 Startup Tab Configuration

    NuMaker-Volcano Note: User must follow those settings highlighted in green, and configure other settings depending on the needs. Figure 4-27 Startup Tab Configuration Mar. 17, 2023 Page 31 of 37 Rev 1.00...
  • Page 32: Figure 4-28 Nueclipse Debug Mode

    NuMaker-Volcano 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 33: Numaker-Volcano Schematics

    NuMaker-Volcano NUMAKER-VOLCANO SCHEMATICS Nu-Link2-Me Figure 5-1 shows the Nu-Link2-Me circuit. 3.3V ICER1 ICEUP1 O f f - page C onnect or 200 1% AMS1117_3.3v USB_HS_CAP R0603 ICE5V ICEC1 ICEC2 ICE5V ICE5V 3.3V ICEVCC 0.1u USB_HS_VBUS MCUVCC_DIODE C0603 C0603 ICED1 MCUVCC_DIODE...
  • Page 34: M0A21/M0A23 Target Board

    NuMaker-Volcano M0A21/M0A23 Target Board Figure 5-2 shows the M0A21/M0A23 target board circuit. PA3_nRESET TICERST <M0A23EC1AC> PA1_ICE_CLK VDD_MCU TICECLK PA0_ICE_DAT PA.5 PA.0 PA1_ICE_CLK PA.4 PA.1 PA3_nRESET PA.3 PA.2 PC.5 PC.0 PA0_ICE_DAT TICEDAT PC.4 PC.1 SMD HPS604-E PC.3 PC.2 Defaut On MCU_TX PD.0...
  • Page 35: Pcb Placement

    NuMaker-Volcano PCB Placement Figure 5-3 and Figure 5-4 show the front and rear placement of NuMaker-Volcano. Figure 5-3 Front Placement Figure 5-4 Rear Placement Mar. 17, 2023 Page 35 of 37 Rev 1.00...
  • Page 36: Revision History

    NuMaker-Volcano REVISION HISTORY Date Revision Description 2023.03.17 1.00 Initial version. Mar. 17, 2023 Page 36 of 37 Rev 1.00...
  • Page 37 NuMaker-Volcano 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