Evaluation board for numicro 1t 8051 series (41 pages)
Summary of Contents for Nuvoton NuMicro NuMaker-M467HJ
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-M467HJ List of Figures Figure 1-1 NuMaker-M467HJ Evaluation Board ................7 Figure 3-1 Front View of NuMaker-M467HJ ..................9 Figure 3-2 Rear View of NuMaker-M467HJ ................... 11 Figure 3-3 M467HJHAN Extension Connectors ................12 Figure 3-4 Arduino UNO Compatible Extension Connectors ............19 Figure 3-5 External Power Supply Sources on Nu-Link2-Me ............
Page 5
NuMaker-M467HJ Figure 4-28 NuEclipse Debug Mode ....................48 Figure 4-29 Debug Message on Serial Port Terminal Windows ............ 48 Figure 5-1 Nu-Link2-Me Circuit ...................... 49 Figure 5-2 Power Source Circuit ....................50 Figure 5-3 M467HJHAN Circuit...................... 51 Figure 5-4 HyperRAM Circuit ......................52 Figure 5-5 SPI Flash Circuit ......................
Page 6
NuMaker-M467HJ List of Tables Table 3-1 Extension Connectors ....................12 Table 3-2 M467HJHAN Full-pin Extension Connectors and GPIO Function List ......18 Table 3-3 Arduino UNO Extension Connectors and M467HJHAN Mapping GPIO List ....20 Table 3-4 Vin Power Source ......................21 Table 3-5 5V Power Sources ......................
NuMaker-M467HJ OVERVIEW The NuMaker-M467HJ is an evaluation board for Nuvoton NuMicro M467SJ, M467KJ, M467JJ, M467HJ microcontrollers. The NuMaker-M467HJ consists of two parts: an M467HJ target board and an on-board Nu-Link2-Me debugger and programmer. The NuMaker-M467HJ is designed for project evaluation, prototype development and validation with power consumption monitoring function.
NuMaker-M467HJ HARDWARE CONFIGURATION Front View M467HJHAN Arduino UNO Compatible Extension Connectors User LEDs RJ-45 Connector Nu-Link2-Me HyperRAM FS-USB Connector VCOM Switch ICE USB Connector HS-USB Connector ICE Chip: M48SSIDAE ICE Status LED Off-line Program Button M467 Target Board Phonejack CAN FD Transceiver Reset Button Power LED M467HJHAN...
Page 10
NuMaker-M467HJ Nu-Link2-Me VCOM Switch – ICE Chip: M48SSIDAE (ICEU2) – ICE USB Connector (ICEJ3) – ICE Status LED (ICES0, ICES1, ICES2, ICES3) – Off-line Program Button (ICESW1) – Jun. 28, 2022 Page 10 of 66 Rev 1.00...
NuMaker-M467HJ Extension Connectors Table 3-1 presents the extension connectors. Connector Description J4, J5, J6 and J7 Full pins extension connectors on the NuMaker-M467HJ. NU1, NU2, NU3, Arduino UNO compatible pins on the NuMaker-M467HJ. NU4 and NU5 CON1 CMOS sensor connector on the NuMaker-M467HJ. CON2 TFT LCD panel connector on the NuMaker-M467HJ Table 3-1 Extension Connectors...
NuMaker-M467HJ Power Supply Configuration The NuMaker-M467HJ 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-M467HJ.
NuMaker-M467HJ 3.4.3 3.3V Power Sources Table 3-6 presents the 3.3 V power sources. Voltage 3V Source Description Regulator ICEUP1 converts USB_HS_VBUS to 3.3 V ICEUP1 USB_HS_VBUS and supplies 3.3 V to M467HJ target board or ICE chip. UP2 converts FSUSB_VBUS to 3.3 V and FSUSB_VBUS supplies 3.3 V to M467HJ target board.
NuMaker-M467HJ 3.4.5 USB Connectors Table 3-8 presents the USB connectors. Connector Description ICE USB connector on Nu-Link2-Me for power supply, ICEJ3 debugging and programming from PC. USB FS connector on NuMaker-M467HJ for power supply. USB HS connector on NuMaker-M467HJ for power supply. Table 3-8 USB Connectors 3.4.6 Power Switches...
NuMaker-M467HJ 3.4.7 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. Nu-Link2-Me ICE USB Connector 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: Solder the resistor on ICEJPR1 (MCUVCC) depending on the target chip operating voltage.
NuMaker-M467HJ External Power Supply through M467HJ Target Board to Target Chip The external power supply sources on M467HJ target board are shown in Figure 3-6. FS-USB Connector HS-USB Connector NU1 pin8 (VIN) External V Connector External V Connector Figure 3-6 External Power Supply Sources on M467HJ Target Board To use Vin or J2 or J3 as external power supply source, please follow the steps below: Remove the resistor on ICEJPR1 (MCUVCC).
NuMaker-M467HJ Table 3-11 presents all power models when supplies external power through M467HJ target board. The M467HJ target board external power sources are highlighted in yellow. ICEJPR1 ICEJPR2 Target Chip ICE Chip Model ICEJ3 (MCUVCC) (ICEVCC) Voltage Voltage Selection Selection 7 V ~ 12 V Remove 3.3 V...
NuMaker-M467HJ External Reference Voltage Connector Table 3-13 presents the external reference voltage connector. Connector Description Connector for user to connect to the external reference VREF voltage pin of the target chip. User needs to remove the L2 ferrite bead. Table 3-12 External Reference Voltage Connector Ammeter Connector Table 3-13 presents the ammeter connector.
NuMaker-M467HJ LEDs Table 3-15 presents the LEDs. Component Description The power LED indicates that the NuMaker-M467HJ is Power LED powered. Red LED The red LED is connected to the target chip PH.4. Yellow LED The yellow LED is connected to the target chip PH.5. Green LED The green LED is connected to the target chip PH.6.
NuMaker-M467HJ 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 Flash x Flash x Flash x Flash x Boot Idle Flash x Flash x Flash x One Nu-Link2-Me is selected to connect ICE online (Not connected to a target Flash x...
KEIL MDK Nuvoton edition IAR EWARM NuEclipse GCC (for Windows) NuEclipse GCC (for Linux) 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.
NuMaker-M467HJ 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.
NuMaker-M467HJ 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-M467HJ 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. M460_Series_BSP_CMSIS_V3.XX.XXX SampleCode Template GCC Keil Figure 4-7 Template Project Folder Path Execute the Project under Toolchains Open and execute the project under the toolchain.
NuMaker-M467HJ 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”...
NuMaker-M467HJ 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 Jun.
NuMaker-M467HJ 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. 3 1 2 1.
NuMaker-M467HJ 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-M467HJ 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. 1 2 3 1.
NuMaker-M467HJ 4.6.3 NuEclipse This section provides steps to beginners on how to run a project by using NuEclipse. Please make sure the filenames and project folder path contain neither invalid character nor space. Double-click “NuEclipse.exe" to open the toolchain. Import the “Template” project by following the steps presented in Figure 4-19 and Figure 4-20.
NuMaker-M467HJ M031_Series_BSP_CMSIS_V3.XX.XXX\SampleCode\Template M031_Series_BSP_CMSIS_V3.XX.XXX\SampleCode\Template\GCC) Figure 4-20 Import Projects Windows Click the “Template” project and find the project properties as shown in Figure 4-21. Make sure the settings are the same as settings in Figure 4-22. Figure 4-21 Open Project Properties Window Jun.
4-25, Figure 4-26 and Figure 4-27 to enter debug mode. Figure 4-24 Open Debug Configuration Note 1: Double-click the “GDB Nuvoton Nu-Link Debugging” to create the sub item. Note 2: After the project is built, the “*.elf” file will be shown in “C/C++ Application” frame.
NuMaker-M467HJ Note: User must follow those settings highlighted in green, and configure other settings depending on the needs. Figure 4-27 Startup Tab Configuration Jun. 28, 2022 Page 47 of 66 Rev 1.00...
NuMaker-M467HJ Figure 4-28 shows the debug mode under NuEclipse. Click “Resume” and the debug message will be printed out as shown in Figure 4-29. User can debug the project under debug mode by checking source code, assembly language, peripherals’ registers, and setting breakpoint, step run, value monitor, etc. For more information about how to use NuEclipse, please refer to the NuEclipse User Manual.
NuMaker-M467HJ 5.2.14 Thermal Sensor Figure 5-15 shows the thermal sensor circuit. PIN121 I2C2_SDA I2C2_SDA PIN120 I2C2_SCL I2C2_SCL The thermal sensor (NCT7717U) and audio codec (NAU88C22) are shared with same I2C bus (I2C2) off-Page Singals R0603 R0603 I2C2_SCL I2C2_SDA 0.1u ALERT# C0603 NCT7717U Ti t l e...
NuMaker-M467HJ REVISION HISTORY Date Revision Description 2022.06.28 1.00 Initial version. Jun. 28, 2022 Page 65 of 66 Rev 1.00...
Page 66
NuMaker-M467HJ 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-M467HJ and is the answer not in the manual?
Questions and answers