Evaluation board for numicro 1t 8051 series (41 pages)
Summary of Contents for Nuvoton NuMaker-M2354
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 4
Figure 3-5 External Power Supply Sources on Nu-Link2-Me ............21 Figure 3-6 External Power Supply Sources on M2354 target board ..........22 Figure 3-7 Separate the Nu-Link2-Me from NuMaker-M2354 ............23 Figure 3-8 Wiring between Ammeter Connector and Ammeter ............. 24 Figure 3-9 LCD interface ........................
Page 5
NuMaker-M2354 Figure 4-27 Debug Message on Serial Port Terminal Windows ............ 42 Figure 5-1 Nu-Link2-Me Circuit ...................... 43 Figure 5-2 M2354 Pin Assignment ....................44 Figure 5-3 USB 2.0 FS OTG Circuit ....................45 Figure 5-4 Power Circuit and Configurations ................. 46 Figure 5-5 MCU connector ......................
Page 6
NuMaker-M2354 List of Tables Table 3-1 Extension Connectors ....................11 Table 3-2 M2354KJFAE Full-pin Extension Connectors and GPIO Function List ......16 Table 3-3 Arduino UNO Extension Connectors and M2354KJFAE Mapping GPIO List ....18 Table 3-4 Vin Power Source ......................19 Table 3-5 5V Power Sources ......................
OVERVIEW The NuMaker-M2354 is an evaluation board for Nuvoton NuMicro M2354 microcontrollers. The NuMaker-M2354 consists of two parts, a M2354 target board and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-M2354 is designed for secure evaluation, prototype development and validation with power consumption monitoring function.
NuMaker-M2354 FEATURES NuMicro M2354KJFAE microcontroller with function compatible with: M2354LJFAE – M2354SJFAE – M2354KJFAE extension connectors Arduino UNO compatible extension connectors COM/SEG LCD with panel ETM (embedded trace macrocell) debug interface for instruction and data tracing of a processor ...
NuMaker-M2354 HARDWARE CONFIGURATION Front View Figure 3-1 Front View of NuMaker-M2354 Figure 3-1 shows the main components and connectors from the front side of NuMaker-M2354. The following lists components and connectors from the front view: Target Chip: M2354KJFAE (U1) ...
NuMaker-M2354 Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-M2354. The following lists components and connectors from the rear view: Nu-Link2-Me MCUVCC Power Switch (ICEJPR1) – ICEVCC Power Switch (ICEJPR2) – ...
NuMaker-M2354 Power Supply Configuration The NuMaker-M2354 is able to adopt multiple power supply. External power source includes NU1 Vin (7 V to 12 V), V (depends on target chip operating voltage), and PC through USB connector. By using switches and voltage regulator, multiple power domains can be created on the NuMaker-M2354.
Table 3-9 presents the USB connectors. Connector Comment ICE USB connector on Nu-Link2-Me for power supply, debugging and ICEJ3 programming from PC. USB FS connector on NuMaker-M2354 for power supply. Table 3-9 USB Connectors 3.4.7 Power Switches Table 3-10 presents the power switches. Switch Comment Dec.
NuMaker-M2354 Configures the target chip operating voltage at 1.8 V / 3.3 V / 5 V. ICEJPR1 Note: M2354 operating voltage range is from 1.7 V to 3.6 V. Do not switch ICEJPR1 (MCUVCC) to 5 V. ICEJPR2 Configures the ICE chip operating voltage at 1.8 V / 3.3 V.
3. Solder the resistor on ICEJPR2 (ICEVCC) depends on the ICE chip operating voltage. 4. Connect ICEJ3 to PC. 5. Connect the external power supply to JP13. To use Vin or J2 as external power supply source with Nu-Link2-Me separated from NuMaker-M2354, please follow the steps below: 1. Switch the SW4.2 to ON.
2. Separate the Nu-Link2-Me from NuMaker-M2354. 3. Connect the external power supply to JP13. Figure 3-7 Separate the Nu-Link2-Me from NuMaker-M2354 Table 3-12 presents all power models when supplying external power through the M2354 target board. The M2354 target board external power sources are highlighted in yellow.
NuMaker-M2354 External Reference Voltage Connector Table 3-14 presents the external reference voltage connector. Connector Comment VREF1 is used to easily connect to the external reference voltage pin of VREF1 the target chip. Remove the L11 ferrite bead before using it.
The LED is connected to the target chip PD.2 and PD.3. ICES0, ICES1, ICES2 Nu-Link2-Me status LED. and ICES3 Table 3-16 LEDs Wi-Fi Module (ESP-12) U10: Wi-Fi Module ESP-12 on the NuMaker-M2354 board for application use. NuMaker- ESP-12 Description M2354 UART4_RXD...
NuMaker-M2354 HTN-LCD Panel The NuMaker-M2354 equip with a COM/SEG LCD interface which can connect to LCD panel. JLCD_1: 8 COM / 40 SEG LCD connective interface. JLCD_2: LCD Panel (HTN-3.3V) Figure 3-9 LCD interface Dec. 25, 2020 Page 26 of 54...
NuMaker-M2354 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 off-line 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 can be shown on the built-in LEDs.
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.
NuMaker-M2354 BSP Firmware Download Download and unzip the Board Support Package (BSP). Hardware Setup 1. Open the virtual COM (VCOM) function by changing Nu-Link2-Me VCOM Switch No. 1 and 2 to ON. Figure 4-3 Open VCOM Function 2. Connect the ICE USB connector shown in Figure 4-4 to the PC USB port through a USB cable.
NuMaker-M2354 Figure 4-5 Device Manger 4. 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. Figure 4-6 PuTTY Session Setting Dec. 25, 2020 Page 31 of 54...
1. Double click the “Blinky.uvprojx” to open the project. 2. Make sure the debugger is “Nuvoton Nu-Link Debugger” as shown in Figure 4-8 and Figure 4-9. Note: If the dropdown menu in Figure 4-8 does not contain “Nuvoton Nu-Link Debugger” item, please rework section 4.2.
NuMaker-M2354 Figure 4-9 Programming Setting in Options Window 3. Rebuild all target files. After successfully compiling the project, download code to the Flash memory. Click “Start/Stop Debug Section” icon to enter debug mode. Figure 4-10 Compile and Download the Project Dec.
NuMaker-M2354 4. Figure 4-11 shows the debug mode under Keil MDK. Click “Run” and the debug message will be printed out as shown in Figure 4-12. User can debug the project under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc.
NuMaker-M2354 4.6.2 IAR EWARM This section provides steps to beginners on how to run a project by using IAR EWARM. 1. Double click the “Blinky.eww” to open the project. 2. Make sure the toolbar contain “Nu-Link” item as shown in Figure 4-13.
NuMaker-M2354 4. Figure 4-15 shows the debug mode under IAR EWARN. Click “Go” and the debug message will be printed out as shown in Figure 4-16. The project can be debugged under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc.
NuMaker-M2354 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. 1. Double-click NuEclipse.exe to open the toolchain.
NuMaker-M2354 settings are the same as settings in Figure 4-20. Figure 4-19 Build Project Figure 4-20 Project Properties Settings 4. Click the “Blinky” project and build the project. Dec. 25, 2020 Page 38 of 54 Rev 1.00...
NuMaker-M2354 Figure 4-21 Build Project 5. After the project is built, click the “Blinky” 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.
NuMaker-M2354 Note 1: Double click the “GDB Nuvoton Nu-Link Debugging” to create the subitem. 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 Dec.
NuMaker-M2354 Note 1: Please follow the settings highlighted in green triangles and configure other settings depending on the needs. Figure 4-25 Startup Tab Configuration Dec. 25, 2020 Page 41 of 54 Rev 1.00...
NuMaker-M2354 6. 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.
NuMaker-M2354 NUMAKER-M2354 SCHEMATICS Nu-Link2-Me Figure 5-1 shows the Nu-Link2-Me circuit. The Nu-Link2-Me is a debugger and programmer that supports on-line programming and debugging through a SWD interface. 3.3V ICER1 Off-page Connector 200 1% USB_HS_CAP R0603 ICE5V ICEC1 ICEC2 ICE5V 0.1u...
NuMaker-M2354 Arduino UNO Compatible Interface Figure 5-6 shows the Arduino UNO compatible interface of NU1 to NU5 connectors. PG.2 I2C1_SCL I2C_SCL PG.3 I2C1_SDA I2C_SDA UNO Interface P121 VREF VREF P122 AVSS Analog In RESET PA.2 SPI0_CLK MCU_RESET NU1_3VCC PA.1 SPI0_MISO...
NuMaker-M2354 REVISION HISTORY Date Revision Description 2020.12.25 1.00 Initially issued. Dec. 25, 2020 Page 53 of 54 Rev 1.00...
Page 54
NuMaker-M2354 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”.
Need help?
Do you have a question about the NuMaker-M2354 and is the answer not in the manual?
Questions and answers