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 and microprocessor based system design. Nuvoton assumes no responsibility for errors or omissions.
Page 4
NuMaker-MUG51TB List of Figures Figure 1-1 NuMaker-MUG51TB Evaluation Board ................6 Figure 3-1 Front View of NuMaker-MUG51TB ................. 8 Figure 3-2 Rear View of NuMaker-MUG51TB ................. 9 Figure 3-3 MUG51TB Extension Connectors ................10 Figure 3-4 Arduino UNO Compatible Extension Connectors ............12 Figure 3-5 External Power Supply Sources on Nu-Link2-Me ............
Page 5
NuMaker-MUG51TB List of Tables Table 3-1 Extension Connectors ....................10 Table 3-2 MUG51TB Full-pin Extension Connectors and GPIO Function List ......11 Table 3-3 Arduino UNO Extension Connectors and MUG51TB9AE Mapping GPIO List....13 Table 3-4 Vin Power Source ......................14 Table 3-5 5 V Power Sources ......................
The MUG51TB9AE target board is based on NuMicro MUG51TB9AE. For the development flexibility, the MUG51TB target board provides the extension connectors, the Arduino UNO compatible headers and the capability of adopting multiple power supplies. Furthermore, the Nuvoton-designed ammeter connector can measure the power consumption instantly, which is essential for the prototype evaluation.
NuMaker-MUG51TB FEATURES NuMicro MUG51TB9AE used as main microcontroller MUG51TB9AE full pins extension connectors Arduino UNO compatible extension connectors Ammeter connector for measuring the microcontroller’s power consumption Flexible board power supply: External V power connector – Arduino UNO compatible extension connector Vin –...
NuMaker-MUG51TB HARDWARE CONFIGURATION Front View Arduino UNO Compatible Extension Connectors Switch Reset Button External V Connector Ammeter VCOM Switch ICE USB Connector Power LED ICE Chip: M48SSIDAE USB Power Connector ICE Status LED P3.2 LED Off-line Program Button External V Connector Nu-Link2-Me MUG51TB Target Board...
NuMaker-MUG51TB Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-MUG51TB. 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-MUG51TB...
NuMaker-MUG51TB Extension Connectors Table 3-1 presents the extension connectors. Connector Description JP3, JP4, JP5 and JP6 Full pins extension connectors on the NuMaker-MUG51TB. NU1, NU2, NU3 and Arduino UNO compatible pins on the NuMaker-MUG51TB. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-MUG51TB provides the MUG51TB9AE onboard and extension connectors (JP3, JP4, JP5 and JP6).
NuMaker-MUG51TB Power Supply Configuration The NuMaker-MUG51TB 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- MUG51TB.
NuMaker-MUG51TB 3.4.3 3.3 V Power Sources Table 3-6 presents the 3.3 V power sources. Voltage 5 V Source Description Regulator ICEUP1 converts USB_HS_VBUS to 3.3 V and ICEUP1 USB_HS_VBUS supplies 3.3 V to MUG51TB target board or ICE chip. UP1 converts USB_VBUS to 3.3 V and supplies 3.3 V to MUG51TB target board.
NuMaker-MUG51TB 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-MUG51TB for power supply. Table 3-9 USB Connectors 3.4.7 Power Switches Table 3-10 presents the power switches.
NuMaker-MUG51TB Table 3-11 presents all power models when supplying external power through Nu-Link2-Me. The Nu- Link2-Me external power sources are highlighted in yellow. Target ICEJPR1 ICEJPR2 Model Chip ICEJ3 (MCUVCC) (ICEVCC) Chip Selection Voltage Selection Selection Voltage Connect 1.8 V 1.8 V 1.8 V 1.8 V...
NuMaker-MUG51TB To use Vin or J2 as external power supply source with Nu-Link2-Me detached from NuMaker- MUG51TB, please follow the steps below: Switch the SW2 depending on the target chip operating voltage. 2. Detach the Nu-Link2-Me from NuMaker-MUG51TB. 3. Connect the external power supply to Vin or J2. To use JP1 as external power supply source with Nu-Link2-Me detached from NuMaker- MUG51TB, please follow the steps below: Switch the SW2 to OFF.
NuMaker-MUG51TB Table 3-12 presents all power models when supplies external power through MUG51TB target board. The MUG51TB target board 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...
NuMaker-MUG51TB External Reference Voltage Connector Table 3-13 External Reference Voltage Connector presents the external reference voltage connector. Connector Description Connector for user to connect to the external reference voltage pin of the VREF1 target chip. User needs to remove the L5 ferrite bead. Table 3-13 External Reference Voltage Connector Feb.
NuMaker-MUG51TB Ammeter Connector User can refer to the sample code in NUC230_240 series BSP - SYS_PowerDown_MinCurrent and Figure 3-8 to measure the minimum current in Power-down mode. Figure 3-9 shows the path of the sample code, which has relative settings of entering Power-down mode. Table 3-14 presents the ammeter connector.
NuMaker-MUG51TB LEDs Table 3-16 presents the LEDs. Component Description Power LED The power LED indicates that the NuMaker-MUG51TB is powered. P3.2 LED The LED is connected to the target chip P3.2. ICES0, ICES1, ICES2 Nu-Link2-Me status LED. and ICES3 Table 3-16 LEDs Feb.
NuMaker-MUG51TB 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.
NuMaker-MUG51TB QUICK START Toolchains Supporting Install the preferred toolchain. Please make sure at least one of the toolchains has been installed. KEIL PK51 Professional Developer's Kit IAR EMBEDDED WORKBENCH FOR 8051 Feb. 10, 2023 Page 25 of 41 Rev 1.00...
NuMaker-MUG51TB 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. Please install the Nu-Link USB Driver as well at the end of the installation. The installation is presented in Figure 4-1 and Figure 4-2.
NuMaker-MUG51TB 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-MUG51TB 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-MUG51TB 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. MUG51_BSP_Keil_C51_V1.00.000 SampleCode Template Keil Figure 4-7 Template Project Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain.
NuMaker-MUG51TB 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. Figure 4-10 Debugger Setting in Options Window Note: If the dropdown menu in Figure 4-10 does not contain “Nuvoton Nu-Link Debugger” item, please rework section Feb.
NuMaker-MUG51TB 4. Figure 4-13 shows the debug mode under Keil MDK. Click “Run” and the debug message will be 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.
NuMaker-MUG51TB 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 “Template.eww” to open the project. 2. Make sure the toolbar contains “Nu-Link” item as shown in Figure 4-15. Note: If the toolbar does not contain “Nu-Link”...
NuMaker-MUG51TB 4. Figure 4-17 shows the debug mode under IAR EWARN. Click “Go” and the debug message will be printed out as shown in Figure 4-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.
NuMaker-MUG51TB PCB Placement Figure 5-4 and Figure 5-5 show the front and rear placement of NuMaker-MUG51TB. Figure 5-4 Front Placement Figure 5-5 Rear Placement Feb. 10, 2023 Page 39 of 41 Rev 1.00...
NuMaker-MUG51TB REVISION HISTORY Date Revision Description 2023.2.10 1.00 Initial version. Feb. 10, 2023 Page 40 of 41 Rev 1.00...
Page 41
NuMaker-MUG51TB 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 Series and is the answer not in the manual?
Questions and answers