1.. _fpb_ra6e1:
2
3RA6E1 Fast Prototyping Board
4############################
5
6Overview
7********
8
9The Renesas RA6E1 group uses the high-performance Arm® Cortex®-M33 core with
10TrustZone®. The RA6E1 is suitable for entry IoT applications requiring streamlined
11feature and connectivity integration including Ethernet, and unprecedented performance
12with 790.75 CoreMark, which are 3.95CoreMark / Mhz.
13
14The key features of the FPB-RA6E1 board are categorized in three groups as follow:
15
16**MCU Native Pin Access**
17
18- 200MHz Arm Cortex-M33 based RA6E1 MCU in 100 pins, LQFP package
19- Native pin access through 2 x 50-pin male headers (not fitted)
20- MCU current measurement point for precision current consumption measurement
21- Multiple clock sources - Low-precision (~1%) clocks are available internal to
22  the RA MCU. RA MCU oscillator and sub-clock oscillator crystals, providing
23  precision 24.000 MHz (not fitted) and 32,768 Hz reference clocks are also available
24
25**System Control and Ecosystem Access**
26
27- Two 5V input sources
28
29  - USB (Debug, Full Speed, High Speed)
30  - External power supply (using 2-pin header) (not fitted)
31
32- Built-in SEGGER J-Link Emulator On-Board programmer/debugger (SWD)
33
34- User LEDs and buttons
35
36  - Two User LEDs (green)
37  - Power LED (green) (not fitted) indicating availability of regulated power
38  - Debug/power LED (yellow) indicating power and the debug connection
39  - One User button
40  - One Reset button
41
42- Two popular ecosystems expansions
43
44  - Two Digilent PmodTM (SPI, UART) connectors (not fitted)
45  - Arduino (Uno R3) connector
46
47- MCU boot configuration jumper
48
49.. figure:: fpb_ra6e1.webp
50	:align: center
51	:alt: RA6E1 Fast Prototyping Board
52
53	FPB-RA6E1 Board Functional Area Definitions (Credit: Renesas Electronics Corporation)
54
55Hardware
56********
57Detailed hardware feature for the RA6E1 MCU group can be found at `RA6E1 Group User's Manual Hardware`_
58
59.. figure:: ra6e1_block_diagram.webp
60	:width: 442px
61	:align: center
62	:alt: RA6E1 MCU group feature
63
64	RA6E1 Block diagram (Credit: Renesas Electronics Corporation)
65
66Detailed hardware feature for the FPB-RA6E1 MCU can be found at `FPB-RA6E1 - User's Manual`_
67
68Supported Features
69==================
70
71The below features are currently supported on Zephyr OS for FPB-RA6E1 board:
72
73+-----------+------------+----------------------+
74| Interface | Controller | Driver/Component     |
75+===========+============+======================+
76| GPIO      | on-chip    | gpio                 |
77+-----------+------------+----------------------+
78| MPU       | on-chip    | arch/arm             |
79+-----------+------------+----------------------+
80| NVIC      | on-chip    | arch/arm             |
81+-----------+------------+----------------------+
82| UART      | on-chip    | serial               |
83+-----------+------------+----------------------+
84| FLASH     | on-chip    | flash                |
85+-----------+------------+----------------------+
86| I2C       | on-chip    | i2c                  |
87+-----------+------------+----------------------+
88| SPI       | on-chip    | spi                  |
89+-----------+------------+----------------------+
90| COUNTER   | on-chip    | counter              |
91+-----------+------------+----------------------+
92| ADC       | on-chip    | adc                  |
93+-----------+------------+----------------------+
94| PWM       | on-chip    | pwm                  |
95+-----------+------------+----------------------+
96
97Other hardware features are currently not supported by the port.
98
99Programming and Debugging
100*************************
101
102Applications for the ``fpb_ra6e1`` board target configuration can be
103built, flashed, and debugged in the usual way. See
104:ref:`build_an_application` and :ref:`application_run` for more details on
105building and running.
106
107Flashing
108========
109
110Program can be flashed to FPB-RA6E1 via the on-board SEGGER J-Link debugger.
111SEGGER J-link's drivers are avaialbe at https://www.segger.com/downloads/jlink/
112
113To flash the program to board
114
115  1. Connect to J-Link OB via USB port to host PC
116
117  2. Make sure J-Link OB jumper is in default configuration as describe in `FPB-RA6E1 - User's Manual`_
118
119  3. Execute west command
120
121	.. code-block:: console
122
123		west flash -r jlink
124
125Debugging
126=========
127
128You can use Segger Ozone (`Segger Ozone Download`_) for a visual debug interface
129
130Once downloaded and installed, open Segger Ozone and configure the debug project
131like so:
132
133* Target Device: R7FA6E10F
134* Target Interface: SWD
135* Target Interface Speed: 4 MHz
136* Host Interface: USB
137* Program File: <path/to/your/build/zephyr.elf>
138
139**Note:** It's verified that we can debug OK on Segger Ozone v3.30d so please use this or later
140version of Segger Ozone
141
142References
143**********
144- `FPB-RA6E1 Website`_
145- `RA6E1 MCU group Website`_
146
147.. _FPB-RA6E1 Website:
148   https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ra-cortex-m-mcus/fpb-ra6e1-fast-prototyping-board-ra6e1-mcu-group#overview
149
150.. _RA6E1 MCU group Website:
151   https://www.renesas.com/us/en/products/microcontrollers-microprocessors/ra-cortex-m-mcus/ra6e1-200mhz-arm-cortex-m33-entry-line-high-performance-streamlined-connectivity
152
153.. _FPB-RA6E1 - User's Manual:
154   https://www.renesas.com/us/en/document/mat/fpb-ra6e1-users-manual
155
156.. _RA6E1 Group User's Manual Hardware:
157   https://www.renesas.com/us/en/document/mah/ra6e1-group-users-manual-hardware
158
159.. _Segger Ozone Download:
160   https://www.segger.com/downloads/jlink#Ozone
161