Summary of Contents for Nuvoton NuMicro NuMaker-M031BTYE
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.
NuMaker-M031BTYE OVERVIEW The NuMaker-M031BTYE is an evaluation board for Nuvoton NuMicro M031BT series microcontrollers. The M031BT series BLE MCU is compliant with the BLE 5.0 standard supporting data rates up to 2 Mbps, offering 2.4 GHz proprietary stacks to achieve more possibility for wireless connectivity and Over- the-Air (OTA) for firmware upgrade.
NuMaker-M031BTYE FEATURES NuMicro M031BTYE3AN used as main microcontroller with function compatible with: M031BTYE3AN – M031BTYD2AN – M031BTYE3AN extension connectors Arduino UNO compatible extension connectors Ammeter connector for measuring the microcontroller’s power consumption PCB antenna Microwave coaxial connector with switch for characteristics measurement ...
NuMaker-M031BTYE HARDWARE CONFIGURATION 3.1 Front View Arduino UNO Compatible Extension Connectors Switch External V Connector Ammeter Nu-Link2-Me Microwave Coaxial Connectors VCOM Switch PCB Antenna ICE USB Connector ICE Chip: M48SSIDAE M031BTYE3AN PF15 LED ICE Status LED Power LED Off-line Program Button M031BTYE3AN Extension Connectors M031BTYE Target Board External V...
NuMaker-M031BTYE 3.2 Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-M031BTYE. 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-M031BTYE...
NuMaker-M031BTYE 3.3 Extension Connectors Table 3-1 presents the extension connectors. Connector Description JP3, JP4, JP5 and JP6 Full pins extension connectors on the NuMaker-M031BTYE. NU1, NU2, NU3 and NU4 Arduino UNO compatible pins on the NuMaker-M031BTYE. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-M031BTYE provides the M031BTYE3AN onboard and extension connectors (JP3, JP4,...
NuMaker-M031BTYE 3.4 Power Supply Configuration The NuMaker-M031BTYE 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- M031BTYE.
NuMaker-M031BTYE 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 M031BTYE target board or ICE chip. UP1 converts USB_VBUS to 3.3 V and supplies 3.3 V to M031BTYE target board.
NuMaker-M031BTYE 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-M031BTYE for power supply. Table 3-9 USB Connectors 3.4.7 Power Switches Table 3-10 presents the power switches.
NuMaker-M031BTYE To use ICEJ3 as external power supply source with Nu-Link2-Me, please follow the steps below: 1. Solder the resistor on ICEJPR1 (MCUVCC) depending on the target chip operating voltage. 2. Solder the resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage. 3.
NuMaker-M031BTYE To use JP1 as external power supply source, please follow the steps below: Switch the SW2 to OFF. 2. Remove the resistor on ICEJPR1 (MCUVCC). 3. Solder the resistor on ICEJPR2 (ICEVCC) depending on the ICE chip operating voltage. 4.
NuMaker-M031BTYE Table 3-12 presents all power models when supplies external power through M031BTYE target board. The M031BTYE target board external power sources are highlighted in yellow. ICEJPR1 ICEJPR2 Target Chip ICE Chip Model ICEJ3 Selectio (MCUVCC) (ICEVCC) Voltage Voltage Selection Selection 7 V ~ 12 V Remove...
NuMaker-M031BTYE 3.5 Ammeter Connector Table 3-13 presents the ammeter connector. Connector Description Connector for user to measure the target chip power consumption easily. AMMETER User needs to remove the R16 resistor. Table 3-13 Ammeter Connector Remove the R16 Resistor Figure 3-8 Wiring between Ammeter Connector and Ammeter Apr.
NuMaker-M031BTYE 3.9.1 VCOM Switches Table 3-17 presents how to set the VCOM function by ICESW2. ICESW2 Function Description On: Connect target chip PA.1 (UART0_TXD) to Nu-Link2-Me. Off: Disconnect target chip PA.0 (UART0_TXD) to Nu-Link2-Me. On: Connect target chip PA.1 (UART0_RXD) to Nu-Link2-Me. Off: Disconnect target chip PA.0 (UART0_RXD) to Nu-Link2-Me.
Install the preferred toolchain. Please make sure at least one of the toolchain has been installed. KEIL MDK Nuvoton edition M0/M23 4.2 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-M031BTYE 4.3 BSP Firmware Download Download and unzip the Board Support Package (BSP). 4.4 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-M031BTYE 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-M031BTYE 4.5 Find the Example Project Use the “TRSP_UART_Peripheral ” project as an example. The project can be found under the BSP folder as shown in Figure 4-7. M031BSP-master SampleCode NuMaker-M03xBT Demo Peripheral TRSP_UART_Peripheral ...
NuMaker-M031BTYE 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 4.2.
NuMaker-M031BTYE 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-M031BTYE 5. User can download and install NuvotonBLE from Google Play Store (Android devices) or App Store (Apple devices). Figure 4-15 Search for NuvotonBLE on Google Play Store or App Store 6. Open the NuvotonBLE and turn on Bluetooth in settings of the mobile phone. Android Figure 4-16 NuvotonBLE Icon Andriod...
NuMaker-M031BTYE Figure 4-18 Connect to Nuvoton_TRSP_UART on Android Phone Figure 4-19 Connect to Nuvoton_TRSP_UART on iPhone 8. User can type a string in the NuvotonBLE text input field and click the SEND button, then the data can be transmitted from the mobile phone to M031BT through BLE, and finally sent to the PC Apr.
NuMaker-M031BTYE through the M031BT UART and displayed on the terminal window. Figure 4-20 Transfer String from Android Phone to M031BT Figure 4-21 Transfer String from iPhone to M031BT Apr. 19, 2022 Page 36 of 43 Rev 1.00...
NuMaker-M031BTYE 9. User can type a string in the terminal window and press enter “↵”, then the data can be transmitted from M031BT to the mobile phone through BLE, and finally displayed on the NuvotonBLE main screen. Type a string and press enter “↵”...
NuMaker-M031BTYE 5.4 PCB Placement Figure 5-4 and Figure 5-5 show the front and rear placement of NuMaker-M031BTYE. Figure 5-4 Front Placement Figure 5-5 Rear Placement Apr. 19, 2022 Page 41 of 43 Rev 1.00...
Page 42
NuMaker-M031BTYE REVISION HISTORY Date Revision Description 2022.04.19 1.00 Initial version Apr. 19, 2022 Page 42 of 43 Rev 1.00...
Page 43
NuMaker-M031BTYE 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-M031BTYE and is the answer not in the manual?
Questions and answers