Table of Contents

Advertisement

Quick Links

NuMaker-EVB-KM1M7C0-TQFP64
NuMicro
Family
®
Based on Arm
Cortex
-M7
®
®
NuMaker-EVB-KM1M7C0-TQFP64
User Manual
NuMicro
KM1M7CF0 Series
®
The information described in this document is the exclusive intellectual property of
Nuvoton Technology Corporation Japan (NTCJ) and shall not be reproduced without permission from Nuvoton.
Nuvoton is providing document only for reference purposes of
NTCJ 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 question, please contact Nuvoton Technology Corporation Japan.
www.nuvoton.co.jp
Page 1 of 44
Mar 29, 2024
Rev 1.00

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NuMicro KM1M7CF0 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Nuvoton NuMicro KM1M7CF0 Series

  • Page 1 ® The information described in this document is the exclusive intellectual property of Nuvoton Technology Corporation Japan (NTCJ) and shall not be reproduced without permission from Nuvoton. Nuvoton is providing document only for reference purposes of NTCJ Microcontroller based system design.
  • Page 2: Table Of Contents

    3.8.2 Status LEDs ......................21 4 QUICK START ....................22 4.1 Toolchains Supporting ....................22 4.2 Nuvoton Nu-Link Driver Installation ................22 4.3 BSP Firmware Download ................... 24 4.4 Hardware Setup ......................24 4.5 Find the Example Project ................... 26 4.6 Execute the Project under Toolchains ..............
  • Page 3 NuMaker-EVB-KM1M7C0-TQFP64 List of Figures Figure 1-1 NuMaker-EVB-KM1M7C0-TQFP64 Evaluation Board ..........5 Figure 3-1 Front View of NuMaker-EVB-KM1M7C0-TQFP64 ............7 Figure 3-2 Rear View of NuMaker-EVB-KM1M7C0-TQFP64 ............8 Figure 3-3 KM1M7CF04K Extension Connectors ................9 Figure 3-4 Arduino UNO Compatible Extension Connectors ............12 Figure 3-5 External Power Supply Sources on Nu-Link2-Me ............
  • Page 4 NuMaker-EVB-KM1M7C0-TQFP64 List of Tables Table 3-1 Extension Connectors ......................9 Table 3-2 KM1M7CF04K Full-pin Extension Connectors and GPIO Function List ....11 Table 3-3 Arduino UNO Extension Connectors and KM1M7CF04K Mapping GPIO List ..13 Table 3-4 Vin Power Source ......................14 Table 3-5 5 V Power Sources ......................
  • Page 5: Overview

    NuMaker-EVB-KM1M7C0-TQFP64 OVERVIEW The NuMaker-EVB-KM1M7C0-TQFP64 is an evaluation board for Nuvoton KM1M7CF04K microcontroller. The NuMaker-EVB-KM1M7C0-TQFP64 consists of two parts: a KM1M7CF04K target board and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-EVB-KM1M7C0-TQFP64 is designed for project evaluation, prototype development. The KM1M7CF04K target board is based on KM1M7CF04K. For the development flexibility, the KM1M7CF04K target board provides the extension connectors of KM1M7CF04K, the Arduino UNO compatible headers.
  • Page 6: Features

    NuMaker-EVB-KM1M7C0-TQFP64 FEATURES KM1M7CF04K microcontroller with function compatible with:  KM1M7CF04K – KM1M7CF04N – KM1M7CF04K extension connectors  Arduino UNO compatible extension connectors  Flexible board power supply:  External V power connector – Arduino UNO compatible extension connector Vin – ICE USB connector on Nu-Link2-Me –...
  • Page 7: Hardware Configuration

    NuMaker-EVB-KM1M7C0-TQFP64 HARDWARE CONFIGURATION Front View Figure 3-1 Front View of NuMaker-EVB-KM1M7C0-TQFP64 Figure 3-1 shows the main components and connectors from the front side of NuMaker-EVB-KM1M7C0- TQFP64. The following lists components and connectors from the front view: Target chip: KM1M7CF04K (U1) ...
  • Page 8: Rear View

    NuMaker-EVB-KM1M7C0-TQFP64 Rear View Figure 3-2 Rear View of NuMaker-EVB-KM1M7C0-TQFP64 Figure 3-2 shows the main components and connectors from the rear side of NuMaker-EVB-KM1M7C0- TQFP64. The following lists components and connectors from the rear view: Nu-Link2-Me  MCUVCC Power Switch (R6, R7) –...
  • Page 9: Extension Connectors

    NuMaker-EVB-KM1M7C0-TQFP64 Extension Connectors Table 3-1 presents the extension connectors. Connector Description JP1, JP2, JP3 and JP4 Full pins extension connectors on the NuMaker-EVB-KM1M7C0-TQFP64. NU1, NU2, NU3 and NU4 Arduino UNO compatible pins on the NuMaker-EVB-KM1M7C0-TQFP64. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-EVB-KM1M7C0-TQFP64 provides the KM1M7CF04K onboard and extension connectors (JP1, JP2, JP3 and JP4).
  • Page 10 NuMaker-EVB-KM1M7C0-TQFP64 KM1M7CF04K Header Pin No. Function JP1.1 P02/GPWM30/TM03A P03/GPWM31/TM03B JP1.2 P04/GPWM40/TM04A JP1.3 P05/GPWM41/TM04B JP1.4 P06/GPWM50/TM05A JP1.5 P07/GPWM51/TM05B JP1.6 JP1.7 P10/DAOUT0/FPSB08 JP1.8 P11/DAOUT1/FPSB09 JP1.9 JP1.10 VDD33 JP1.11 P12/TM06A/FPSB10 JP1.12 P13/TM06B/FPSB11 JP1.13 P20/ADIN00/CMP00 JP1.14 P21/ADIN01/CMP01 JP1.15 P22/ADIN02/CMPREF0 JP1.16 P23/ADIN03/CMP10 P26/ADIN04/CMP11 JP2.1 P27/ADIN05/CMPREF1 JP2.2 AVDD JP2.3...
  • Page 11: Table 3-2 Km1M7Cf04K Full-Pin Extension Connectors And Gpio Function List

    NuMaker-EVB-KM1M7C0-TQFP64 KM1M7CF04K Header Pin No. Function JP4.2 JP4.3 P75/TM11A/FPSB05 JP4.4 P76/TM11B/FPSB06 JP4.5 JP4.6 JP4.7 JP4.8 VDD33 JP4.9 P77/FPSB07 JP4.10 P80/GPWM00/TM00A JP4.11 P81/GPWM01/TM00B JP4.12 P82/GPWM10/TM01A JP4.13 P83/GPWM11/TM01B JP4.14 P84/GPWM20/TM02A JP4.15 P85/GPWM21/TM02B JP4.16 Table 3-2 KM1M7CF04K Full-pin Extension Connectors and GPIO Function List Page 11 of 44 Mar 29, 2024 Rev 1.00...
  • Page 12: Arduino Uno Compatible Extension Connectors

    NuMaker-EVB-KM1M7C0-TQFP64 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 Page 12 of 44 Mar 29, 2024 Rev 1.00...
  • Page 13: Table 3-3 Arduino Uno Extension Connectors And Km1M7Cf04K Mapping Gpio List

    NuMaker-EVB-KM1M7C0-TQFP64 NuMaker-EVB-KM1M7C0-TQFP64 NuMaker-EVB-KM1M7C0-TQFP64 Header Header Compatible to GPIO Pin Compatible to GPIO Pin Arduino UNO of KM1M7CF04K Arduino UNO of KM1M7CF04K 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 NU4.3 NU1.4...
  • Page 14: Power Supply Configuration

    NuMaker-EVB-KM1M7C0-TQFP64 Power Supply Configuration The NuMaker-EVB-KM1M7C0-TQFP64 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-KM1M7C0-TQFP64.
  • Page 15: Usb Connectors

    NuMaker-EVB-KM1M7C0-TQFP64 3.4.4 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.5 Power Switches Table 3-9 presents the power switches. Switch Description Configures the target chip operating voltage at 5 V / 3.3 V.
  • Page 16: Power Supply Models

    NuMaker-EVB-KM1M7C0-TQFP64 3.4.6 Power Supply Models External Power Supply through Nu-Link2-Me to Target Chip The external power supply source on Nu-Link2-Me is shown in Figure 3-5. Figure 3-5 External Power Supply Sources on Nu-Link2-Me To use ICEJ3 as external power supply source with Nu-Link2-Me, please follow the steps below: 1.
  • Page 17: Figure 3-6 External Power Supply Sources On Km1M7Cf04K Target Board

    NuMaker-EVB-KM1M7C0-TQFP64 External Power Supply through KM1M7CF04K target board to Target Chip The external power supply sources on KM1M7CF04K target board are shown in Figure 3-6. Figure 3-6 External Power Supply Sources on KM1M7CF04K Target Board To use Vin as external power supply source, please follow the steps below: Solder the resistor on R8.
  • Page 18: Figure 3-7 Detach The Nu-Link2-Me From Numaker-Evb-Km1M7C0-Tqfp64

    NuMaker-EVB-KM1M7C0-TQFP64 Figure 3-7 Detach the Nu-Link2-Me from NuMaker-EVB-KM1M7C0-TQFP64 Table 3-11 presents all power models when supplies external power through KM1M7CF04K target board. The KM1M7CF04K target board external power sources are highlighted in yellow. R6 or R7(MCU_5V) Target Chip ICE Chip Model ICEJ3 [4][5]...
  • Page 19: Push Buttons

    NuMaker-EVB-KM1M7C0-TQFP64 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 LEDs Table 3-13 presents the LEDs. Component Description The power LED indicates that the NuMaker-EVB-KM1M7C0-TQFP64 is Power LED...
  • Page 20: Nu-Link2-Me

    NuMaker-EVB-KM1M7C0-TQFP64 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 21: Status Leds

    NuMaker-EVB-KM1M7C0-TQFP64 3.8.2 Status LEDs Table 3-13 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 22: 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 23: Figure 4-2 Nu-Link Usb Driver Installation

    NuMaker-EVB-KM1M7C0-TQFP64 Figure 4-2 Nu-Link USB Driver Installation Page 23 of 44 Mar 29, 2024 Rev 1.00...
  • Page 24: Bsp Firmware Download

    NuMaker-EVB-KM1M7C0-TQFP64 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 25: Figure 4-5 Device Manger

    NuMaker-EVB-KM1M7C0-TQFP64 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 26: Find The Example Project

    This section 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 27: Figure 4-9 Programming Setting In Options Window

    NuMaker-EVB-KM1M7C0-TQFP64 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 28: Figure 4-11 Keil Mdk Debug Mode

    NuMaker-EVB-KM1M7C0-TQFP64 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 Page 28 of 44 Mar 29, 2024 Rev 1.00...
  • Page 29: Iar Ewarm

    NuMaker-EVB-KM1M7C0-TQFP64 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-13. Note: If the toolbar does not contain “Nu-Link”...
  • Page 30: Figure 4-15 Iar Ewarm Debug Mode

    NuMaker-EVB-KM1M7C0-TQFP64 Figure 4-15 IAR EWARM Debug Mode Figure 4-16 Debug Message on Serial Port Terminal Windows Page 30 of 44 Mar 29, 2024 Rev 1.00...
  • Page 31: Nueclipse

    NuMaker-EVB-KM1M7C0-TQFP64 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. (See section 4.6.4 for NuMaker firmware updates.) Double-click “NuEclipse.exe"...
  • Page 32: Figure 4-18 Import Projects Windows

    NuMaker-EVB-KM1M7C0-TQFP64 ※ ※ Figure 4-18 Import Projects Windows Page 32 of 44 Mar 29, 2024 Rev 1.00...
  • Page 33: Figure 4-19 Open Project Properties Window

    NuMaker-EVB-KM1M7C0-TQFP64 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 Page 33 of 44 Mar 29, 2024 Rev 1.00...
  • Page 34: Figure 4-21 Build Project

    NuMaker-EVB-KM1M7C0-TQFP64 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 35: Figure 4-23 Main Tab Configuration

    NuMaker-EVB-KM1M7C0-TQFP64 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...
  • Page 36: Figure 4-25 Startup Tab Configuration

    NuMaker-EVB-KM1M7C0-TQFP64 Note 1: User must follow those settings highlighted in green, and configure other settings depending on the needs. Figure 4-25 Startup Tab Configuration Page 36 of 44 Mar 29, 2024 Rev 1.00...
  • Page 37: Figure 4-26 Nueclipse Debug Mode

    NuMaker-EVB-KM1M7C0-TQFP64 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 38: Numaker Firmware Update

    ICP. Please make sure the filenames and project folder path contain neither invalid character nor space. Download ICP from the URL below. https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1720200221181328 Figure 4-28 shows the final screen of ICP installation. Installing ICP Check “Install Nu-Link USB Driver @.@@(Optional)” in the last Figure 4-28 and check the <Finish> button.
  • Page 39 NuMaker-EVB-KM1M7C0-TQFP64 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 40: Numaker-Evb-Km1M7C0-Tqfp64 Schematics

    NuMaker-EVB-KM1M7C0-TQFP64 NUMAKER-EVB-KM1M7C0-TQFP64 SCHEMATICS Nu-Link2-Me Figure 5-1 shows the Nu-Link2-Me circuit. ICE3V3 ICE3V3 ICERP1 ICES0 ICELED USB-5V ISPLED GREEN 3.3V USB-5V ICES1 Y ELLOW ICES2 ICES3 GREEN VBUS ICEU1 ICER6 ICER7 3.3V USB-5V ICEU5 NC/2.5mmX4P-DIP SN74LV2T45DCUR VCCA VCCB ICER11 ICER12 ICEJ3 PB_6 HSUSB_ID ICEC2...
  • Page 41: Km1M7Cf04K Target Board

    NuMaker-EVB-KM1M7C0-TQFP64 KM1M7CF04K Target Board Figure 5-2 shows the KM1M7CF04K target board circuit. VDD33 VDD33 VDD33 VDD33 NC/PH2.54_4P NC/PH2.54-4P MCU_DATA MCU_CLK P63# TRCSWO LED2 GREEN MCU_RST 0.1uF TRCCLK LED1 TRCD0 TRCD1 TRCD2 PH2.5_8P TRCD3 VDD33 0.1uF 0.1uF PH2.5_10P PH1.27X 2-20P VDD33 NRST MCU_RST RESET...
  • Page 42: Pcb Placement

    NuMaker-EVB-KM1M7C0-TQFP64 PCB Placement Figure 5-3 and Figure 5-4 show the front and rear placement of NuMaker-EVB-KM1M7C0-TQFP64. Figure 5-3 Front Placement Figure 5-4 Rear Placement Page 42 of 44 Mar 29, 2024 Rev 1.00...
  • Page 43: Revision History

    NuMaker-EVB-KM1M7C0-TQFP64 REVISION HISTORY Date Revision Description 2022.10.31 0.90 - Initial version - Corrected description in 3.4.7 Power Supply Model. 2022.2.22 0.91 - Add 3.7 Debug Connector - Add 3.8.1 MSG - Corrected description in 3.4.6.2 3.4.6.2 External Power Supply through KM1M7CF04K target board to Target Chip. 2022.3.10 0.92 - Corresponds to V1.1 board image...
  • Page 44: Important Notice

    All Insecure Usage shall be made at customer’s risk, and in the event that third parties lay claims to Nuvoton as a result of customer’s Insecure Usage, customer shall indemnify the damages and liabilities thus incurred by Nuvoton.

This manual is also suitable for:

Numaker-evb-km1m7c0-tqfp64

Table of Contents