# **NuMaker-HMI-MA35D1** ## **Introduction** The NuMaker-HMI-MA35D1 is an evaluation board for Nuvoton NuMicro MA35D1 series microprocessors, and consists of three parts: a NuMaker-SOM-MA35D16A81 SOM board, a NuMaker-BASE-MA35D1B1 base board and a 7 inch TFT-LCD daughter board. The SOM board integrates core components to simplify the system design, based on MA35D16A887C (BGA312 package, and stacking a 256 MB DDR), PMIC power solution, a 16 GB eMMC Flash, and two Gigabit Ethernet PHY. The NuMaker-HMI-MA35D1-S1 has rich peripherals such as 2 sets of Gigabit Ethernet, USB2.0 high-speed host and device, 2 sets of CAN FD, and SPI, I2C, UART, RS-485 serial communication ports for users to facilitate the evaluation in HMI and industrial control, home appliances, 2-wheel cluster, medical device, new energy applications, ML (Machine Learning) or your creative applications. The NuMicro MA35D1 series is a heterogeneous multi-core microprocessor targeted to high-end edge IIoT gateway. It is based on dual 64-bit Arm Cortex-A35 cores, and one 180 MHz Arm Cortex-M4 core. Based on the high-performance cores, the MA35D1 series facilities the tiny AI/ML for edge computing. The MA35D1 supports 16-bit DDR2 and DDR3/DDR3L SDRAM. For an easy system design and manufacture, the MA35D1 series also offers LQFP and BGA packages stacked with the DDR2/DDR3L SDRAM and density up to 512 MB, which significantly reduces PCB layer, size and electromagnetic interference (EMI).

fishy

|NuMaker-BASE-MA35D1B1|NuMaker-SOM-MA35D16A81|7-inch LCD Panel| |--|--|--| |

fishy

|

fishy

|

fishy

| ## **NuMaker-SOM-MA35D16A81 Features** ## **NuMaker-BASE-MA35D1B1 Features** ## **Supported compiler** Support GCC compiler. More information of these compiler version as following: | Compiler | Tested version | | -- | -- | | GCC | Arm Embedded Toolchain 10.3-2021.10 (Env 1.3.5 embedded version)| ## **Build RT-Thread** You can build rt-thread.bin for NuMaker-HMI-MA35D1 board. Steps as following. Notice, the building will include **ma35-rtp/rtthread.bin** file into **numaker-hmi-ma35d1/rtthread.bin** for heterogeneous multi-core demonstration. ```bash # cd rt-thread/bsp/nuvoton/numaker-hmi-ma35d1 # menuconfig --generate # scons -c # pkgs --update Cloning into '\bsp\bsp\nuvoton\numaker-hmi-ma35d1\packages\LVGL-latest'... remote: Enumerating objects: 67821, done. remote: Counting objects: 100% (1085/1085), done. remote: Compressing objects: 100% (608/608), done. remote: Total 67821 (delta 512), reused 964 (delta 476), pack-reused 66736 Receiving objects: 100% (67821/67821), 109.32 MiB | 572.00 KiB/s, done. Resolving deltas: 100% (52349/52349), done. Updating files: 100% (1248/1248), done. ==============================> LVGL latest is downloaded successfully. ... ==============================> OPTPARSE latest is downloaded successfully. ==============================> wavplayer update done ==============================> ramdisk update done ==============================> optparse update done Operation completed successfully. # scons -j 16 … … LINK rtthread.elf arm-none-eabi-objcopy -O binary rtthread.elf rtthread.bin arm-none-eabi-size rtthread.elf text data bss dec hex filename 1208928 14828 15507944 16731700 ff4e34 rtthread.elf scons: done building targets. \bsp\nuvoton\numaker-hmi-ma35d1\rtthread.bin ``` ## **Program firmware using NuWriter** To switch SW4 dip-switch on NuMaker-BASE-MA35D1B1 to do corresponding actions as below. **Power-on Setting** L: OFF dip-switch H: ON dip-switch | Memory Storage | **Burn to** settings | **Boot from** settings | |--|--|--| | **DDR** | | | | **EMMC**
(Select eMMC1 device and 8-bit mode) | | | | **Raw NAND**
(Select Ignore BCH and Page setting) | | | | **Serial NAND**
(Select 4-bit mode) | | ### **Download to DDR and Run** You can run windows batch script to download rtthread.bin into memory, then run it. The path of batch script as below. ```bash \bsp\nuvoton\numaker-hmi-ma35d1\nuwriter_scripts\nuwriter_ddr_download_and_run.bat ```

### **Burn to EMMC** You can run windows batch script to download rtthread.bin into emmc flash, then run it. The path of batch script as below. ```bash \bsp\nuvoton\numaker-hmi-ma35d1\nuwriter_scripts\nuwriter_sd_programming.bat ```

### **Burn to Serial NAND** You can run windows batch script to download rtthread.bin into SPI-NAND flash, then run it. The path of batch script as below. ```bash \bsp\nuvoton\numaker-hmi-ma35d1\nuwriter_scripts\nuwriter_spinand_programming.bat ```

### **Burn to Raw NAND** You can run windows batch script to download rtthread.bin into Raw NAND flash, then run it. The path of batch script as below. ```bash \bsp\nuvoton\numaker-hmi-ma35d1\nuwriter_scripts\nuwriter_nand_programming.bat ```

## **Test** |Connector on board|Wiring|Usage| |-|-|-| |VCOM(CON21)|Use an USB line| rt-thread@CA35 Console | |RS232_16(CON14)|Using an USB to RS232 convert| rt-thread@RTP Console | You can use Tera Term terminate emulator (or other software) to type commands of RTT. All parameters of serial communication are shown in below image. Here, you can find out the corresponding port number of Nuvoton Virtual Com Port in window device manager.

fishy


## **Purchase** * [Nuvoton Direct](https://direct.nuvoton.com/en/numaker-hmi-ma35d1-s1) ## **Resources** * [Download Board Schematics](https://www.nuvoton.com/resource-download.jsp?tp_GUID=HL102022102107140870) * [Download User Manual](https://www.nuvoton.com/resource-download.jsp?tp_GUID=UG132022101900252882) * [Download Datasheet](https://www.nuvoton.com/resource-download.jsp?tp_GUID=DA00-MA35D16) * [Download NuWriter](https://github.com/OpenNuvoton/MA35D1_NuWriter)