Table of Contents

Advertisement

NuMaker-M483KG
®
®
ARM
Cortex
-M
32-bit Microcontroller
NuMaker-M483KG
User Manual
®
NuMicro
M483 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
May.
10, 2019
Page 1 of 40
Rev 1.00

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Nuvoton NuMicro M483 Series

  • 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

    Nu-Link2-Me ................... 23 PCB Placement ..................24 Quick Start ..................25 Toolchains Supporting ................25 Nuvoton Nu-Link Driver Installation ..............25 BSP Firmware Download ................27 Hardware Setup ..................27 Find the Example Project ................29 Execute the Project under Toolchains ............. 29 Keil MDK .......................
  • Page 3 NuMaker-M483KG NuMaker-M483KG Schematics ..............35 Nu-Link2-Me ................... 35 M483 platform ..................36 Extension Connector ................. 37 Advance Connector .................. 38 REVISION HISTORY ................39 May. 10, 2019 Page 3 of 40 Rev 1.00...
  • Page 4 NuMaker-M483KG List of Figures Figure 1-1 NuMaker-M483KG Board ....................6 Figure 2-1 Front View of NuMaker-M483KG ................... 8 Figure 2-2 Rear View of NuMaker-M483KG ..................9 Figure 2-3 Arduino UNO Compatible Extension Connectors ............10 Figure 2-4 M483KGCAE2A Extension Connectors ............... 12 Figure 2-5 External Power Supply Sources on Nu-Link2-Me ............
  • Page 5 NuMaker-M483KG List of Tables Table 2-1 Arduino UNO Extension Connectors and M483KGCAE2A Mapping GPIO List ... 11 Table 2-2 Extended Connector JP3 Interface with M483KGCAE2A GPIO ........13 Table 2-3 Extended Connector JP5 Interface with M483KGCAE2A GPIO ........14 Table 2-4 Extended Connector JP4 Interface with M483KGCAE2A GPIO ........15 Table 2-5 Extended Connector JP6 Interface with M483KGCAE2A GPIO ........
  • Page 6: Overview

    NuMaker-M483KG OVERVIEW This user manual is aimed to give users a fast introduction to the use of NuMaker-M483KG board. The NuMaker-M483KG consists of two parts, a M483 platform and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-M483KG allows users to quickly develop and easily program and debug application.
  • Page 7 NuMaker-M483KG  ICE USB connector on Nu-Link2-Me  On-board Nu-Link2-Me debugger and programmer:  Debug through SWD interface  On-line/off-line programming  Virtual COM port function May. 10, 2019 Page 7 of 40 Rev 1.00...
  • Page 8: Numaker-M483Kg Overview

    NuMaker-M483KG NUMAKER-M483KG OVERVIEW Front View Arduino UNO Compatible Extension Connector Input Button Nu-Link2-Me M483 Platform Reset Button External V Connector DDIO External V Connector Ammeter VCOM Switch External V Connector USB FS Connector ICE USB Connector ICE Chip: M48SSIDAE Power LED ICE Status LED Off-line Program Button WiFi Module Connector...
  • Page 9: Rear View

    NuMaker-M483KG Rear View Figure 2-2 shows the main components and connectors from the rear side of NuMaker-M483KG. The following lists components and connectors from the rear view:  SD Card Slot(U9)  Nu-Link2-Me  MCUVCC Power Switch (ICEJPR1)  ICEVCC Power Switch (ICEJPR2) ICEVCC Power Switch MCUVCC Power Switch SD Card Slot...
  • Page 10: Arduino Uno Compatible Extension Connectors

    NuMaker-M483KG Arduino UNO Compatible Extension Connectors Figure 2-3 shows the Arduino UNO compatible extension connectors. MOSI PA.8 PC.13 MISO RESET PA.9 PA.10 nRESET PA.11 UART1_RXD EPWM0_CH3 PB.2 PB.1 EADC0_CH1 I2C1_SCL UART1_TXD EPWM0_CH2 PB.3 PB.0 EADC0_CH0 I2C1_SDA CAN1_RXD EPWM1_CH3 PC.9 PB.9 EADC0_CH9 CAN1_TXD EPWM1_CH2...
  • Page 11: Table 2-1 Arduino Uno Extension Connectors And M483Kgcae2A Mapping Gpio List

    NuMaker-M483KG NuMaker-M483KG NuMaker-M483KG Header Header Compatible to Compatible to GPIO Pin of M483 GPIO Pin of M483 Arduino UNO Arduino UNO NU3.1 PB.2 NU2.6 PB.1 NU3.2 PB.3 NU2.5 PB.0 NU3.3 PC.9 NU2.4 PB.9 NU3.4 PC.10 NU2.3 PB.8 NU3.5 PC.11 NU2.2 PB.7 NU3.6 PC.12...
  • Page 12: Pin Assignment For Extension Connectors

    NuMaker-M483KG Pin Assignment for Extension Connectors The NuMaker-M483KG provides the M483KGCAE2A target chip onboard and full pins extension connectors (JP3, JP4, JP5 and JP6). The Figure 2-4 shows the M483KGCAE2A extension connectors. Pin33 ~ Pin64 Pin1 ~ Pin32 Pin65 ~ Pin96 Pin97 ~ Pin128 Figure 2-4 M483KGCAE2A Extension Connectors May.
  • Page 13: Table 2-2 Extended Connector Jp3 Interface With M483Kgcae2A Gpio

    NuMaker-M483KG M483KGCAE2A M483KGCAE2A Header Header Pin No. Function Pin No Function JP3.1 SD0_DAT3 JP3.2 SD0_DAT2 JP3.3 PB.3 JP3.4 PB.2 JP3.5 PC.12 JP3.6 PC.11 JP3.7 PC.10 JP3.8 PC.9 JP3.9 PB.1 JP3.10 PB.0 JP3.11 JP3.12 3VCC JP3.13 PA.11 JP3.14 PA.10 JP3.15 PA.9 JP3.16 PA.8 JP3.17...
  • Page 14: Table 2-3 Extended Connector Jp5 Interface With M483Kgcae2A Gpio

    NuMaker-M483KG M483KGCAE2A M483KGCAE2A Header Header Pin No. Function Pin No Function JP5.1 LED_R JP5.2 LED_Y JP5.3 LED_G JP5.4 PH.7 JP5.5 XT1_IN JP5.6 XT1_OUT JP5.7 JP5.8 3VCC JP5.9 PE.8 JP5.10 PE.9 JP5.11 PE.10 JP5.12 PE.11 JP5.13 PE.12 JP5.14 PE.13 JP5.15 PC.8 JP5.16 PC.7 JP5.17...
  • Page 15: Table 2-4 Extended Connector Jp4 Interface With M483Kgcae2A Gpio

    NuMaker-M483KG M483KGCAE2A M483KGCAE2A Header Header Pin No. Function Pin No Function JP4.1 ICEDAT JP4.2 ICECLK JP4.3 I2C2_SCL JP4.4 I2C2_SDA JP4.5 PC.5 JP4.6 PC.4 JP4.7 PC.3 JP4.8 PC.2 JP4.9 I2C0_SCL JP4.10 I2C0_SDA JP4.11 JP4.12 3VCC JP4.13 PG.9 JP4.14 PG.10 JP4.15 PG.11 JP4.16 PG.12 JP4.17...
  • Page 16: Table 2-5 Extended Connector Jp6 Interface With M483Kgcae2A Gpio

    NuMaker-M483KG M483KGCAE2A M483KGCAE2A Header Header Pin No. Pin Name Pin No Pin Name JP6.1 SD0_CMD JP6.2 SD0_CLK JP6.3 EPWM0_CH2 JP6.4 EPWM0_CH3 JP6.5 SD0_DAT1 JP6.6 SD0_DAT0 JP6.7 JP6.8 3VCC JP6.9 PE.1 JP6.10 PE.0 JP6.11 PH.8 JP6.12 PH.9 JP6.13 PH.10 JP6.14 PH.11 JP6.15 PD.14 JP6.16...
  • Page 17: System Configuration

    NuMaker-M483KG System Configuration 2.5.1 VIN Power Source Table 2-6 presents the Vin power source. Net Name in Connector Comment Schematic Board external power source, with voltage range from 7 V to 12 V. The voltage regulator UP2 converts the NU1 NU1 pin8 NU1_VIN pin8 input voltage to 5 V and supplies it to NuMaker-...
  • Page 18: Power Sources

    NuMaker-M483KG 2.5.4 1.8V Power Sources Table 2-9 presents the 1.8 V power source. Voltage Regular 5V Source Comment ICEUP2 converts USB_HS_VBUS to 1.8V and supplies ICEUP2 USB_HS_VBUS 1.8V to M483 platform or ICE chip. Table 2-9 1.8V Power Sources 2.5.5 Power Connectors Table 2-10 presents the power connectors.
  • Page 19: Power Supply Models

    NuMaker-M483KG 2.5.8 Power Supply Models 2.5.8.1 External Power Supply through Nu-Link2-Me to Target Chip The external power supply source on Nu-Link2-Me is shown in Figure 2-5. ICE USB Connector (ICEJ3) Nu-Link2-Me Figure 2-5 External Power Supply Sources on Nu-Link2-Me To use ICEJ3 as external power supply source with Nu-Link2-Me, please follow the below steps: 1.
  • Page 20: Figure 2-6 External Power Supply Sources On M483 Platform

    NuMaker-M483KG 2.5.8.2 External Power Supply through M483 platform to Target Chip The external power supply sources on M483 platform are shown in Figure 2-6. External V Connector (JP1) USB Power Connector (J2) NU1 pin8 (Vin) External V Connector (JP2) Figure 2-6 External Power Supply Sources on M483 platform To use Vin or J2 as external power supply source, please follow the below steps: 1.
  • Page 21: Figure 2-7 Separate The Nu-Link2-Me From Numaker-M483Kg

    NuMaker-M483KG External V Connector (JP1) USB Power Connector (J2) " Separate Nu-Link2-Me NU1 pin8 (Vin) External V Connector (JP2) Figure 2-7 Separate the Nu-Link2-Me from NuMaker-M483KG Table 2-14 presents all power models when supplies external power through M483 platform. The M483 platform external power sources are highlighted in yellow.
  • Page 22: External Reference Voltage Connector

    NuMaker-M483KG 2.5.9 External Reference Voltage Connector Table 2-16 presents the external reference voltage connector. Connector Comment Connector for user to easily connect to the external reference voltage pin VREF1 of the target chip. User needs to remove the L5 ferrite bead. Table 2-15 External Reference Voltage Connector 2.5.10 Ammeter Connector Table 2-16 presents the ammeter connector.
  • Page 23: 2.5.12 Push-Buttons

    NuMaker-M483KG 2.5.12 Push-Buttons Table 2-18 presents the push-buttons. Component Comment ICESW1 Off-line program button to start off-line programming the target chip. Reset button to reset the target chip. GPIO input button for PG.15. GPIO input button for PG.14. Table 2-18 Push-Buttons 2.5.13 LEDs Table 2-19 presents the LEDs.
  • Page 24: Pcb Placement

    NuMaker-M483KG PCB Placement Figure 2-9 and Figure 2-10 show the front and rear placement of NuMaker-M483KG. Figure 2-9 Front Placement Figure 2-10 Rear Placement May. 10, 2019 Page 24 of 40 Rev 1.00...
  • Page 25: Quick Start

    KEIL MDK Nuvoton edition M0/M23  IAR EWARM  NuEclipse (GCC)(Windows)  NuEclipse (GCC)(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 3-2 Nu-Link Usb Driver Installation

    NuMaker-M483KG Figure 3-2 Nu-Link USB Driver Installation May. 10, 2019 Page 26 of 40 Rev 1.00...
  • Page 27: Bsp Firmware Download

    2. Connect the ICE USB connector shown in Figure 3-4 to the PC USB port through USB cable. Figure 3-4 ICE USB Connector 3. Find the “Nuvoton Virtual COM Port” on the Device Manger as Figure 3-5. May. 10, 2019 Page 27 of 40 Rev 1.00...
  • Page 28: Figure 3-5 Device Manger

    NuMaker-M483KG Figure 3-5 Device Manger 4. Open a serial port terminal, PuTTY for example, to print out debug message. Set the speed to 115200. Figure 3-6 presents the PuTTY session setting. Figure 3-6 PuTTY Session Setting May. 10, 2019 Page 28 of 40 Rev 1.00...
  • Page 29: Find The Example Project

    NuMaker-M483KG Find the Example Project Use the “Template” project as an example. The project can be found under the BSP folder as shown in Figure 3-7.  M480_Series_BSP_CMSIS_V3.XX.XXX  SampleCode  Template   Keil  Figure 3-7 Template Project Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain.
  • Page 30: Figure 3-9 Project File Migrate To Version 5 Format

    Figure 3-9 Project File Migrate to Version 5 Format 2. Make sure the debugger is “Nuvoton Nu-Link Debugger” as shown in Figure 3-10 and Figure 3-11. Note: If the dropdown menu in Figure 3-10 does not contain “Nuvoton Nu-Link Debugger” item, please rework section 3.2.
  • Page 31: Figure 3-11 Programming Setting In Options Window

    NuMaker-M483KG Figure 3-11 Programming Setting in Options Window 3. Rebuild all target files. After successfully compile the project, download code to the flash memory. Click “Start/Stop Debug Section” button can enter debug mode. 1. Rebuild 2. Successfully compile 3. Download 4.
  • Page 32: Figure 3-13 Keil Mdk Debug Mode

    NuMaker-M483KG source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc. 3 1 2 1. Run 2. Stop 3. Reset Figure 3-13 Keil MDK Debug Mode Figure 3-14 Debug Message on Serial Port Terminal Windows May. 10, 2019 Page 32 of 40 Rev 1.00...
  • Page 33: Iar Ewarm

    NuMaker-M483KG 3.6.2 IAR EWARM This section provides steps to beginners on how to run a project by using IAR EWARM. 1. Double click the “Template.eww” to open the project. 2. Make sure the toolbar contain “Nu-Link” item as shown in Figure 3-15. Note: If the toolbar does not contain “Nu-Link”...
  • Page 34: Nueclipse

    NuMaker-M483KG 4. Figure 3-17 shows the debug mode under IAR EWARN. Click “Go” and the debug message will be printed out as shown in Figure 3-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: Figure 4-1 Nu-Link2-Me Circuit

    NuMaker-M483KG NUMAKER-M483KG SCHEMATICS Nu-Link2-Me Figure 4-1 shows the Nu-Link2-Me circuit. The Nu-Link2-Me is a debugger and programmer that supports on-line programming and debugging through SWD interface. 3.3V ICER1 Off-page Connector 200 1% USB_HS_CAP R0603 ICE5V ICEC1 ICEC2 ICE5V 0.1u MCUVCC_DIODE C0603 C0603 MCUVCC_DIODE...
  • Page 36: Figure 4-2 M483 Platform Circuit

    NuMaker-M483KG M483 platform Figure 4-2 shows the M483 platform circuit. P1 - P32 P65 - P96 PB.5 SD0_DAT3 PF.0 ICE_DAT SD0_DAT3 TICEDAT PB.4 SD0_DAT2 PF.1 ICE_CLK SD0_DAT2 TICECLK PB.3 UART1_TX PD.9 I2C2_SCL I2C2_SCL PB.2 UART1_RX PD.8 I2C2_SDA I2C2_SDA PC.12 EPWM1_CH0 PC.5 PC.11 EPWM1_CH1...
  • Page 37: Figure 4-3 Extension Connectors Circuit

    NuMaker-M483KG Extension Connector Figure 4-3 shows extension connectors of NuMaker-M483KG. P1 - P32 P65 - P96 NU4_SCL I2C_SCL NU4_SDA I2C_SDA SD0_DAT3 SD0_DAT2 TICEDAT TICECLK VREF VREF I2C2_SCL I2C2_SDA MCUVCC_DIODE TICERST MCU_RESET NU1_3VCC 3VCC NU4_SCL NU4_SDA NU1_5VCC 5VCC VDD_MCU VDD_MCU NU5_SS NU5_CLK CCAP_PIXCLK CCAP_SCLK...
  • Page 38: Figure 4-4 Advance Connectors Circuit

    NuMaker-M483KG Advance Connector Figure 4-3 shows advance connectors of NuMaker-M483KG. USB_VBUS PA.12 USB_VBUS USB_VBUS NU1_5VCC PA.13 USB_D- USB_D- VBUS PA.14 USB_D+ USB_D+ USB_D- PA.15 USB_ID USB_ID USB_EN PC.14 USB_ST USB_ST Shield EN/EN# 10uF/10V(0805) USB_D+ PB.15 USB_EN USB_EN Shield NU1_5VCC 0.1u 1uF/16V C0805 NU1_5VCC...
  • Page 39: Revision History

    NuMaker-M483KG REVISION HISTORY Date Revision Description 2019.05.10 1.00 Initially issued. May. 10, 2019 Page 39 of 40 Rev 1.00...
  • Page 40 NuMaker-M483KG 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”.

This manual is also suitable for:

Numicro numaker-m483kg

Table of Contents