Table of Contents

Advertisement

Quick Links

NuMaker-IoT-M263A
®
®
Arm
Cortex
-M
32-bit Microcontroller
NuMaker-IoT-M263A
User Manual
®
NuMicro
M261/M262/M263 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
Aug
06, 2019
Page 1 of 50
Rev 1.00

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Nuvoton NuMicro M261 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

    LEDs ......................25 2.5.18 Nu-Link2-Me ................... 26 PCB Placement ..................27 Quick Start ..................28 Toolchains Support ................... 28 Nuvoton Nu-Link Driver Installation ..............28 BSP Firmware Download ................30 Hardware Setup ..................30 06, 2019 Page 2 of 50 Rev 1.00...
  • Page 3 NuMaker-IoT-M263A Find the Example Project ................32 Execute the Project under Toolchains ............. 32 Keil MDK ....................... 32 3.6.1 IAR EWARM ....................36 3.6.2 NuEclipse ...................... 37 3.6.3 NuMaker-IoT-M263A Schematics ............. 38 Nu-Link2-Me ................... 38 M263 Platform ..................39 Extension Connector ................. 40 Mini PCIe Connector .................
  • Page 4 NuMaker-IoT-M263A List of Figures Figure 1-1 NuMaker-IoT-M263A Board ................... 7 Figure 2-1 Front View of NuMaker-IoT-M263A ................9 Figure 2-2 Rear View of NuMaker-IoT-M263A ................11 Figure 2-3 Arduino UNO Compatible Extension Connectors ............12 Figure 2-4 External Power Supply Sources on Nu-Link2-Me ............19 Figure 2-5 External Power Supply Sources on M263 Platform .............
  • Page 5 NuMaker-IoT-M263A Figure 4-7 On-board LoRa Module Circuit ..................44 Figure 4-8 On-board Sensors Circuit ..................... 45 Figure 4-9 CAN and RS485 Connector Circuit ................46 Figure 4-10 MicroSD Card Connector Circuit ................47 Figure 4-11 On-board Modules and Mini PCIe Connector Power Circuit ........48 06, 2019 Page 5 of 50 Rev 1.00...
  • Page 6 NuMaker-IoT-M263A List of Tables Table 2-1 Arduino UNO Extension Connectors and M263KIAAE Mapping GPIO List ....13 Table 2-2 On-board Modules, Sensors, Connectors and M263KIAAE GPIO Function List ..15 Table 2-3 VIN Power Source ......................16 Table 2-4 5V Power Sources ......................16 Table 2-5 3.3 V Power Sources .....................
  • Page 7: Overview

    NuMaker-IoT-M263A OVERVIEW This user manual is aimed to give users a fast introduction to the use of NuMaker-IoT-M263A board. The NuMaker-IoT-M263A consists of two parts, a M263 platform with on-board modules, and an on- board Nu-Link2-Me debugger and programmer. The NuMaker-IoT-M263A allows users to quickly develop IoT (Internet of Thing) application and easily program and debug application.
  • Page 8: Numaker-Iot-M263A Features

    NuMaker-IoT-M263A NuMaker-IoT-M263A Features ®  NuMicro M263KIAAE used as main microcontroller with functions downward compatible with:  M261ZIAAE  M261SIAAE  M261KIAAE  M262ZIAAE  M262SIAAE  M262KIAAE  M263ZIAAE  M263SIAAE  M263KIAAE  On-board modules:  Wi-Fi module: ESP12-F ...
  • Page 9: Numaker-Iot-M263A Overview

    NuMaker-IoT-M263A NUMAKER-IOT-M263A OVERVIEW Front View Bluetooth Module: MDBT42Q-PAT Bluetooth Module Power Switch Bluetooth LEDs LoRa Module Power Switch Wi-Fi Module Power Switch LoRa Antenna Mini PCIe Connector Power Switch Mini PCIe UART Power Switch LoRa Power LED Switch External 5V Power Connector LoRa Module: APC1278 External GND Power Connector Wi-Fi Module: ESP-12F...
  • Page 10 NuMaker-IoT-M263A  Power Switch (SW6)  UART Power Switch (SW3)  Reset Button (SW4)  PG15, PD7 and PD6 LED (MPCIE_LED1, MPCIE_LED2 and MPCIE_LED3)  Indicator LED (MPCIE_LED4)  CAN Connector (CAN0 and JP7)  RS485 Connector (RS485 and JP8) ...
  • Page 11: Rear View

    NuMaker-IoT-M263A Rear View ICEVCC Power Switch MCUVCC Power Switch RS485 Transceiver CAN Transceiver MicroSD Card Connector SIM Card Connector Figure 2-2 Rear View of NuMaker-IoT-M263A Figure 2-2 shows the main components and connectors from the rear side of NuMaker-IoT-M263A. The following lists components and connectors from the rear view: ...
  • Page 12: Arduino Uno Compatible Extension Connectors

    NuMaker-IoT-M263A Arduino UNO Compatible Extension Connectors Figure 2-3 shows the Arduino UNO compatible extension connectors. MOSI PA.10 PB.11 USCI0_DAT0 MISO RESET PA.9 PA.11 nRESET PC.13 USCI0_DAT1 USCI0_CLK USCI0_CTL0 PB.1 ADC0_CH1 I2C1_SCL UART2_TXD EPWM0_CH3 PB.2 UART1_RXD PB.0 ADC0_CH0 I2C1_SDA UART2_RXD UART1_TXD EPWM0_CH2 PB.3 PB.4...
  • Page 13: Table 2-1 Arduino Uno Extension Connectors And M263Kiaae Mapping Gpio List

    NuMaker-IoT-M263A NuMaker-IoT-M263A NuMaker-IoT-M263A Header Header Compatible to GPIO Pin of Compatible to GPIO Pin of Arduino UNO M263KIAAE Arduino UNO M263KIAAE 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 14: Pin Assignment For On-Board Modules, Sensors And Connectors

    NuMaker-IoT-M263A Pin Assignment for On-board Modules, Sensors and Connectors The NuMaker-IoT-M263A provides several on-board modules, sensors and connectors. Table 2-2 shows the mapping GPIO list. NuMaker-IoT-M263A On-board Module/Sensor/Connector Function of GPIO Pin GPIO Pin of M263KIAAE UART_TX UART4_RXD PC.6 UART_RX UART4_TXD PC.7 Wi-Fi...
  • Page 15: Table 2-2 On-Board Modules, Sensors, Connectors And M263Kiaae Gpio Function List

    NuMaker-IoT-M263A NuMaker-IoT-M263A On-board Module/Sensor/Connector Function of GPIO Pin GPIO Pin of M263KIAAE UART_CTS UART2_nRTS PD.8 UART_DTR GPIO PG.13 UART_DCD GPIO PG.14 WAKE# GPIO PG.9 UART_RI GPIO PG.10 W_DISABLE GPIO PG.11 PERST# GPIO PG.12 mPCIe_LED1 GPIO PG.15 mPCIe_LED2 GPIO PD.7 mPCIe_LED3 GPIO PD.6 CAN_D...
  • Page 16: System Configuration

    NuMaker-IoT-M263A System Configuration 2.5.1 VIN Power Source Table 2-3 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 17: Power Sources

    NuMaker-IoT-M263A Note: SW2.2 (NU1 3VCC) should be switched to ON. UP1 converts NU1_5VCC to 3.3 V and supplies 3.3 V to M263 platform. NU1_5VCC Note: SW2.2 (NU1 3VCC) should be switched to ON. Table 2-5 3.3 V Power Sources 2.5.4 1.8V Power Sources Table 2-6 presents the 1.8 V power source.
  • Page 18: Can Connectors

    NuMaker-IoT-M263A 2.5.7 CAN Connectors Table 2-9 presents the CAN connectors. Connector Comment CAN0 and JP7 CAN connector on NuMaker-IoT-M263A for CAN function. Table 2-9 CAN Connectors 2.5.8 RS485 Connectors Table 2-10 presents the CAN connectors. Connector Comment RS485 and JP8 RS485 connector on NuMaker-IoT-M263A for RS485 function.
  • Page 19: 2.5.10 Target Chip Power Supply Models

    NuMaker-IoT-M263A 2.5.10 Target Chip Power Supply Models 2.5.10.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-4. ICE USB Connector (ICEJ3) Nu-Link2-Me Figure 2-4 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 20: Figure 2-5 External Power Supply Sources On M263 Platform

    NuMaker-IoT-M263A 2.5.10.2 External Power Supply through M263 Platform to Target Chip The external power supply sources on the M263 Platform are shown in Figure 2-5. External V Connector (JP1) USB Power Connector (J2) External V Connector (JP2) NU1 pin8 (VIN) Figure 2-5 External Power Supply Sources on M263 Platform To use VIN or J2 as external power supply source, please follow the steps below: 1.
  • Page 21: Figure 2-6 Separate The Nu-Link2-Me From Numaker-Iot-M263A

    NuMaker-IoT-M263A 1. Switch the SW2 to OFF. 2. Separate the Nu-Link2-Me from NuMaker-IoT-M263A. 3. Connect the external power supply to JP1. External V Connector (JP1) USB Power Connector (J2) External V Connector (JP2) " Separate Nu-Link2-Me NU1 pin8 (VIN) Figure 2-6 Separate the Nu-Link2-Me from NuMaker-IoT-M263A Table 2-13 presents all power models when supplying external power through the M263 platform.
  • Page 22: 2.5.11 On-Board Module Power Supply Models

    NuMaker-IoT-M263A 2.5.11 On-board Module Power Supply Models The external power supply sources on NuMaker-IoT-M263A to on-board modules are shown in Figure 2-7. External 5V Power Connector (JP9) External GND Power Connector (JP10) External Power Jack (CON3) USB Power Connector (J2) ICE USB Connector (ICEJ3) Nu-Link2-Me NU1 pin8 (VIN)
  • Page 23: 2.5.12 Mini Pcie Connector Power Supply Models

    NuMaker-IoT-M263A 2.5.12 Mini PCIe Connector Power Supply Models The external power supply sources on NuMaker-IoT-M263A to mini PCIe connector are shown in Figure 2-8. External 5V Power Connector (JP9) External GND Power Connector (JP10) External Power Jack (CON3) NU1 pin8 (VIN) Figure 2-8 External Power Supply Sources on NuMaker-IoT-M263A for Mini PCIe Connector Table 2-15 presents all power models when supplying external power through NuMaker-IoT-M263A.
  • Page 24: 2.5.13 External Reference Voltage Connector

    NuMaker-IoT-M263A 2.5.13 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-16 External Reference Voltage Connector 2.5.14 Ammeter Connector Table 2-17 presents the ammeter connector.
  • Page 25: 2.5.16 Extension Connectors

    NuMaker-IoT-M263A 2.5.16 Extension Connectors Table 2-19 presents the extension connectors. Connector Comment NU1, NU2, NU3 and NU4 Arduino UNO compatible pins on the NuMaker-IoT-M263A. Table 2-19 Extension Connectors 2.5.17 Push-Buttons Table 2-20 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.
  • Page 26: Nu-Link2-Me

    NuMaker-IoT-M263A Nu-Link2-Me The Nu-Link2-Me is a debugger and programmer that supports on-line programming and debugging through SWD interface. The on-board 16 Mbit SPI Flash allows it to off-line program the target microcontroller. Additionally, the Nu-Link2-Me provides virtual COM port (VCOM) function to print out messages on PC.
  • Page 27: Pcb Placement

    NuMaker-IoT-M263A PCB Placement Figure 2-10 and Figure 2-11 show the front and rear placement of NuMaker-IoT-M263A. Figure 2-10 Front Placement Figure 2-11 Rear Placement 06, 2019 Page 27 of 50 Rev 1.00...
  • Page 28: 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 29: Figure 3-2 Nu-Link Usb Driver Installation

    NuMaker-IoT-M263A Figure 3-2 Nu-Link USB Driver Installation 06, 2019 Page 29 of 50 Rev 1.00...
  • Page 30: 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. 06, 2019 Page 30 of 50...
  • Page 31: Figure 3-5 Device Manger

    NuMaker-IoT-M263A 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 06, 2019 Page 31 of 50 Rev 1.00...
  • Page 32: Find The Example Project

    NuMaker-IoT-M263A 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.  M261_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 33: 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 34: Figure 3-11 Programming Setting In Options Window

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

    NuMaker-IoT-M263A 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 06, 2019 Page 35 of 50 Rev 1.00...
  • Page 36: Iar Ewarm

    NuMaker-IoT-M263A 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 37: Nueclipse

    NuMaker-IoT-M263A 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 38: Numaker-Iot-M263A Schematics

    NuMaker-IoT-M263A NUMAKER-IOT-M263A 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 O f f - page C onnect or 200 1% USB_HS_CAP R0603 ICE5V ICEC1 ICEC2...
  • Page 39: M263 Platform

    NuMaker-IoT-M263A M263 Platform Figure 4-2 shows the M263 platform circuit. P1 - P32 P65 - P96 O f f - page C onnect or PF0_ICE_DAT NU1_3VCC PB5_NU2_A2 TICEDAT PF1_ICE_CLK PB4_NU2_A3 TICECLK NU1_3VCC UART2_nCTS PB3_NU3_D1/TX UART2_nRTS NU1_5VCC PB2_NU3_D0/RX PC12 PC5_NU3_D3 NU1_5VCC PC11 PC4_NU3_D2 PC10...
  • Page 40: Extension Connector

    NuMaker-IoT-M263A Extension Connector Figure 4-3 shows extension connectors of NuMaker-IoT-M263A. Figure 4-3 Extension Connectors Circuit 06, 2019 Page 40 of 50 Rev 1.00...
  • Page 41: Mini Pcie Connector

    NuMaker-IoT-M263A Mini PCIe Connector Figure 4-4 shows mini PCIe connector of NuMaker-IoT-M263A. Figure 4-4 Mini PCIe Connector Circuit 06, 2019 Page 41 of 50 Rev 1.00...
  • Page 42: On-Board Bluetooth Module

    NuMaker-IoT-M263A On-board Bluetooth Module Figure 4-5 shows on-board Bluetooth module of NuMaker-IoT-M263A. Figure 4-5 On-board Bluetooth Module Circuit 06, 2019 Page 42 of 50 Rev 1.00...
  • Page 43: On-Board Wi-Fi Module

    NuMaker-IoT-M263A On-board Wi-Fi Module Figure 4-6 shows on-board Wi-Fi module of NuMaker-IoT-M263A. Figure 4-6 On-board Wi-Fi Module Circuit 06, 2019 Page 43 of 50 Rev 1.00...
  • Page 44: On-Board Lora Module

    NuMaker-IoT-M263A On-board LoRa Module Figure 4-7 shows on-board LoRa module of NuMaker-IoT-M263A. Figure 4-7 On-board LoRa Module Circuit 06, 2019 Page 44 of 50 Rev 1.00...
  • Page 45: On-Board Sensors

    NuMaker-IoT-M263A On-board Sensors Figure 4-8 shows on-board sensors of NuMaker-IoT-M263A. Figure 4-8 On-board Sensors Circuit 06, 2019 Page 45 of 50 Rev 1.00...
  • Page 46: Can And Rs485 Connector

    NuMaker-IoT-M263A CAN and RS485 Connector Figure 4-9 shows CAN and RS485 connector of NuMaker-IoT-M263A. Figure 4-9 CAN and RS485 Connector Circuit 06, 2019 Page 46 of 50 Rev 1.00...
  • Page 47: Microsd Card Connector

    NuMaker-IoT-M263A 4.10 MicroSD Card Connector Figure 4-10 shows microSD card connector of NuMaker-IoT-M263A. Figure 4-10 MicroSD Card Connector Circuit 06, 2019 Page 47 of 50 Rev 1.00...
  • Page 48: On-Board Modules And Mini Pcie Connector Power

    NuMaker-IoT-M263A 4.11 On-board Modules and Mini PCIe Connector Power Figure 4-11 shows on-board modules and mini PCIe connector power of NuMaker-IoT-M263A. Figure 4-11 On-board Modules and Mini PCIe Connector Power Circuit 06, 2019 Page 48 of 50 Rev 1.00...
  • Page 49: Revision History

    NuMaker-IoT-M263A REVISION HISTORY Date Revision Description 2019.08.06 1.00 Initially issued. 06, 2019 Page 49 of 50 Rev 1.00...
  • Page 50 NuMaker-IoT-M263A 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