Ultra-low power audio codec with stereo class d drivers and ground referenced headphone amplifier with advanced headset detection (96 pages)
Summary of Contents for Nuvoton NuMicro MA35D1 BSP
Page 1
MA35D1 BSP User Manual 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.
MA35D1 BSP OVERVIEW The MA35D1 series microprocessor is based on a poweful Armv8-A architecture dual-core ARM ® Cortex-A35 with TrustZone , which features 32 KB I-cache, 32 KB D-cache, and 512 KB L2 Cache. The internal 64/32-bit CPU core operates up to 1 GHz supporting secure boot. The MA35D1 also embeds a ARM Cortex-M4 processor core running at 180 MHz with 16 KB / 16 KB I and D Cache for expansible system DRAM access, Floating Point Unit, Memory Protect Unit and a dedicated 128 KB SRAM for code excuting.
MA35D1 BSP BSP FEATURES This BSP supports Linux operating system for MA35D1. The peripheral drivers are also included in the BSP allowing applications to access them. The image reside at EL3 as secure monitor is BL31 from Trusted Firmware-A (TF-A), which is included. And this BSP includes OP-TEE to provide the secure service provided in secure EL1.
MA35D1 BSP for MA35D1. Pin Tool A pin configuration tool that can generate dts file for MA35D1. NuEclipse Includes a series of Eclipse plug-ins and tools. The plug-ins allow the user to create, build, and debug ARM-based projects within the Eclipse framework Table 2-1 BSP Content List Repositories The following lists the repositories holds the MA35D1BSP source code.
MA35D1 BSP DEVELOPMENT BOARD SETUP Power on Setting There are several boot options can be decided by power on setting of MA35D1. For example, the boot source, ECC bit to use, SD interface selection, etc. Table 3-1 lists the power on setting for MA35D1. The power on setting should be set according to the boot scenario desired before reset or power on the system.
MA35D1 BSP Hardware Connection All boards manufactured by Nuvoton come alone with two USB device ports. One for download firmware and the other is VCOM for debugging. NuWriter tool comes alone with GUI and command line interface provided for firmware download. Please refer to MA35D1 NuWriter User Manual for the usage of NuWriter tool.
Page 8
MA35D1 BSP Figure 3-2 Setup Serial Port Figure 3-3 Select Port Number For engineers to develop on a native Linux machine where, Putty could be an alternative for Tera Term which does not support Linux platform. To use putty, first launch it and select the connection interface.
Some of the platforms provide JTAG interface which could be used to debug Cortex-A35 or Cortex- M4. This is a 20-pin socket with fool-proof connector on EVB board as shown in Figure 3-6. Users could use Nuvoton Nu-Link2 Pro, J&D Tech CodeViser, or other debugger supports CoreSight SoC- 400.
MA35D1 BSP DEVELOPMENT ENVIRONMENT SETUP This section describes the steps to build up the BSP dev elopement environment without using Yocto or Buildroot. Please refer to MA35D1 Yocto User Manual or MA35D1 Buildroot User Manual for setting up the development environment using Yocto or Buildroot. Linux Development Environment Except for Coretx-M4 bare-metal firmware, the development environment in based on Linux system.
MA35D1 BSP Figure 4-2 Linaro Tool Chain Download Selection Coretx-M4 firmware Development Environment Keil uVision, IAR Embedded Workbench, and NuEclipse are used as bare metal firmware development environment. NuEclipse supports both Windows ® and Linux operating system while Keil uVision and IAR Embedded Workbench are available on Windows ®...
Power-On-Setting and OTP. To setup an USB connection between MA35D1 and computer, Nuvoton provides a tool named NuWriter. This tool first loads a system initial firmware to MA35D1, and then send a second firmware named xusb.bin to take over the USB connection and storage access on MA35D1 after the system initial firmware finish execution.
MA35D1 BSP Boot from SPI NAND Flash The MA35D1 supports booting from SPI NAND Flash using QSPI0 interface. Compared to parallel NAND Flash, SPI NAND uses less pins to connect with microprocessors. So microprocessors can save the pins for other purpose. Depending on the Power-On-Setting and OTP, IBR can set the SPI clock to 50 MHz or 30 MHz and read data from SPI Flash using 1-bit mode or quad mode.
MA35D1 BSP Start Enable QSPI clock Set 1-bit MFP Set QSPI clock (OTP) QSPI control setting Reset NAND (0xff) busy Read header 0 (block 0~3) ready one page data Get status Read 512 bytes (0xf) Read header 1 (block 0~3) one page data Check R/B# status Read 512 bytes...
MA35D1 BSP BOOTING PREBUILD IMAGES The MA35D1 BSP contains pre-built images for different hardware. Please refer to this section for the procedures to load prebuild images to different hardware and bring up the system. SOM Board The MA35D1 evaluation board supports booting from several storage devices. Each boot source required different images to bring up the system.
MA35D1 BSP glibc/deploy/images/numaker-som-ma35d16a81 directory. 6.1.3 Boot from NAND Flash Configure the PG[3:2] = 10b (SW4[3] ON, SW4[4] OFF), the IBR will read images from NAND Flash. The packed binary file “core-image-buildroot-ma35d1-som-256m.rootfs.nand” in Buildroot is used for NAND Flash boot. This file is put at MA35D1_Buildroot/output/images directory. The packed binary file “nvt-image-qt5-numaker-som-ma35d16a81-yyyymmddhhmmss.rootfs.nand”...
MA35D1 BSP Yocto is used for SD card boot. The file is put at build/tmp-glibc/deploy/images/numaker-iot- ma35d16f70 directory. 6.2.3 Boot from NAND Flash Configure the PG[3:2] = 00b, (SW1[2] ON, SW1[3] OFF), the IBR will read images from NAND Flash. The packed binary file “core-image-buildroot-ma35d1-iot-128m.rootfs.nand” in Buildroot is used for NAND boot.
MA35D1 BSP REVISION HISTORY Date Revision Description 2022.03.02 1.00 Initial version. Changed Yoctol and Build output image. 2022.05.28 1.01 Updated board pictures. Updated out-of-date figures and added hyper link to 2023.01.03 1.02 reference document Jan. 03, 2023 Page 24 of 25 Rev 1.02...
Page 25
MA35D1 BSP 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 MA35D1 BSP and is the answer not in the manual?
Questions and answers