Summary of Contents for Nuvoton NuMaker-HMI-N9H31-A1
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 5
NuMaker-HMI-N9H31-A1/A2 Figure 6-16 Front Placement of NuMaker TFT-LCD5 Board ............52 Figure 6-17 Rear Placement of NuMaker TFT-LCD5 Board ............53 List of Tables Table 1-1 Board Part Number and Information ................9 Table 3-1 I2S0 (U9) Pin Function ....................12 Table 3-2 I2C0 (U9) Pin Function ....................
Page 6
OVERVIEW The NuMaker-HMI-N9H31-A1/A2 is an evaluation board for GUI application development. The NuMaker-HMI-N9H31-A1/A2 consists of two parts: a NuMaker-HMI-N9H31 main board and a NuMaker TFT-LCD5 extension board. The NuMaker-HMI-N9H31-A1/A2 is designed for project evaluation, prototype development and validation with HMI (Human Machine Interface) function.
Page 7
NuMaker-HMI-N9H31-A1/A2 NuMaker TFT-LCD5 Board Figure 1-2 NuMaker TFT-LCD5 Board with RTP LCD May 14, 2024 Page 7 of 55 Rev 1.00...
Page 8
NuMaker-HMI-N9H31-A1/A2 Figure 1-3 NuMaker TFT-LCD5 Board with CTP LCD May 14, 2024 Page 8 of 55 Rev 1.00...
Page 9
NuMaker-HMI-N9H31-A1/A2 Order Number and Part Number of EVB The following table lists the part number of this evaluation board (EVB) based on the microprocessor, and the PCB names of two parts: NuMaker-HMI-N9H31 board and NuMaker TFT-LCD5 board. 5” TFT LCD Daughter...
Page 10
NuMaker-HMI-N9H31-A1/A2 FEATURES NuMaker-HMI-N9H31 Board Features ⚫ N9H31K51IFC chip: LQFP128 pin MCP package with DDR (32 MB) ⚫ SPI Flash: SPI Flash using W25Q256JVEIQ (32 MB) booting with quad mode or storage memory ⚫ SD0: User SD/eMMC memory card, data storage or SDIO (Wi-Fi) device ⚫...
Page 11
NuMaker-HMI-N9H31-A1/A2 HARDWARE CONFIGURATION NuMaker-HMI-N9H31 Board 3.1.1 Front View Figure 3-1 shows the main components and connectors from the front side of NuMaker-HMI-N9H31. CAN0 RS485_8 RS232_8 RS485_1 RS232_1 Earphone transceiver SPI Flash RS232/RS485 switch Header JTAG interface 5V_IN and RJ-45 VCOM...
Page 12
Figure 3-2 Rear View of NuMaker-HMI-N9H31 Board 3.1.3 Audio Codec ⚫ Audio Codec Device (U9): Nuvoton NAU88C22 is audio codec device that integrates microphone input, speaker output and headphone output for audio application on this board. ⚫ Headset Jack (CON5): A headset input jack that follows CTIA definition.
Page 13
NuMaker-HMI-N9H31-A1/A2 I2C0_SCL Table 3-2 I2C0 (U9) Pin Function 3.1.4 RMII Megabit Ethernet ⚫ RMII0 Megabit PHY (U16) and Transformer (U17): The RMII0 MAC of N9H31 series needs an external Megabit PHY (IP101GR) and a transformer (TS8121C) to connect with the Ethernet network.
Page 14
NUC123 ICE Interface (J2): The ICE interface of NUC123ZD4AN0 microcontroller (U6) for programming the internal Flash of NUC123 series MCU. The internal Flash of NUC123 series MCU had been programmed and acts as an USB VCOM device before the NuMaker- HMI-N9H31 board is delivered by Nuvoton. Pin No. Pin Name...
Page 15
NuMaker-HMI-N9H31-A1/A2 Table 3-6 NUC123 ICE Interface (J2) Pin Funciton ⚫ UART0 Pin Header (J3): Pin No. Pin Name Function UR0_TX UR0_RX Table 3-7 UART0 Pin Header (J3) Pin Function 3.1.8 Power-on Setting ⚫ Power-on Setting DIP Switch (SW1): The GPIO PA0, PA1, PA2, PA3, PA4, PA5 determine how to boot the evaluation environment on the NuMaker-HMI-N9H31 board.
Page 16
NuMaker-HMI-N9H31-A1/A2 Table 3-11 Options for JTAG Interface ⚫ Options for UART0 Debug Message State Function SW1.6 (PA5) UART0 debug message ON SW1.6 (PA5) UART0 debug message OFF Table 3-12 Options for UART0 Debug Message 3.1.9 Reset ⚫ Reset Button (SW2): Press this key to reset the N9H31K51IFC target chip on this NuMaker- HMI-N9H31 board.
Page 18
NuMaker-HMI-N9H31-A1/A2 TOUCH_INT R114 VDD5 VDD5 Table 3-13 LCM Connecor (CON12) Pin Function 3.1.11 ⚫ JTAG Interface (CON2): Arm JTAG interface for tracing or debugging code. Pin No. Pin Name GPIO pin of N9H31 VDD33 VDD33 nTRST May 14, 2024 Page 18 of 55...
Page 19
NuMaker-HMI-N9H31-A1/A2 SWJ_nRESET nRESET(Need Short R34) Table 3-14 JTAG Interface (CON2) Pin Funciton 3.1.12 USB 2.0 Connectors ⚫ USB0_ID Header (J8): Optional to pull-down the ID pin of USB0 by a jumper to force USB0 to always act as an USB Host.
Page 20
NuMaker-HMI-N9H31-A1/A2 Pin No. Function Name RS485_A1 RS485_B1 Table 3-16 RS485_6 Connector (J4) Pin Function Note: UART1 can use J5 to switch functions (RS232 or RS485) ⚫ RS232_8: The UART8 to RS232 transceiver (U14, SN75C3232EDR) and Connector (CON9). Pin No. Function Name...
Page 21
NuMaker-HMI-N9H31-A1/A2 3.1.15 Key Buttons and LEDs ⚫ User-define Key Buttons (KEY_1, KEY_2): KEY_# GPIO pin of N9H31 Pull-up Power KEY_1 VDD33 KEY_2 VDD33 Table 3-20 Key Buttons (KEY_1, KEY_2) Pin Function ⚫ User Indication LEDs (LED_1, LED_2): LED_# Function / Color...
Page 22
NuMaker-HMI-N9H31-A1/A2 NuMaker TFT-LCD5 Board 3.2.1 Front View Figure 3-3 shows the main components from the front side of NuMaker TFT-LCD5 board and an onboard 5’’ touch TFT LCD panel. Figure 3-3 Front View of NuMaker TFT-LCD5 Board with RTP LCD...
Page 23
NuMaker-HMI-N9H31-A1/A2 Figure 3-4 Front View of NuMaker TFT-LCD5 Board with CTP LCD 3.2.2 Rear View Figure 3-5 shows the main components from the rear view of NuMaker TFT-LCD5 board. May 14, 2024 Page 23 of 55 Rev 1.00...
Page 24
NuMaker-HMI-N9H31-A1/A2 Figure 3-5 Rear View of NuMaker TFT-LCD5 Board 3.2.3 Connectors ⚫ LCD Module Connector (CON2): FPC (pitch-0.5mm x 40) connector of TFT LCD module. ⚫ LCM Connector (CON1): To connect with the LCM connector (CON12) of the NuMaker- HMI-N9H31 board.
Page 25
4.1 Nuvoton CDC Driver Installation The USB serial port function is used to print some messages on PC API, such as SecureCRT, through the standard UART protocol to help user to debug program. Download and install the latest Nuvoton CDC driver: ⚫ https://www.nuvoton.com/resource-download.jsp?tp_GUID=SW1020160914071736 The installation is presented in Figure 4-1 and Figure 4-2.
Page 26
NuMaker-HMI-N9H31-A1/A2 Figure 4-2 CDC Driver Installation May 14, 2024 Page 26 of 55 Rev 1.00...
Page 27
4.2 Nuvoton Virtual COM Driver Installation The firmware programming tool NuWriter requires a NuWriter driver to be installed on PC first. Please follow the steps below to install the driver. Download and install the latest Nuvoton Virtual COM driver: ⚫ https://github.com/OpenNuvoton/NUC970_NuWriter/tree/master/Driver The installation is presented in Figure 4-3 and Figure 4-4.
Page 28
NuMaker-HMI-N9H31-A1/A2 May 14, 2024 Page 28 of 55 Rev 1.00...
Page 29
NuMaker-HMI-N9H31-A1/A2 Figure 4-4 VCOM Driver Installation May 14, 2024 Page 29 of 55 Rev 1.00...
Page 30
SPI Flash (SPI0) when power is supplied to the NuMaker-HMI-N9H31 board. The NuMaker-HMI-N9H31-A1/A2 provides jumpers to select boot-up conditions. To select USB ISP mode, the statuses of SW1.1 and SW1.2 are ON. For other boot selections, refer to Figure 4-5 and Table 4-1.
Page 31
NuMaker-HMI-N9H31-A1/A2 Figure 4-6 USB-Serial Debug Port 2. Find the “Nuvoton Virtual COM Port” on the Device Manger as Figure 4-7. Figure 4-7 Device Manger (1) 3. Open a serial port terminal, PuTTY for example, to print out debug message. Set the baud rate to 115200.
Page 32
NuMaker-HMI-N9H31-A1/A2 Figure 4-8 PuTTY Session Setting 4. Open a serial port terminal, PuTTY for example, to print out debug message. Set the speed to 115200. May 14, 2024 Page 32 of 55 Rev 1.00...
Page 33
2. Connect USBD connector to the PC USB port through a Micro USB cable. Figure 4-9 USBD Port 3. Boot NuMaker-HMI-N9H31 from USB ISP mode. 4. Find the “WinUSB driver (Nuvoton VCOM)” on the Device Manger as Figure 4-10. May 14, 2024 Page 33 of 55...
Page 34
NuMaker-HMI-N9H31-A1/A2 Figure 4-10 Device Manger (2) Power on the NuMaker-HMI-N9H31, and then open the programming tool “NuWriter.exe” on the PC. Note that the tool cannot work if the “WinUSB4NuVCOM” driver is not found. First, double-click “NuWriter.exe” on PC. NuWriter will start and a window appears. Select target chip as N9H31 series and select DDR parameter as DDR initial files.
Page 35
NuWriter provides 6 types of images to be downloaded including DDR/SRAM, SPI, NAND, eMMC/SD, PACK and Mass Production. Embedded Demo After the NuMaker-HMI-N9H31-A1/A2 board is successfully powered on, the TFT LCD screen will show the main screen as Figure 4-12. Figure 4-12 Main Screen of Demonstration...
Page 36
MPUs product line for the N9H series products from the “Products” menu on the Nuvoton website homepage. Figure 5-1 Nuvoton Website Software For more details about N9H31 series software, for example, BSP (Board Support Package), software NuWriter tool and example code, please visit GitHub’s website: https://github.com/OpenNuvoton/MPU-...
Page 37
NuMaker-HMI-N9H31-A1/A2 NUMAKER-HMI-N9H31-A1/A2 SCHEMATICS NuMaker-HMI-N9H31 Schematic 6.1.1 Block Diagram Schematic Figure 6-1 shows the Block Diagram of the NuMaker-HMI-N9H31 board. Figure 6-1 NuMaker-HMI-N9H31 Board Block Diagram May 14, 2024 Page 37 of 55 Rev 1.00...
Page 38
NuMaker-HMI-N9H31-A1/A2 6.1.2 GPIO List Figure 6-2 shows the GPIO List of the NuMaker-HMI-N9H31 board. Figure 6-2 GPIO List May 14, 2024 Page 38 of 55 Rev 1.00...
Page 39
NuMaker-HMI-N9H31-A1/A2 6.1.3 Power Figure 6-3 shows the power circuit of the NuMaker-HMI-N9H31 board. Figure 6-3 Power May 14, 2024 Page 39 of 55 Rev 1.00...
Page 40
NuMaker-HMI-N9H31-A1/A2 6.1.4 N9H31K51IFC Circuit Figure 6-4 shows the of the N9H31K51IFC circuit. Figure 6-4 N9H31K51IFC Circuit May 14, 2024 Page 40 of 55 Rev 1.00...
Page 41
NuMaker-HMI-N9H31-A1/A2 6.1.5 Power-on Setting, Reset and VCOM Figure 6-5 shows the power-on setting, ICE and VCOM circuit of the NuMaker-HMI-N9H31 board. Figure 6-5 Power-on Setting May 14, 2024 Page 41 of 55 Rev 1.00...
Page 42
NuMaker-HMI-N9H31-A1/A2 6.1.6 Memory Figure 6-6 shows the SPI (only SPI Flash device mounted) and SD circuit of the NuMaker-HMI-N9H31 board. Figure 6-6 Memory May 14, 2024 Page 42 of 55 Rev 1.00...
Page 43
NuMaker-HMI-N9H31-A1/A2 6.1.7 RMII_PF Figure 6-7 shows the RMII_PF circuit of the NuMaker-HMI-N9H31 board. Figure 6-7 RMII_PF May 14, 2024 Page 43 of 55 Rev 1.00...
Page 44
NuMaker-HMI-N9H31-A1/A2 6.1.8 Audio Codec Figure 6-8 shows the NAU88C22YG Audio Codec circuit of the NuMaker-HMI-N9H31 board. Figure 6-8 Audio Codec May 14, 2024 Page 44 of 55 Rev 1.00...
Page 45
NuMaker-HMI-N9H31-A1/A2 6.1.9 CAN and Extend UART Port Figure 6-9 shows the CAN and Extend UART Port of the NuMaker-HMI-N9H31 board. Figure 6-9 CAN and Extend UART Port Circuit May 14, 2024 Page 45 of 55 Rev 1.00...
Page 46
NuMaker-HMI-N9H31-A1/A2 6.1.10 Figure 6-10 shows the USB 0/1 circuit of the NuMaker-HMI-N9H31 board. Figure 6-10 USB May 14, 2024 Page 46 of 55 Rev 1.00...
Page 47
NuMaker-HMI-N9H31-A1/A2 6.1.11 RS-232 and RS-485 Circuit Figure 6-11 shows the RS-232 and RS-485 circuit of the NuMaker-HMI-N9H31 board. Figure 6-11 RS-232 and RS-485 Circuit May 14, 2024 Page 47 of 55 Rev 1.00...
Page 48
NuMaker-HMI-N9H31-A1/A2 6.1.12 LCD Circuit Figure 6-12 shows the LCD circuit of the NuMaker-HMI-N9H31 board. Figure 6-12 LCD Circuit May 14, 2024 Page 48 of 55 Rev 1.00...
Page 49
NuMaker-HMI-N9H31-A1/A2 6.1.13 PCB Placement Figure 6-13 and Figure 6-14 show the front and rear placement of NuMaker-HMI-N9H31 board. Figure 6-13 Front Placement of NuMaker-HMI-N9H31 Board May 14, 2024 Page 49 of 55 Rev 1.00...
Page 50
NuMaker-HMI-N9H31-A1/A2 Figure 6-14 Rear Placement of NuMaker-HMI-N9H31 Board May 14, 2024 Page 50 of 55 Rev 1.00...
Page 51
NuMaker-HMI-N9H31-A1/A2 NuMaker TFT-LCD5 Board Schematic Figure 6-15 shows circuit of the NuMaker TFT-LCD5 board. Figure 6-15 NuMaker TFT-LCD5 Board May 14, 2024 Page 51 of 55 Rev 1.00...
Page 52
NuMaker-HMI-N9H31-A1/A2 6.2.1 PCB Placement Figure 6-16 and Figure 6-17 show the front and rear placement of NuMaker TFT-LCD5 board. Figure 6-16 Front Placement of NuMaker TFT-LCD5 Board May 14, 2024 Page 52 of 55 Rev 1.00...
Page 53
NuMaker-HMI-N9H31-A1/A2 Figure 6-17 Rear Placement of NuMaker TFT-LCD5 Board May 14, 2024 Page 53 of 55 Rev 1.00...
Page 54
NuMaker-HMI-N9H31-A1/A2 REVISION HISTORY Date Revision Description • 2024.05.14 1.00 Initial version May 14, 2024 Page 54 of 55 Rev 1.00...
Page 55
NuMaker-HMI-N9H31-A1/A2 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-HMI-N9H31-A1 and is the answer not in the manual?
Questions and answers