|
| 1 | +.. _ek_ra8m1: |
| 2 | + |
| 3 | +RA8M1 Evaluation Kit |
| 4 | +#################### |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +The EK-RA8M1 is an Evaluation Kit for Renesas RA8M1 MCU Group which is the first |
| 10 | +32-bits MCUs based on new Arm Cortex-M85. The kit offer multiple external interface |
| 11 | +and peripherals set optimized on board allows user to seamlessly evaluate the features |
| 12 | +of the RA8M1 MCU and develop embedded system application in various field. |
| 13 | + |
| 14 | +The key features of the EK-RA8M1 board are categorized in three groups as follow: |
| 15 | + |
| 16 | +**MCU Native Pin Access** |
| 17 | + |
| 18 | +- 480MHz Arm Cortex-M85 based RA8M1 MCU in 224 pins, BGA package |
| 19 | +- Native pin acces througgh 2 x 50-pin, and 2 x 40-pin male headers |
| 20 | +- MCU current measurement points for precision current consumption measurement |
| 21 | +- Multiple clock sources - RA8M1 MCU oscillator and sub-clock oscillator crystals, |
| 22 | + providing precision 20.000MHz and 32,768 Hz refeence clocks. |
| 23 | + Additional low precision clocks are avaialbe internal to the RA8M1 MCU |
| 24 | + |
| 25 | +**System Control and Ecosystem Access** |
| 26 | + |
| 27 | +- USB Full Speed Host and Device (micro-AB connector) |
| 28 | +- Four 5V input sources |
| 29 | + |
| 30 | + - USB (Debug, Full Speed, High Speed) |
| 31 | + - External power supply (using surface mount clamp test points and power input vias) |
| 32 | + |
| 33 | +- Three Debug modes |
| 34 | + |
| 35 | + - Debug on-board (SWD) |
| 36 | + - Debug in (ETM, SWD and JTAG) |
| 37 | + - Debug out (SWD) |
| 38 | + |
| 39 | +- User LEDs and buttons |
| 40 | + |
| 41 | + - Three User LEDs (red, blue, green) |
| 42 | + - Power LED (white) indicating availability of regulated power |
| 43 | + - Debug LED (yellow) indicating the debug connection |
| 44 | + - Two User buttons |
| 45 | + - One Reset button |
| 46 | + |
| 47 | +- Five most popular ecosystems expansions |
| 48 | + |
| 49 | + - Two Seeed Grove system (I2C/I3C) connectors |
| 50 | + - One SparkFun Qwiic connector |
| 51 | + - Two Digilent Pmod (SPI, UART and I2C/I3C) connectors |
| 52 | + - Arduino (Uno R3) connector |
| 53 | + - MikroElektronika mikroBUS connector |
| 54 | + |
| 55 | +- MCU boot configuration jumper |
| 56 | + |
| 57 | +**Special Feature Access** |
| 58 | + |
| 59 | +- Ethernet (RJ45 RMII interface) |
| 60 | +- USB High Speed Host and Device (micro-AB connector) |
| 61 | +- 512 Mb (64 MB) External Octo-SPI Flash (present in the MCU Native Pin Access area of the EK-RA8M1 board) |
| 62 | +- CAN FD (3-pin header) |
| 63 | + |
| 64 | +.. figure:: ek-ra8m1-board.jpg |
| 65 | + :align: center |
| 66 | + :alt: RA8M1 Evaluation Kit |
| 67 | + |
| 68 | + EK-RA8M1 Board Functional Area Definitions (Credit: Renesas Electronics Corporation) |
| 69 | + |
| 70 | +Hardware |
| 71 | +******** |
| 72 | +Detail Hardware feature for the RA8M1 MCU group can be found at `RA8M1 Group User's Manual Hardware`_ |
| 73 | + |
| 74 | +.. figure:: ra8m1-block-diagram.jpg |
| 75 | + :width: 442px |
| 76 | + :align: center |
| 77 | + :alt: RA8M1 MCU group feature |
| 78 | + |
| 79 | + RA8M1 Block diagram (Credit: Renesas Electronics Corporation) |
| 80 | + |
| 81 | +Detail Hardware feature for the EK-RA8M1 MCU can be found at `EK-RA8M1 - User's Manual`_ |
| 82 | + |
| 83 | +Supported Features |
| 84 | +================== |
| 85 | + |
| 86 | +The below features are currently supported on Zephyr OS for EK-RA8M1 board: |
| 87 | + |
| 88 | ++-----------+------------+----------------------+ |
| 89 | +| Interface | Controller | Driver/Component | |
| 90 | ++===========+============+======================+ |
| 91 | +| GPIO | on-chip | gpio | |
| 92 | ++-----------+------------+----------------------+ |
| 93 | +| MPU | on-chip | arch/arm | |
| 94 | ++-----------+------------+----------------------+ |
| 95 | +| NVIC | on-chip | arch/arm | |
| 96 | ++-----------+------------+----------------------+ |
| 97 | +| UART | on-chip | serial | |
| 98 | ++-----------+------------+----------------------+ |
| 99 | + |
| 100 | +Other hardware features are currently not supported by the port. |
| 101 | + |
| 102 | +Programming and Debugging |
| 103 | +************************* |
| 104 | + |
| 105 | +Applications for the ``ek_ra8m1`` board configuration can be |
| 106 | +built, flashed, and debugged in the usual way. See |
| 107 | +:ref:`build_an_application` and :ref:`application_run` for more details on |
| 108 | +building and running. |
| 109 | + |
| 110 | +**Note:** Only support from SDK v0.16.6 in which GCC for Cortex Arm-M85 was available. |
| 111 | +To build for EK-RA8M1 user need to get and install GNU Arm Embedded toolchain from https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.6 |
| 112 | + |
| 113 | +Flashing |
| 114 | +======== |
| 115 | + |
| 116 | +Program can be flashed to EK-RA8M1 via the on-board SEGGER J-Link debugger. |
| 117 | +SEGGER J-link's drivers are avaialbe at https://www.segger.com/downloads/jlink/ |
| 118 | + |
| 119 | +To flash the program to board |
| 120 | + |
| 121 | + 1. Connect to J-Link OB via USB port to host PC |
| 122 | + |
| 123 | + 2. Make sure J-Link OB jumper is in default configuration as describe in `EK-RA8M1 - User's Manual`_ |
| 124 | + |
| 125 | + 3. Execute west command |
| 126 | + |
| 127 | + .. code-block:: console |
| 128 | +
|
| 129 | + west flash -r jlink |
| 130 | +
|
| 131 | +Debugging |
| 132 | +========= |
| 133 | + |
| 134 | +You can use Segger Ozone (`Segger Ozone Download`_) for a visual debug interface |
| 135 | + |
| 136 | +Once downloaded and installed, open Segger Ozone and configure the debug project |
| 137 | +like so: |
| 138 | + |
| 139 | +* Target Device: R7FA8M1AH |
| 140 | +* Target Interface: SWD |
| 141 | +* Target Interface Speed: 4 MHz |
| 142 | +* Host Interface: USB |
| 143 | +* Program File: <path/to/your/build/zephyr.elf> |
| 144 | + |
| 145 | +**Note:** It's verified that we can debug OK on Segger Ozone v3.30d so please use this or later |
| 146 | +version of Segger Ozone |
| 147 | + |
| 148 | +References |
| 149 | +********** |
| 150 | +- `EK-RA8M1 Website`_ |
| 151 | +- `RA8M1 MCU group Website`_ |
| 152 | + |
| 153 | +.. _EK-RA8M1 Website: |
| 154 | + https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ra-cortex-m-mcus/ek-ra8m1-evaluation-kit-ra8m1-mcu-group |
| 155 | + |
| 156 | +.. _RA8M1 MCU group Website: |
| 157 | + https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ra-cortex-m-mcus/ra8m1-480-mhz-arm-cortex-m85-based-microcontroller-helium-and-trustzone |
| 158 | + |
| 159 | +.. _EK-RA8M1 - User's Manual: |
| 160 | + https://www.renesas.com/us/en/document/mat/ek-ra8m1-users-manual |
| 161 | + |
| 162 | +.. _RA8M1 Group User's Manual Hardware: |
| 163 | + https://www.renesas.com/us/en/document/mah/ra8m1-group-users-manual-hardware |
| 164 | + |
| 165 | +.. _Segger Ozone Download: |
| 166 | + https://www.segger.com/downloads/jlink#Ozone |
| 167 | + |
| 168 | +.. _zephyr-sdk-0.16.5-6-ge895c4e_linux-x86_64: |
| 169 | + https://github.com/zephyrproject-rtos/sdk-ng/suites/22342313531/artifacts/1379111922 |
0 commit comments