|
| 1 | +.. zephyr:board:: rza3m_ek |
| 2 | +
|
| 3 | +Overview |
| 4 | +******** |
| 5 | + |
| 6 | +The EK-RZ/A3M evaluation kit enables users to easily evaluate the features of the RZ/A3M MPU. |
| 7 | +This kit includes an EK-RZ/A3M board, 5-inch 720x1280 pixel LCD MIPI graphics expansion board, and |
| 8 | +USB cables, allowing the seamless evaluation of high-definition human machine interface (HMI), camera |
| 9 | +input through USB, and more features. Equipped with an on-board J-Link debugger, users can |
| 10 | +conveniently start debugging without additional debuggers. |
| 11 | +Additionally, it also has several expansion connectors such as SDIO, PMOD,and Arduino to connect |
| 12 | +sensors, Wi-Fi, and Bluetooth® Low Energy (LE), allowing users to add more features without |
| 13 | +expanding the board space. |
| 14 | + |
| 15 | +* Special Feature Access |
| 16 | + |
| 17 | + * MIPI DSI 4 lanes & parallel graphics expansion ports |
| 18 | + * 5-inch MIPI LCD panel (720x1280 pixels) |
| 19 | + * USB High-Speed Host & Device |
| 20 | + * 32MB External QSPI NOR Flash |
| 21 | + * 128MB External QSPI NAND Flash |
| 22 | + * External sound codec |
| 23 | + * External RTC |
| 24 | + |
| 25 | +* MPU Native Pin Access |
| 26 | + |
| 27 | + * R9A07G066M04GBG MPU |
| 28 | + * 1GHz, Arm Cortex®-A55 core w/NEON extension |
| 29 | + * Built-in 128MB DDR3L DRAM |
| 30 | + * 128KB SRAM w/ECC |
| 31 | + * 244 pins, BGA package |
| 32 | + * Native pin access |
| 33 | + * MPU & USB current measurement |
| 34 | + |
| 35 | +* Ecosystem & System Control Access |
| 36 | + |
| 37 | + * USB High-Speed Host & Device |
| 38 | + * 5V input through USB (Debug, HS, USB-PD) or external power supply |
| 39 | + * Debug on-board (Segger J-Link®) |
| 40 | + * Debug external (SWD & JTAG) |
| 41 | + * SCIF download (SWD) |
| 42 | + * 3 user LEDs & 2 user buttons |
| 43 | + * 2 SeeedGrove® system (I2C & analog) |
| 44 | + * 2 Digilent Pmod™ (I2C, SPI or UART selectable) |
| 45 | + * Arduino™ (Uno R3) |
| 46 | + * MikroElektronika™ mikroBUS |
| 47 | + * SparkFun® Qwiic® (I2C) |
| 48 | + * MPU boot configuration switch |
| 49 | + * Audio In/Out 4-pole |
| 50 | + * MicroSD card slot |
| 51 | + |
| 52 | +* Kit Contents |
| 53 | + |
| 54 | + * EK-RZ/A3M board |
| 55 | + * MIPI graphics expansion board |
| 56 | + * USB cable (USB C to USB C) |
| 57 | + * USB cable (USB A female to USB C) |
| 58 | + * USB cable (USB A male to USB C) |
| 59 | + * Screw and spacer for fixing the sub board |
| 60 | + |
| 61 | +Hardware |
| 62 | +******** |
| 63 | +The Renesas RZ/A3M MPU documentation can be found at `RZ/A3M Group Website`_ |
| 64 | + |
| 65 | +.. figure:: rza3m_block_diagram.webp |
| 66 | + :width: 600px |
| 67 | + :align: center |
| 68 | + :alt: RZ/A3M group feature |
| 69 | + |
| 70 | + RZ/A3M block diagram (Credit: Renesas Electronics Corporation) |
| 71 | + |
| 72 | +Detailed hardware features for the board can be found at `EK-RZ/A3M Website`_ |
| 73 | + |
| 74 | +Supported Features |
| 75 | +================== |
| 76 | + |
| 77 | +.. zephyr:board-supported-hw:: |
| 78 | +
|
| 79 | +Programming and Debugging |
| 80 | +************************* |
| 81 | + |
| 82 | +EK-RZ/A3M uses Initial Program Loader (IPL) to perform initial settings and copy the Zephyr image from flash to DDR SRAM for execution. It only needs to be written to flash once. |
| 83 | + |
| 84 | +There are two options to write IPL: |
| 85 | + |
| 86 | +1. (Recommended) Follow "4. Tutorial: Your First RZ MPU Project - Blinky" of `Getting Started with RZ/A Flexible Software Package`_ |
| 87 | + to start writing a blinky sample with FSP. The IPL will be written to flash by default in debugging time. |
| 88 | + |
| 89 | +2. Follow the `Initial Program Loader Application Note`_ to write the IPL separately. The minimal steps are described below. |
| 90 | + |
| 91 | + a. Follow "5. IPL development environment construction procedure" to prepare the build environment. |
| 92 | + |
| 93 | + b. Follow "6. IPL build environment construction procedure" to build Initial Program Loader. |
| 94 | + If the build is successful, Initial Program Loader file will be generated in /build/a3m/release/a3m_ek_nor_ipl.srec |
| 95 | + |
| 96 | + c. Follow "7.1 Create Debug Configuration" to create a Debug configuration to run Initial Program Loader on the target board. |
| 97 | + |
| 98 | + d. For the board setup and connections, follow "3.2 Board Setup" of `Getting Started with RZ/A Flexible Software Package`_. |
| 99 | + |
| 100 | + e. Follow "7.4 Execution procedure of IPL" to write Initial Program Loader to the target board. |
| 101 | + |
| 102 | +Applications for the ``rza3m_ek`` board can be built in the usual way as |
| 103 | +documented in :ref:`build_an_application`. |
| 104 | + |
| 105 | +Console |
| 106 | +======= |
| 107 | +The UART port is accessed by USB Debug connector (J10). |
| 108 | + |
| 109 | +Debugging |
| 110 | +========= |
| 111 | + |
| 112 | +It is possible to load and execute a Zephyr application binary on this board on the Cortex-A55 System Core |
| 113 | +from the DDR SDRAM, using ``JLink`` debugger (:ref:`jlink-debug-host-tools`). |
| 114 | + |
| 115 | +Here is an example for building and debugging with the :zephyr:code-sample:`hello_world` application. |
| 116 | + |
| 117 | +.. zephyr-app-commands:: |
| 118 | + :zephyr-app: samples/hello_world |
| 119 | + :board: rza3m_ek |
| 120 | + :goals: build debug |
| 121 | + |
| 122 | +Flashing |
| 123 | +======== |
| 124 | + |
| 125 | +Zephyr application can be flashed to Quad-SPI storage and then loaded by Initial Program Loader. |
| 126 | + |
| 127 | +.. zephyr-app-commands:: |
| 128 | + :zephyr-app: samples/hello_world |
| 129 | + :board: rza3m_ek |
| 130 | + :goals: build flash |
| 131 | + |
| 132 | +References |
| 133 | +********** |
| 134 | + |
| 135 | +.. target-notes:: |
| 136 | + |
| 137 | +.. _RZ/A3M Group Website: |
| 138 | + https://www.renesas.com/en/products/microcontrollers-microprocessors/rz-mpus/rza3m-powerful-1ghz-mpus-built-ddr3l-sdram-high-definition-hmi |
| 139 | + |
| 140 | +.. _EK-RZ/A3M Website: |
| 141 | + https://www.renesas.com/en/products/microcontrollers-microprocessors/rz-mpus/ek-rza3m-evaluation-kit-rza3m-mpu |
| 142 | + |
| 143 | +.. _Initial Program Loader Application Note: |
| 144 | + https://github.com/renesas/rza-initial-program-loader/tree/main/application_note |
| 145 | + |
| 146 | +.. _Getting Started with RZ/A Flexible Software Package: |
| 147 | + https://www.renesas.com/en/document/apn/rza-getting-started-flexible-software-package |
0 commit comments