Table of Contents

Advertisement

Quick Links

NuMaker-EVB-KM1M7-HQFP100
NuMicro
Family
®
Based on Arm
Cortex
-M7
®
®
NuMaker-EVB-KM1M7-HQFP100
User Manual
NuMicro
KM1M7AF 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. 29, 2024
Page 1 of 47
Rev 1.04

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Nuvoton NuMaker-EVB-KM1M7-HQFP100

  • 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.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 ..............
  • Page 3 NuMaker-EVB-KM1M7-HQFP100 5.3 PCB Placement ......................45 6 REVISION HISTORY ..................46 Mar. 29, 2024 Page 3 of 47 Rev 1.04...
  • Page 4 Figure 3-5 External Power Supply Sources on Nu-Link2-Me ............18 Figure 3-6 External Power Supply Sources on KM1M7AF52N Target Board ....... 19 Figure 3-7 Detach the Nu-Link2-Me from NuMaker-EVB-KM1M7-HQFP100 ....... 20 Figure 4-1 Nu-Link USB Driver Installation Setup ................25 Figure 4-2 Nu-Link USB Driver Installation ..................
  • Page 5 NuMaker-EVB-KM1M7-HQFP100 Figure 4-29 ICP Settings ........................ 41 Figure 4-30 ICP Connection Settings .................... 42 Figure 4-31 NuMaker Firmware Update Flow ................42 Figure 4-32 Disconnection Settings ....................42 Figure 5-1 Nu-Link2-Me Circuit ...................... 43 Figure 5-2 KM1M7AF52N Target Board Circuit ................44 Figure 5-3 Front Placement ......................
  • Page 6 NuMaker-EVB-KM1M7-HQFP100 List of Tables Table 3-1 Extension Connectors ....................11 Table 3-2 KM1M7AF52N Full-pin Extension Connectors and GPIO Function List ....... 13 Table 3-3 Arduino UNO Extension Connectors and KM1M7AF52N Mapping GPIO List ....15 Table 3-4 Vin Power Source ......................16 Table 3-5 5 V Power Sources ......................
  • Page 7: Overview

    OVERVIEW NuMaker-EVB-KM1M7-HQFP100 is an evaluation board for Nuvoton KM1M7AF52N microcontrollers. The NuMaker-EVB-KM1M7-HQFP100 consists of two parts: an KM1M7AF52N target board and an on-board Nu-Link2-Me debugger and programmer. The KM1M7AF52N target board is based on KM1M7AF52N. For the development flexibility, the KM1M7AF52N target board provides the extension connectors of KM1M7AF52N, the Arduino UNO compatible headers.
  • Page 8: Features

    NuMaker-EVB-KM1M7-HQFP100 FEATURES KM1M7AF52N microcontroller with function compatible with:  KM1M7AF50N – KM1M7AF50M – KM1M7AF50K – KM1M7AF52M – KM1M7AF52K – KM1M7AF52N extension connectors  Arduino UNO compatible extension connectors  Flexible board power supply:  External V power connector – Arduino UNO compatible extension connector Vin –...
  • Page 9: Hardware Configuration

    Nu-Link2 -Me KM1M7AF52N ETM Interface Figure 3-1 Front View of NuMaker-EVB-KM1M7-HQFP100 Figure 3-1 shows the main components and connectors from the front side of NuMaker-EVB-KM1M7- HQFP100. The following lists components and connectors from the front view: Target chip: KM1M7AF52N (U1) ...
  • Page 10: Rear View

    Figure 3-2 shows the main components and connectors from the rear side of NuMaker-EVB-KM1M7- HQFP100. The following lists components and connectors from the rear view: Nu-Link2-Me  MCUVCC Power Switch (ICEJPR1) – Figure 3-2 Rear View of NuMaker-EVB-KM1M7-HQFP100 Mar. 29, 2024 Page 10 of 47 Rev 1.04...
  • Page 11: Extension Connectors

    Arduino UNO compatible pins on the NuMaker-EVB-KM1M7-HQFP100. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-EVB-KM1M7-HQFP100 provides the KM1M7AF52N onboard and extension connectors (JP1, JP2, JP3 and JP4). Figure 3-3 shows the KM1M7AF52N extension connectors. Figure 3-3 KM1M7AF52N Extension Connectors Mar.
  • Page 12 NuMaker-EVB-KM1M7-HQFP100 KM1M7AF52N Header Pin No. Function TRCCLK/TM20A/IRQ00/P00 JP1.1 JP1.2 TRCSWO/TM20B/IRQ01/P01 JP1.3 TRCD0/TM00A/IRQ02/P02 JP1.4 TRCD1/TM00B/IRQ03/P03 JP1.5 TRCD2/TM01A/IRQ04/P04 JP1.6 TRCD3/TM01B/IRQ05/P05 JP1.7 SBT7D/SCL7D/SBO7C/TX7C/SDA7C/SBT4D/SBO4C/TX4C/GPWMST6/TM03B/P61 JP1.8 SBI7CD/RX7CD/SBI4CD/RX4CD/GPWMST5/TM03A/P60 JP1.9 SBO7D/TX7D/SDA7D/SBT7C/SCL7C/SBO4D/TX4D/SBT4C/GPWMST7/TM04A/P62 JP1.10 VDD50 JP1.11 GPWM60/GPWMH60/PA0 JP1.12 GPWM61/GPWMH61/PA1 JP1.13 GPWM70/GPWMH70/PA2 JP1.14 GPWM71/GPWMH71/PA3 JP2.1 PA4/GPWMH80/GPWM80 JP2.2 PA5/GPWMH81/GPWM81 JP2.3 P80/GPWMH00/GPWM00 JP2.4...
  • Page 13: Table 3-2 Km1M7Af52N Full-Pin Extension Connectors And Gpio Function List

    NuMaker-EVB-KM1M7-HQFP100 KM1M7AF52N Header Pin No. Function JP3.9 PE0/ADIN16/VGAP2/CMPIN4 JP3.10 PE1/ADIN17/VGAN2 JP3.11 PD0/ADIN08/VGAN1 JP3.12 PD1/ADIN09/VGAP1/CMPIN3 JP3.13 PD2/ADIN10 JP3.14 PD3/ADIN11 JP3.15 PD6/ADIN14 JP3.16 PD7/ADIN15 JP3.17 PC0/ADIN00/VGAN0 JP3.18 PC1/ADIN01/VGAP00/CMPIN0 JP3.19 PC2/ADIN02/VGAP01/CMPIN1 JP3.20 PC3/ADIN03/VGAP02/CMPIN2 JP3.21 PC4/ADIN04 JP3.22 PC5/ADIN05 JP3.23 PC6/ADIN06 JP3.24 PC7/ADIN07 JP3.25 AVDD50 JP4.1...
  • Page 14: 3.3.2 Arduino Uno Compatible Extension Connectors

    NuMaker-EVB-KM1M7-HQFP100 3.3.2 Arduino UNO Compatible Extension Connectors Figure 3-4 shows the Arduino UNO compatible extension connectors. Figure 3-4 Arduino UNO Compatible Extension Connectors Mar. 29, 2024 Page 14 of 47 Rev 1.04...
  • Page 15: Table 3-3 Arduino Uno Extension Connectors And Km1M7Af52N Mapping Gpio List

    NuMaker-EVB-KM1M7-HQFP100 NuMaker-EVB-KM1M7-HQFP100 NuMaker-EVB-KM1M7-HQFP100 Header Header GPIO Pin GPIO Pin Compatible to Compatible to Arduino UNO Arduino UNO of KM1M7AF52N of KM1M7AF52N NU3.1 NU2.6 NU3.2 NU2.5 NU3.3 NU2.4 NU3.4 NU2.3 NU3.5 NU2.2 NU3.6 NU2.1 NU3.7 NU1.8 NU3.8 NU1.7 NU4.1 NU1.6 NU4.2 NU1.5...
  • Page 16: Power Supply Configuration

    NuMaker-EVB-KM1M7-HQFP100 Power Supply Configuration The NuMaker-EVB-KM1M7-HQFP100 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-EVB-KM1M7-HQFP100.
  • Page 17: 3.3 V Power Sources

    Table 3-6 3.3 V Power Sources 3.4.4 Power Connectors Table 3-7 presents the power connectors. Connector Description connector on the NuMaker-EVB-KM1M7-HQFP100. Note: KM1M7AF52N operating voltage range is 5V. connector on the NuMaker-EVB-KM1M7-HQFP100. Table 3-7 Power Connectors Mar. 29, 2024 Page 17 of 47...
  • Page 18: Usb Connectors

    NuMaker-EVB-KM1M7-HQFP100 3.4.5 USB Connectors Table 3-8 presents the USB connectors. Connector Description ICE USB connector on Nu-Link2-Me for power supply, debugging and ICEJ3 programming from PC. Table 3-8 USB Connectors 3.4.6 Power Switches Table 3-9 presents the power switches. Switch Description Configures the ICE chip operating voltage at 5 V / 3.3 V.
  • Page 19: Figure 3-6 External Power Supply Sources On Km1M7Af52N Target Board

    To use Vin as external power supply source with Nu-Link2-Me detached from NuMaker-EVB-KM1M7- HQFP100, please follow the steps below: Detach the Nu-Link2-Me from NuMaker-EVB-KM1M7-HQFP100. Connect the external power supply to Vin . To use JP5 or Vin as external power supply source with Nu-Link2-Me detached from NuMaker-EVB- KM1M7-HQFP100, please follow the steps below: Detach the Nu-Link2-Me from NuMaker-EVB-KM1M7-HQFP100.
  • Page 20: Figure 3-7 Detach The Nu-Link2-Me From Numaker-Evb-Km1M7-Hqfp100

    NuMaker-EVB-KM1M7-HQFP100 Figure 3-7 Detach the Nu-Link2-Me from NuMaker-EVB-KM1M7-HQFP100 Table 3-11 presents all power models when supplies external power through KM1M7AF52N target board. The KM1M7AF52N target board external power sources are highlighted in yellow. Target Chip ICE Chip Model ICEJ3 ICEJPR1 (MCUVCC)
  • Page 21: Push Buttons

    NuMaker-EVB-KM1M7-HQFP100 Push Buttons Table 3-12 presents the push buttons. Component Description ICESW1 Offline program button to start offline ICP programming the target chip. Reset button to reset the target chip. Table 3-12 Push-Buttons Mar. 29, 2024 Page 21 of 47...
  • Page 22: Leds

    NuMaker-EVB-KM1M7-HQFP100 LEDs Table 3-13 presents the LEDs. Component Description The power LED indicates that the NuMaker-EVB-KM1M7-HQFP100 is Power LED powered. PC7 LED The LED is connected to the target chip 74pin. ICES0, ICES1, ICES2 Nu-Link2-Me status LED. and ICES3 Table 3-13 LEDs Debug Connector Table 3-14 Debug Connector Debug Connector presents the debug connector.
  • Page 23: Nu-Link2-Me

    NuMaker-EVB-KM1M7-HQFP100 Nu-Link2-Me The Nu-Link2-Me is an attached on-board debugger and programmer. The Nu-Link2-Me supports on- chip debugging, online and offline ICP programming through SWD interface. The Nu-Link2-Me also supports virtual COM port (VCOM) for printing debug messages on PC. Besides, the programming status could be shown on the built-in LEDs.
  • Page 24: Status Leds

    NuMaker-EVB-KM1M7-HQFP100 3.8.2 Status LEDs Table 3-16 Operation Status LED Patterns 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...
  • Page 25: Quick Start

    KEIL MDK Nuvoton edition Cortex-M (for Windows, Paid)  IAR EWARM (Free/Paid)  NuEclipse GCC (for Windows, nuvoton’s IDE & NuLink Driver Site, Free)  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.
  • Page 26: Figure 4-2 Nu-Link Usb Driver Installation

    NuMaker-EVB-KM1M7-HQFP100 Figure 4-2 Nu-Link USB Driver Installation Mar. 29, 2024 Page 26 of 47 Rev 1.04...
  • Page 27: Bsp Firmware Download

    NuMaker-EVB-KM1M7-HQFP100 BSP Firmware Download Download and unzip the Board Support Package (BSP). *Currently, it is not possible to download the BSP from the website, so please contact us for how to get it. 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.
  • Page 28: Figure 4-5 Device Manger

    NuMaker-EVB-KM1M7-HQFP100 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

    This subsection provides steps to beginners on how to run a project by using Keil MDK. Double-click the “Template.uvprojx” to open the project. Make sure the debugger is “Nuvoton Nu-Link Debugger” as shown in Figure 4-8 and Figure 4-9. Figure 4-8 Debugger Setting in Options Window Note: If the dropdown menu in Figure 4-8 does not contain “Nuvoton Nu-Link Debugger”...
  • Page 30: Figure 4-9 Programming Setting In Options Window

    NuMaker-EVB-KM1M7-HQFP100 Figure 4-9 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-10 Compile and Download the Project Figure 4-11 shows the debug mode under Keil MDK.
  • Page 31: Figure 4-11 Keil Mdk Debug Mode

    NuMaker-EVB-KM1M7-HQFP100 checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc. 3 1 2 1. Run 2. Stop 3. Reset Figure 4-11 Keil MDK Debug Mode Figure 4-12 Debug Message on Serial Port Terminal Windows Mar.
  • Page 32: Iar Ewarm

    NuMaker-EVB-KM1M7-HQFP100 4.6.2 IAR EWARM This subsection 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-13.
  • Page 33: Figure 4-15 Iar Ewarm Debug Mode

    NuMaker-EVB-KM1M7-HQFP100 Figure 4-15 IAR EWARM Debug Mode Figure 4-16 Debug Message on Serial Port Terminal Windows Mar. 29, 2024 Page 33 of 47 Rev 1.04...
  • Page 34: Nueclipse

    NuMaker-EVB-KM1M7-HQFP100 4.6.3 NuEclipse This subsection 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. (See section 4.6.4 for NuMaker firmware updates.) Double-click “NuEclipse.exe"...
  • Page 35: Figure 4-18 Import Projects Windows

    NuMaker-EVB-KM1M7-HQFP100 Figure 4-18 Import Projects Windows Mar. 29, 2024 Page 35 of 47 Rev 1.04...
  • Page 36: Figure 4-19 Open Project Properties Window

    NuMaker-EVB-KM1M7-HQFP100 Click the “Template” project and find the project properties as shown in Figure 4-19. Make sure the settings are the same as settings in Figure 4-20. Figure 4-19 Open Project Properties Window Figure 4-20 Project Properties Settings Mar. 29, 2024 Page 36 of 47 Rev 1.04...
  • Page 37: Figure 4-21 Build Project

    NuMaker-EVB-KM1M7-HQFP100 Click the “Template” project and build the project. Figure 4-21 Build Project After the project is built, click the “Template” project and set the “Debug Configuration” as shown in Figure 4-22. Follow the settings presented in Figure 4-23, Figure 4-24 and Figure 4-25 to enter debug mode.
  • Page 38: Figure 4-23 Main Tab Configuration

    NuMaker-EVB-KM1M7-HQFP100 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-23 Main Tab Configuration Figure 4-24 Debugger Tab Configuration Mar.
  • Page 39: Figure 4-25 Startup Tab Configuration

    NuMaker-EVB-KM1M7-HQFP100 Note 1: User must follow those settings highlighted in green, and configure other settings depending on the needs. Figure 4-25 Startup Tab Configuration Mar. 29, 2024 Page 39 of 47 Rev 1.04...
  • Page 40: Figure 4-26 Nueclipse Debug Mode

    NuMaker-EVB-KM1M7-HQFP100 Figure 4-26 shows the debug mode under NuEclipse. Click “Resume” and the debug message will be printed out as shown in Figure 4-27. 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 Firmware Update

    NuMaker-EVB-KM1M7-HQFP100 NuMaker Firmware U 4.6.4 pdate This subsection provides steps of NuMaker Firmware Update. NuMaker Firmware Update are performed using ICP. Please make sure the filenames and project folder path contain neither invalid character nor space. Download ICP from the URL below.
  • Page 42: Figure 4-30 Icp Connection Settings

    NuMaker-EVB-KM1M7-HQFP100 Figure 4-30 shows ICP Connection Settings. Click the <Connect> button on the screen in Figure 4-30. Figure 4-30 ICP Connection Settings Figure 4-31 shows NuMaker Firmware Update Flow. When the NuMaker firmware update screen shown in Figure 4-31 is displayed, click the <Yes> button to update the firmware. If it is not displayed, there will be no update.
  • Page 43: Numaker-Evb-Km1M7-Hqfp100 Schematics

    NuMaker-EVB-KM1M7-HQFP100 NUMAKER-EVB-KM1M7-HQFP100 SCHEMATICS Nu-Link2-Me Figure 5-1 shows the Nu-Link2-Me circuit. ICE 3V3 ICE 3V3 ICE LED ICE RP 1 ICE S0 RE D RE D US B-5V 3.3V US B-5V ICE S1 YE LLOW ISP LED GRE EN ICE S2...
  • Page 44: Km1M7Af52N Target Board

    NuMaker-EVB-KM1M7-HQFP100 KM1M7AF52N Target Board Figure 5-2 shows the KM1M7AF52N target board circuit. JP 2 PH2.5X2-26P PH2.5X2-26P UP 1 MCU-V DD5V AP 1117-3V 3/S OT223 UP 2 AP 1117-3V 3/S OT223 MCU-V DD5V MCU-V DD5V PH2.54-4P MCU-V DD5V PH2.54_4P SS 24...
  • Page 45: Pcb Placement

    NuMaker-EVB-KM1M7-HQFP100 PCB Placement Figure 5-3 and Figure 5-4 show the front and rear placement of NuMaker-EVB-KM1M7-HQFP100. Figure 5-3 Front Placement Figure 5-4 Rear Placement Mar. 29, 2024 Page 45 of 47 Rev 1.04...
  • Page 46: Revision History

    NuMaker-EVB-KM1M7-HQFP100 REVISION HISTORY Date Revision Description 2021.12.14 1.00 • Initial version Table 3-2 Corrected the description of JP1 • 2022.01.28 1.01 Figure 5-1, Figure 5-2 Correct the schematic • 2022.03.14 1.02 • Figure 5-1, Figure 5-2 Correct the schematic 2023.12.15 1.03...
  • Page 47: Important Notice

    NuMaker-EVB-KM1M7-HQFP100 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