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-M032BTAI List of Table Table 3-1 Extension Connectors ....................11 Table 3-2 M032BTAIAAN Full-pin Extension Connectors and GPIO Function List ....... 14 Table 3-3 Arduino UNO Extension Connectors and M032BTAIAAN Mapping GPIO List ..... 16 Table 3-4 Vin Power Source ......................17 Table 3-5 5V Power Sources ......................
NuMaker-M032BTAI OVERVIEW The NuMaker-M032BTAI is an evaluation board for Nuvoton NuMicro M032BT series microcontrollers. The M032BT 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-M032BTAI FEATURES NuMicro M032BTAIAAN used as main microcontroller with function compatible with: M032BTAIAAN – M032BTAG8AN – M032BTAIAAN full pins extension connectors Arduino UNO compatible extension connectors Ammeter connector for measuring the microcontroller’s power consumption PCB antenna ...
NuMaker-M032BTAI HARDWARE CONFIGURATION 3.1 Front View Arduino UNO Compatible Extension Connectors Switch External V Connector Ammeter Nu-Link2-Me Microwave Coaxial Connector VCOM Switch PCB Antenna ICE USB Connector ICE Chip: M48SSIDAE M032BTAIAAN PF15 LED ICE Status LED Power LED Off-line Program Button M032BTAIAAN Extension Connectors M032BTAI Target Board External V...
NuMaker-M032BTAI 3.2 Rear View Figure 3-2 shows the main components and connectors from the rear side of NuMaker-M032BTAI. 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-M032BTAI...
NuMaker-M032BTAI 3.3 Extension Connectors Table 3-1 presents the extension connectors. Connector Description JP3, JP4 Full pins extension connectors on the NuMaker-M032BTAI. NU1, NU2, NU3, NU4 and Arduino UNO compatible pins on the NuMaker-M032BTAI. Table 3-1 Extension Connectors 3.3.1 Pin Assignment for Extension Connectors The NuMaker-M032BTAI provides the M032BTAIAAN onboard and extension connectors (JP3, JP4).
NuMaker-M032BTAI 3.4 Power Supply Configuration The NuMaker-M032BTAI 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- M032BTAI.
NuMaker-M032BTAI 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 M032BTAI target board or ICE chip. UP1 converts USB_VBUS to 3.3 V and supplies 3.3 V to M032BTAI target board.
NuMaker-M032BTAI 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-M032BTAI for power supply. Table 3-9 USB Connectors 3.4.7 Power Switches Table 3-10 presents the power switches.
NuMaker-M032BTAI 3.4.8 Power Supply Models External Power Supply through Nu-Link2-Me to Target Chip The external power supply source on Nu-Link2-Me is shown in Figure 3-5. ICE USB Connector (ICEJ3) Nu-Link2-Me Figure 3-5 External Power Supply Sources on Nu-Link2-Me To use ICEJ3 as external power supply source with Nu-Link2-Me, please follow the steps below: 1.
NuMaker-M032BTAI External Power Supply through M032BTAI Target Board to Target Chip The external power supply sources on M032BTAI target board are shown in Figure 3-6. External V Connector (JP1) External V Connector (JP2) USB Power Connector (J2) NU1 pin8 (Vin) Figure 3-6 External Power Supply Sources on M032BTAI Target Board To use Vin or J2 as external power supply source, please follow the steps below: 1.
NuMaker-M032BTAI External V Connector (JP1) " Detach Nu-Link2-Me External V Connector (JP2) USB Power Connector (J2) NU1 pin8 (Vin) Figure 3-7 Detach the Nu-Link2-Me from NuMaker-M032BTAI Apr. 19, 2022 Page 22 of 46 Rev 1.00...
NuMaker-M032BTAI Table 3-12 presents all power models when supplies external power through M032BTAI target board. The M032BTAI 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-M032BTAI 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 3.6 Push Buttons Table 3-14 presents the push buttons.
NuMaker-M032BTAI 3.7 LEDs Table 3-15 presents the LEDs. Component Description Power LED The power LED indicates that the NuMaker-M032BTAI is powered. PF15 LED The LED is connected to the target chip PF.15. ICES0, ICES1, ICES2 and Nu-Link2-Me status LED. ICES3 Table 3-15 LEDs 3.8 HXT Clock Source Selection If PF.2 and PF.3 are configured as external clock pins or external crystal pins, user needs to switch the...
NuMaker-M032BTAI 3.9 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-M032BTAI 3.9.2 Status LEDs Table 3-15 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 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-M032BTAI 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-M032BTAI 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-M032BTAI 4.5 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. M031BSP-master SampleCode NuMaker-M03xBT Demo Peripheral TRSP_UART_Peripheral ...
NuMaker-M032BTAI 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-M032BTAI 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-M032BTAI Figure 4-14 Debug Message on Serial Port Terminal Windows 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.
NuMaker-M032BTAI Figure 4-16 NuvotonBLE Icon Andriod Figure 4-17 Turn on Bluetooth on Mobile Phone 7. After clicking "Scan", users can see many Bluetooth devices. Please click Nuvoton_TRSP_UART to connect. Figure 4-18 Connect to Nuvoton_TRSP_UART on Android Phone Apr. 19, 2022 Page 37 of 46 Rev 1.00...
NuMaker-M032BTAI 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 M032BT through BLE, and finally sent to the PC through the M032BT UART and displayed on the terminal window.
NuMaker-M032BTAI Figure 4-21 Transfer String from iPhone to M032BT 9. User can type a string in the terminal window and press enter “↵”, then the data can be transmitted from M032BT to the mobile phone through BLE, and finally displayed on the NuvotonBLE main screen.
NuMaker-M032BTAI 5.4 PCB Placement Figure 5-4 and Figure 5-5 show the front and rear placement of NuMaker-M032BTAI. Figure 5-4 Front Placement Figure 5-5 Rear Placement Apr. 19, 2022 Page 44 of 46 Rev 1.00...
Page 45
NuMaker-M032BTAI REVISION HISTORY Date Revision Description 2022.04.19 1.00 Initial version Apr. 19, 2022 Page 45 of 46 Rev 1.00...
Page 46
NuMaker-M032BTAI 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 M032BTAI and is the answer not in the manual?
Questions and answers