Summary of Contents for Nuvoton NuMicro 8051 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 4
NuMaker-ML51SD List of Figures Figure 1-1 NuMaker-ML51SD Development Board ................. 6 Figure 3-1 Front View of NuMaker-ML51SD ..................8 Figure 3-2 Rear View of NuMaker-ML51SD ..................9 Figure 3-3 ML51SD1AE Extension Connectors ................10 Figure 3-4 Arduino UNO Compatible Extension Connectors ............13 Figure 3-5 External Power Supply Sources on Nu-Link2-Me ............
Page 5
NuMaker-ML51SD List of Tables Table 3-1 Extension Connectors ....................10 Table 3-2 ML51SD1AE Full-pin Extension Connectors and GPIO Function List ......12 Table 3-3 Arduino UNO Extension Connectors and ML51SD1AE Mapping GPIO List ....14 Table 3-4 Vin Power Source ......................15 Table 3-5 5 V Power Sources ......................
ML51SD1AE. For the development flexibility, the ML51 platform provides the extension connectors of ML51SD1AE, the Arduino UNO compatible headers and able to adopt multiple power supply. Furthermore, the Nuvoton-designed ammeter connector can measure the power consumption instantly, which is essential for the prototype evaluation.
NuMaker-ML51SD FEATURES NuMicro ® ML51SD1AE microcontroller with function compatible with: ML51TD1AE ML51LD1AE ML51SD1AE extension connectors Arduino UNO compatible extension connectors Ammeter connector for measuring the microcontroller’s power consumption Flexible board power supply: External V power connector ...
NuMaker-ML51SD HARDWARE CONFIGURATION Front View Arduino UNO Compatible Extension Connectors Switch Reset Button External V Connector Ammeter VCOM Switch External V Connector ICE USB Connector USB PWR Connector ICE Chip: M48SSIDAE Power LED ICE Status LED P3.2 LED Off-line Program Button External V Connector ML51 Platform...
NuMaker-ML51SD Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-ML51SD. The following lists components and connectors from the rear view: Nu-Link2-Me MCUVCC Power Switch (ICEJPR1) ICEVCC Power Switch (ICEJPR2) ICEVCC Power Switch MCUVCC Power Switch Figure 3-2 Rear View of NuMaker-ML51SD Mar.
NuMaker-ML51SD Extension Connectors Table 3-1 presents the extension connectors. Connector Description JP3, JP4, JP5 and JP6 Full pins extension connectors on the NuMaker-ML51SD. NU1, NU2, NU3 and NU4 Arduino UNO compatible pins on the NuMaker-ML51SD. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-ML51SD provides the ML51SD1AE onboard and extension connectors (JP3, JP4, JP5 and JP6).
NuMaker-ML51SD Power Supply Configuration The NuMaker-ML51SD is able to adopt multiple power supply. External power source include NU1 Vin (7 V to 12 V), VDD (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- ML51SD.
NuMaker-ML51SD 3.4.3 3.3 V Power Sources Table 3-6 presents the 3.3 V power sources. Voltage Regulator 5 V Source Description ICEUP1 converts USB_HS_VBUS to 3.3 V and supplies ICEUP1 USB_HS_VBUS 3.3 V to ML51 platform or ICE chip. UP1 converts USB_VBUS to 3.3 V and supplies 3.3 V to ML51 platform.
NuMaker-ML51SD 3.4.6 USB Connectors Table 3-9 presents the USB connectors. Connector Description ICE USB connector on Nu-Link2-Me for power supply, debugging and ICEJ3 programming from PC. USB FS connector on NuMaker-ML51SD for power supply. Table 3-9 USB Connectors 3.4.7 Power Switches Table 3-10 presents the power switches.
NuMaker-ML51SD To use ICEJ3 as external power supply source with Nu-Link2-Me, please follow the below steps: 1. Solder the resistor on ICEJPR1 (MCUVCC) depends on the target chip operating voltage. 2. Solder the resistor on ICEJPR2 (ICEVCC) depends on the ICE chip operating voltage. 3.
NuMaker-ML51SD To use JP1 as external power supply source, please follow the below steps: 1. Switch the SW2 to OFF. 2. Remove the resistor on ICEJPR1 (MCUVCC). 3. Solder the resistor on ICEJPR2 (ICEVCC) depends on the ICE chip operating voltage. 4.
NuMaker-ML51SD Table 3-12 presents all power models when supplies external power through ML51 platform. The ML51 platform external power sources are highlighted in yellow. ICEJPR1 ICEJPR2 Target Chip ICE Chip Model ICEJ3 (MCUVCC) (ICEVCC) Voltage Selection Voltage Selection Selection 7 V ~ 12 V Remove 3.3 V 3.3 V output...
NuMaker-ML51SD 3.9.1 VCOM Switches Table 3-17 presents how to set the VCOM function by ICESW2. ICESW2 Function Description On: Connect target chip P3.1 (UART0_TXD) to Nu-Link2-Me. Off: Disconnect target chip P3.1 (UART0_TXD) to Nu-Link2-Me. On: Connect target chip P3.0 (UART0_RXD) to Nu-Link2-Me. Off: Disconnect target chip P3.0 (UART0_RXD) to Nu-Link2-Me.
Install the preferred toolchain. Please make sure at least one of the toolchains has been installed. KEIL C51 IAR EW8051 Nuvoton Nu-Link Driver Installation Download and install the latest Nuvoton Nu-Link Driver. Download and install Nu-Link_Keil_Driver when using Keil C51. ...
NuMaker-ML51SD 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 Figure 4-3 Open VCOM Function 2. Connect the ICE USB connector shown in Figure 4-4 to the PC USB port through USB cable. Figure 4-4 ICE USB Connector Mar.
NuMaker-ML51SD 3. Find the “Nuvoton Virtual COM Port” on the Device Manger as Figure 4-5. 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.
NuMaker-ML51SD Find the Example Project Use the “Template” project as an example. The project can be found under the BSP folder as shown in Figure 4-7. ML51_ML54_ML56_BSP_Keil_C51_V2.XX.XXX SampleCode Template Keil Figure 4-7 Template Project Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain.
Figure 4-9 Project File Migrate to Version 5 Format 2. Make sure the debugger is “Nuvoton Nu-Link Debugger” as shown in Figure 4-10 and Figure 4-11. Note: If the dropdown menu in Figure 4-10 does not contain “Nuvoton Nu-Link Debugger” item, please rework section 4.2.
NuMaker-ML51SD printed out as shown in Figure 4-14. User can debug the project under debug mode by 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-13 Keil C51 Debug Mode Figure 4-14 Debug Message on Serial Port Terminal Windows Mar.
NuMaker-ML51SD 4.6.2 IAR EW8051 This section provides steps to beginners on how to run a project by using IAR EW8051. 1. Double click the “Template.eww” to open the project. 2. Make sure the toolbar contain “Nu-Link” item as shown in Figure 4-15. Note: If the toolbar does not contain “Nu-Link”...
NuMaker-ML51SD Figure 4-16 Compile and Download the Project 4. Figure 4-17 shows the debug mode under IAR EW8051. Click “Go” and the debug message will be printed out as shown in Figure 5-1. User can debug the project under debug mode by checking source code, assembly language, peripherals’...
NuMaker-ML51SD PCB Placement Figure 5-5 and Figure 5-6 show the front and rear placement of NuMaker-ML51SD. Figure 5-5 Front Placement Figure 5-6 Rear Placement Mar. 08, 2021 Page 36 of 38 Rev 1.01...
NuMaker-ML51SD REVISION HISTORY Date Revision Description 2020.08.21 1.00 Initial version 2021.03.08 1.01 Modified the Figure 4-11, Figure 4-12 and 4-13. Mar. 08, 2021 Page 37 of 38 Rev 1.01...
Page 38
NuMaker-ML51SD 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 NuMicro 8051 Series and is the answer not in the manual?
Questions and answers