|
| 1 | +.. _ek_ra6m1: |
| 2 | + |
| 3 | +RA6M1 Evaluation Kit |
| 4 | +#################### |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +The Renesas RA6M1 microcontroller is the entry point to the Renesas RA6 product |
| 10 | +series for applications that require a high-performance Arm® Cortex®-M4 core at |
| 11 | +a very attractive price point. The RA6M1 is built on a highly efficient 40nm process |
| 12 | +and is supported by an open and flexible ecosystem concept—the Flexible Software |
| 13 | +Package (FSP), built on FreeRTOS—and is expandable to use other RTOSes and middleware. |
| 14 | +The RA6M1 is suitable for IoT applications requiring security, large embedded RAM and |
| 15 | +low power consumption. |
| 16 | + |
| 17 | +The key features of the EK-RA6M1 board are categorized in three groups as follow: |
| 18 | + |
| 19 | +**MCU Native Pin Access** |
| 20 | +- R7FA6M1AD3CFP |
| 21 | +- 100-pin LQFP package |
| 22 | +- 120 MHz Arm® Cortex®-M4 core with Floating Point Unit (FPU) |
| 23 | +- 256 KB SRAM |
| 24 | +- 512 KB code flash memory |
| 25 | +- 8 KB data flash memory |
| 26 | + |
| 27 | +**Connectivity** |
| 28 | +- A Device USB connector for the Main MCU |
| 29 | +- S124 MCU-based SEGGER J-Link® On-Board interface for debugging and programming of the |
| 30 | +RA6M1 MCU. A 10-pin JTAG/SWD interface is also provided for connecting optional external |
| 31 | +debuggers and programmers. |
| 32 | +- Two PMOD connectors, allowing use of appropriate PMOD compliant peripheral plug-in modules for |
| 33 | +rapid prototyping |
| 34 | +- Pin headers for access to power and signals for the Main MCU |
| 35 | + |
| 36 | +**Multiple clock sources** |
| 37 | +- Main MCU oscillator crystals, providing precision 12.000 MHz and 32,768 Hz external reference |
| 38 | +clocks |
| 39 | +- Additional low-precision clocks are available internal to the Main MCU |
| 40 | + |
| 41 | +**General purpose I/O ports** |
| 42 | +- One jumper to allow measuring of Main MCU current |
| 43 | +- Copper jumpers on PCB bottom side for configuration and access to selected MCU signals |
| 44 | +**Operating voltage** |
| 45 | +- External 5 V input through the Debug USB connector supplies the on-board power regulator to power |
| 46 | +logic and interfaces on the board. External 5 V or 3.3 V may be also supplied through alternate |
| 47 | +locations on the board. |
| 48 | +- A two-color board status LED indicating availability of regulated power and connection status of the J-Link |
| 49 | +interface. |
| 50 | +- A red User LED, controlled by the Main MCU firmware |
| 51 | +- A User Push-Button switch, User Capacitive Touch Button sensor, and an optional User Potentiometer, |
| 52 | +all of which are controlled by the Main MCU firmware |
| 53 | +- MCU reset push-button switch |
| 54 | +- MCU boot configuration jumper |
| 55 | + |
| 56 | +**Special Feature Access** |
| 57 | + |
| 58 | +- USB Full Speed Debug and Device (micro-AB connector) |
| 59 | + |
| 60 | +.. figure:: ek-ra6m1-board.webp |
| 61 | + :align: center |
| 62 | + :alt: RA6M1 Evaluation Kit |
| 63 | + |
| 64 | + EK-RA6M1 Board Functional Area Definitions (Credit: Renesas Electronics Corporation) |
| 65 | + |
| 66 | +Hardware |
| 67 | +******** |
| 68 | +Detailed hardware feature for the RA6M1 MCU group can be found at `RA6M1 Group User's Manual Hardware`_ |
| 69 | + |
| 70 | +.. figure:: ra6m1-block-diagram.webp |
| 71 | + :width: 442px |
| 72 | + :align: center |
| 73 | + :alt: RA6M1 MCU group feature |
| 74 | + |
| 75 | + RA6M1 Block diagram (Credit: Renesas Electronics Corporation) |
| 76 | + |
| 77 | +Detailed hardware feature for the EK-RA6M1 MCU can be found at `EK-RA6M1 - User's Manual`_ |
| 78 | + |
| 79 | +Supported Features |
| 80 | +================== |
| 81 | + |
| 82 | +The below features are currently supported on Zephyr OS for EK-RA6M1 board: |
| 83 | + |
| 84 | ++-----------+------------+----------------------+ |
| 85 | +| Interface | Controller | Driver/Component | |
| 86 | ++===========+============+======================+ |
| 87 | +| GPIO | on-chip | gpio | |
| 88 | ++-----------+------------+----------------------+ |
| 89 | +| MPU | on-chip | arch/arm | |
| 90 | ++-----------+------------+----------------------+ |
| 91 | +| NVIC | on-chip | arch/arm | |
| 92 | ++-----------+------------+----------------------+ |
| 93 | +| UART | on-chip | serial | |
| 94 | ++-----------+------------+----------------------+ |
| 95 | + |
| 96 | +Other hardware features are currently not supported by the port. |
| 97 | + |
| 98 | +Programming and Debugging |
| 99 | +************************* |
| 100 | + |
| 101 | +Applications for the ``ek_ra6m1`` board target configuration can be |
| 102 | +built, flashed, and debugged in the usual way. See |
| 103 | +:ref:`build_an_application` and :ref:`application_run` for more details on |
| 104 | +building and running. |
| 105 | + |
| 106 | +Flashing |
| 107 | +======== |
| 108 | + |
| 109 | +Program can be flashed to EK-RA6M1 via the on-board SEGGER J-Link debugger. |
| 110 | +SEGGER J-link's drivers are avaialbe at https://www.segger.com/downloads/jlink/ |
| 111 | + |
| 112 | +To flash the program to board |
| 113 | + |
| 114 | + 1. Connect to J-Link OB via USB port to host PC |
| 115 | + |
| 116 | + 2. Make sure J-Link OB jumper is in default configuration as describe in `EK-RA6M1 - User's Manual`_ |
| 117 | + |
| 118 | + 3. Execute west command |
| 119 | + |
| 120 | + .. code-block:: console |
| 121 | +
|
| 122 | + west flash -r jlink |
| 123 | +
|
| 124 | +Debugging |
| 125 | +========= |
| 126 | + |
| 127 | +You can use Segger Ozone (`Segger Ozone Download`_) for a visual debug interface |
| 128 | + |
| 129 | +Once downloaded and installed, open Segger Ozone and configure the debug project |
| 130 | +like so: |
| 131 | + |
| 132 | +* Target Device: R7FA6M1AD |
| 133 | +* Target Interface: SWD |
| 134 | +* Target Interface Speed: 4 MHz |
| 135 | +* Host Interface: USB |
| 136 | +* Program File: <path/to/your/build/zephyr.elf> |
| 137 | + |
| 138 | +**Note:** It's verified that we can debug OK on Segger Ozone v3.30d so please use this or later |
| 139 | +version of Segger Ozone |
| 140 | + |
| 141 | +References |
| 142 | +********** |
| 143 | +- `EK-RA6M1 Website`_ |
| 144 | +- `RA6M1 MCU group Website`_ |
| 145 | + |
| 146 | +.. _EK-RA6M1 Website: |
| 147 | + https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ra-cortex-m-mcus/ek-ra6m1-evaluation-kit-ra6m1-mcu-group |
| 148 | + |
| 149 | +.. _RA6M1 MCU group Website: |
| 150 | + https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ra-cortex-m-mcus/ra6m1-32-bit-microcontrollers-120mhz-optimized-entry-point-ra6-series |
| 151 | + |
| 152 | +.. _EK-RA6M1 - User's Manual: |
| 153 | + https://www.renesas.com/us/en/document/mat/ek-ra6m1-v1-users-manual |
| 154 | + |
| 155 | +.. _RA6M1 Group User's Manual Hardware: |
| 156 | + https://www.renesas.com/us/en/document/mah/renesas-ra6m1-group-users-manual-hardware?r=1054156 |
| 157 | + |
| 158 | +.. _Segger Ozone Download: |
| 159 | + https://www.segger.com/downloads/jlink#Ozone |
0 commit comments