|
| 1 | +.. zephyr:board:: weact_ra4m1_core |
| 2 | +
|
| 3 | +Overview |
| 4 | +******** |
| 5 | + |
| 6 | +The MCU integrates multiple series of software- and pin-compatible Arm®-based 32-bit |
| 7 | +cores that share a common set of Renesas peripherals to facilitate design scalability |
| 8 | +and efficient platform-based product development. |
| 9 | +The MCU provides an optimal combination of low-power, high-performance Arm Cortex®-M4 core |
| 10 | +running up to 48 MHz with the following features: |
| 11 | + |
| 12 | +**Renesas RA4M1 Microcontroller Group** |
| 13 | + |
| 14 | +- R7FA4M1AB3CFM |
| 15 | +- 64-pin LQFP package |
| 16 | +- 48 MHz Arm® Cortex®-M4 core with Floating Point Unit (FPU) |
| 17 | +- 32 KB SRAM |
| 18 | +- 256 KB code flash memory |
| 19 | +- 8 KB data flash memory |
| 20 | + |
| 21 | +**Connectivity** |
| 22 | + |
| 23 | +- A Device USB connector for the Main MCU |
| 24 | +- A SWD interface is also provided for connecting optional external debuggers and |
| 25 | + programmers. |
| 26 | +- 1 User button, 1 User LED |
| 27 | +- Pin headers for access to power and signals for the Main MCU |
| 28 | + |
| 29 | +**Multiple clock sources** |
| 30 | + |
| 31 | +- Main MCU oscillator crystals, providing precision 16.000 MHz and 32,768 Hz external reference |
| 32 | + clocks |
| 33 | +- Additional low-precision clocks are available internal to the Main MCU |
| 34 | + |
| 35 | +**General purpose I/O ports** |
| 36 | + |
| 37 | +- One jumper to allow measuring of Main MCU current |
| 38 | +- Copper jumpers on PCB bottom side for configuration and access to selected MCU signals |
| 39 | + |
| 40 | +**Operating voltage** |
| 41 | + |
| 42 | +- External 5 V input through the USB-C connector supplies the on-board power regulator to power |
| 43 | + logic and interfaces on the board. |
| 44 | +- A red board status LED indicating availability of regulated power. |
| 45 | +- A blue User LED, controlled by the Main MCU firmware. |
| 46 | +- A user push-button switch, controlled by the Main MCU firmware. |
| 47 | +- MCU reset push-button switch. |
| 48 | +- MCU boot configuration button. |
| 49 | + |
| 50 | +Hardware |
| 51 | +******** |
| 52 | + |
| 53 | +Detailed hardware features can be found at: |
| 54 | + |
| 55 | +- RA4M1 MCU: `RA4M1 Group User's Manual Hardware`_ |
| 56 | +- RA4M1_Core Schematic: `Ra4m1-core Schematic`_ |
| 57 | + |
| 58 | +Supported Features |
| 59 | +================== |
| 60 | + |
| 61 | +.. zephyr:board-supported-hw:: |
| 62 | +
|
| 63 | +Programming and Debugging |
| 64 | +************************* |
| 65 | + |
| 66 | +.. zephyr:board-supported-runners:: |
| 67 | +
|
| 68 | +Applications for the ``weact_ra4m1_core`` board can be built, flashed, and debugged |
| 69 | +in the usual way. See :ref:`build_an_application` and :ref:`application_run` |
| 70 | +for more details on building and running. |
| 71 | + |
| 72 | +Flashing |
| 73 | +======== |
| 74 | + |
| 75 | +Program can be flashed to WeAct RA4M1-Core via an external SEGGER J-Link debugger. |
| 76 | +SEGGER J-link's drivers are available at https://www.segger.com/downloads/jlink/ |
| 77 | + |
| 78 | +To flash the program to board |
| 79 | + |
| 80 | +1. Connect to J-Link OB via USB port to host PC |
| 81 | + |
| 82 | +2. Make sure J-Link connection is correct to the board's SWD pins. |
| 83 | + |
| 84 | +3. Execute west command |
| 85 | + |
| 86 | + .. code-block:: console |
| 87 | +
|
| 88 | + west flash -r jlink |
| 89 | +
|
| 90 | +Debugging |
| 91 | +========= |
| 92 | + |
| 93 | +You can use Segger Ozone (`Segger Ozone Download`_) for a visual debug interface |
| 94 | + |
| 95 | +Once downloaded and installed, open Segger Ozone and configure the debug project |
| 96 | +like so: |
| 97 | + |
| 98 | +* Target Device: R7FA4M1AB |
| 99 | +* Target Interface: SWD |
| 100 | +* Target Interface Speed: 4 MHz |
| 101 | +* Host Interface: USB |
| 102 | +* Program File: <path/to/your/build/zephyr.elf> |
| 103 | + |
| 104 | +**Note:** It's verified that we can debug OK on Segger Ozone v3.30d so please use this or later |
| 105 | +version of Segger Ozone |
| 106 | + |
| 107 | +References |
| 108 | +********** |
| 109 | +.. _RA4M1 Group User's Manual Hardware: |
| 110 | + https://www.renesas.com/us/en/document/mah/renesas-ra4m1-group-users-manual-hardware?r=1054146 |
| 111 | + |
| 112 | +.. _Ra4m1-core Schematic: |
| 113 | + https://github.com/WeActStudio/WeActStudio.RA4M1_64Pin_CoreBoard/blob/master/Hardware/WeAct-RA4M1_CoreBoard_V10%20SchDoc.pdf |
| 114 | + |
| 115 | +.. _Segger Ozone Download: |
| 116 | + https://www.segger.com/downloads/jlink#Ozone |
0 commit comments