Summary of Contents for Nuvoton NuMicro NuMaker-M091YD
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 6
NuMaker-M091YD List of Tables Table 3-1 Extension Connectors ..................11 Table 3-2 M091 Full-pin Extension Connectors and GPIO Function List ....13 Table 3-3 Arduino UNO Extension Connectors and M091 Mapping GPIO List ..15 Table 3-4 Vin Power Source ..................... 16 Table 3-5 5 V Power Sources ...................
NuMaker-M091YD OVERVIEW The NuMaker-M091YD is an evaluation board for Nuvoton NuMicro M091 series microcontrollers. The NuMaker-M091YD consists of two parts: an M091 target board and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-M091YD is designed for project evaluation, prototype development and validation with power consumption monitoring function.
NuMaker-M091YD FEATURES NuMicro M091YD2AE used as main microcontroller with function compatible with: M091TC2AE – M091TD2AE – M091YC2AE – M091TD2AE – M091 full pins extension connectors Arduino UNO compatible extension connectors Ammeter connector for measuring the microcontroller’s power consumption ...
NuMaker-M091YD HARDWARE CONFIGURATION Front View Figure 3-1 Front View of NuMaker-M091YD Figure 3-1 shows the main components and connectors from the front side of NuMaker-M091YD. The following lists components and connectors from the front view: Target chip: M091YD2AE (U1) ...
NuMaker-M091YD Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-M091YD. The following lists components and connectors from the rear view: Nu-Link2-Me MCUVCC Power Switch (ICEJPR1) – ICEVCC Power Switch (ICEJPR2) – Figure 3-2 Rear View of NuMaker-M091YD Apr.
NuMaker-M091YD Extension Connectors Table 3-1 presents the extension connectors. Connector Description JP3, JP4, JP5 and JP6 Full pins extension connectors on the NuMaker-M091YD. NU1, NU2, NU3 and Arduino UNO compatible pins on the NuMaker-M091YD. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-M091YD provides the M091 onboard and extension connectors (JP3, JP4, JP5 and JP6).
NuMaker-M091YD Power Supply Configuration The NuMaker-M091YD 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- M091YD.
NuMaker-M091YD 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 M091 target board or ICE chip. UP1 converts USB_VBUS to 3.3 V and supplies 3.3 V to M091 target board.
NuMaker-M091YD 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-M091YD for power supply. Table 3-9 USB Connectors 3.4.7 Power Switches Table 3-10 presents the power switches.
NuMaker-M091YD Connect the external power supply to ICEJ3. 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...
NuMaker-M091YD Solder the resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage. Connect ICEJ3 to PC. Connect the external power supply to JP1. To use Vin or J2 as external power supply source with Nu-Link2-Me detached from NuMaker- M091YD, please follow the steps below: 1.
NuMaker-M091YD Table 3-12 presents all power models when supplies external power through M091 target board. The M091 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-M091YD 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 Ammeter Connector User can refer to the sample code in M091 series BSP - SYS_PowerDown_MinCurrent and Figure...
NuMaker-M091YD 3.9.2 Status LEDs Table 3-18 presents the status LEDs patterns for different operation on Nu-Link2-Me. Status LED Operation Status ICES0 ICES1 ICES2 ICES3 Boot Flash x 3 Flash x 3 Flash x 3 Flash x 3 Idle One Nu-Link2-Me is selected to connect Flash x 3 Flash x 3 Flash x 3...
Install the preferred toolchain. Please make sure at least one of the toolchains has been installed. KEIL MDK Nuvoton edition M0/M23 IAR EWARM 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. ...
NuMaker-M091YD BSP Firmware Download Download and unzip the Board Support Package (BSP). Hardware Setup 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 Connect the ICE USB connector shown in Figure 4-4 to the PC USB port through a USB cable. Figure 4-4 ICE USB Connector Apr.
NuMaker-M091YD Find the “Nuvoton Virtual COM Port” on the Device Manger as Figure 4-5. Figure 4-5 Device Manger 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-M091YD 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. M091_Series_BSP_CMSIS SampleCode Template Keil Figure 4-7 Template Project Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain.
NuMaker-M091YD Figure 4-9 Project File Migrate to Version 5 Format 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 4.2.
NuMaker-M091YD Figure 4-11 Programming Setting in Options Window Rebuild all target files. After successfully compiling the project, download code to the Flash memory. Click “Start/Stop Debug Section” button to enter debug mode. 1. Rebuild 2. Successfully compile 3. Download 4. Start/Stop Debug Figure 4-12 Compile and Download the Project Apr.
NuMaker-M091YD 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-M091YD 4.6.2 IAR EWARM This section provides steps to beginners on how to run a project by using IAR EWARM. Double click the “Template.eww” to open the project. Make sure the toolbar contains “Nu-Link” item as shown in Figure 4-15. Note: If the toolbar does not contain “Nu-Link”...
NuMaker-M091YD 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-M091YD PCB Placement Figure 5-4 and Figure 5-5 show the front and rear placement of NuMaker-M091YD. Figure 5-4 Front Placement Figure 5-5 Rear Placement Apr. 7, 2023 Page 39 of 41 Rev 1.00...
Page 40
NuMaker-M091YD REVISION HISTORY Date Revision Description 2023.4.7 1.00 Initial version. Apr. 7, 2023 Page 40 of 41 Rev 1.00...
Page 41
NuMaker-M091YD 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 NuMaker-M091YD and is the answer not in the manual?
Questions and answers