-
Notifications
You must be signed in to change notification settings - Fork 7.8k
boards: renesas: Add support Renesas ek_ra4c1 board #94074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kartben
merged 12 commits into
zephyrproject-rtos:main
from
renesas:support_renesas_ek_ra4c1
Aug 19, 2025
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
1feed6f
manifest: Update hal_renesas for RA4C1 support
khoa-nguyen-18 f9293d6
dts: arm: renesas: ra: Add support for Renesas RA4C1 soc
khoa-nguyen-18 e8fedcc
boards: renesas: Add support for Renesas ek_ra4c1 board
khoa-nguyen-18 36eeb61
tests: drivers: adc: Add support test ADC for ek_ra4c1
khoa-nguyen-18 2d93eae
tests: drivers: i2c: Add support test I2C for ek_ra4c1
khoa-nguyen-18 7be0a12
tests: drivers: pwm: Add support test PWM for ek_ra4c1
khoa-nguyen-18 897a68c
tests: drivers: spi: Add support spi test for ek_ra4c1
khoa-nguyen-18 1706aaa
tests: drivers: uart: Add support test UART for ek_ra4c1
khoa-nguyen-18 37d0429
tests: boards: renesas: elc: Add support test app elc for ek_ra4c1
khoa-nguyen-18 2421c29
tests: drivers: counter: Add support counter_basic_api for ek_ra4c1
khoa-nguyen-18 887f9d8
samples: drivers: counter: Add support alarm for Renesas ek_ra4c1
khoa-nguyen-18 dd5b101
samples: boards: renesas: elc: Add support sample elc for ek_ra4c1
khoa-nguyen-18 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Copyright (c) 2025 Renesas Electronics Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
config BOARD_EK_RA4C1 | ||
select SOC_R7FA4C1BD3CFP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Copyright (c) 2025 Renesas Electronics Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
board_runner_args(jlink "--device=R7FA4C1BD") | ||
board_runner_args(pyocd "--target=R7FA4C1BD") | ||
|
||
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) | ||
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
board: | ||
name: ek_ra4c1 | ||
full_name: RA4C1 Evaluation Kit | ||
vendor: renesas | ||
socs: | ||
- name: r7fa4c1bd3cfp |
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
.. zephyr:board:: ek_ra4c1 | ||
|
||
Overview | ||
******** | ||
|
||
The EK-RA4C1, an Evaluation Kit for the RA4 Series, enables users to seamlessly evaluate | ||
the features of the RA4C1 MCU group. The users can use rich on-board features along with | ||
their choice of popular ecosystems add-ons to bring their big ideas to life. | ||
|
||
The key features of the EK-RA4C1 board are categorized in three groups (consistent with | ||
the architecture of the kit) as follows: | ||
|
||
**Renesas RA4C1 Microcontroller Group** | ||
|
||
- R7FA4C1BD3CFP MCU (referred to as RA MCU) | ||
- 80 MHz, Arm® Cortex®-M33 core | ||
- 512 KB Code Flash, 96 KB SRAM | ||
- 100 pins, LQFP package | ||
- Native pin access through 3 x 26-pin headers (not populated) | ||
- Tamper Detection embedded into J4 | ||
- Segment LCD Board Interface | ||
- MCU current measurement points for precision current consumption measurement | ||
- Multiple clock sources – RA MCU oscillator and sub-clock oscillator crystals, | ||
providing precision 8.000 MHz and 32,768 Hz reference clocks. Additional low-precision | ||
clocks are available internal to the RA MCU | ||
|
||
**System Control and Ecosystem Access** | ||
|
||
- Two 5 V input sources | ||
|
||
- USB (Debug) | ||
- External Power Supply 2-pin header (not populated) | ||
|
||
- Three Debug modes | ||
|
||
- Debug on-board (SWD) | ||
- Debug in (SWD) | ||
- Debug out (SWD, SWO and JTAG) | ||
|
||
- User LEDs and buttons | ||
|
||
- Three User LEDs (red, blue, green) | ||
- Power LED (white) indicating availability of regulated power | ||
- Debug LED (yellow) indicating the debug connection | ||
- Two User buttons | ||
- One Reset button | ||
|
||
- Five most popular ecosystems expansions | ||
|
||
- Two Seeed Grove® system (I2C/Analog) connectors (not populated) | ||
- SparkFun® Qwiic® connector (not populated) | ||
- Two Digilent PmodTM (SPI, UART and I2C) connectors | ||
- Arduino™ (UNO R3) connector | ||
- MikroElektronikaTM mikroBUS connector (not populated) | ||
|
||
- MCU boot configuration jumper | ||
- Low Voltage Mode voltage input and operation | ||
|
||
**Special Feature Access** | ||
- 32 MB (256 Mb) External Quad-SPI Flash | ||
- CAN-FD (3-pin header) | ||
- External Battery Connector | ||
- Configuration Switch | ||
|
||
Hardware | ||
******** | ||
|
||
Detailed hardware features can be found at: | ||
- RA4C1 MCU: `RA4C1 Group User's Manual Hardware`_ | ||
- EK-RA4C1 board: `EK-RA4C1 - User's Manual`_ | ||
|
||
Supported Features | ||
================== | ||
|
||
.. zephyr:board-supported-hw:: | ||
|
||
Programming and Debugging | ||
************************* | ||
|
||
.. zephyr:board-supported-runners:: | ||
|
||
Flashing | ||
======== | ||
|
||
Program can be flashed to EK-RA4C1 via the on-board SEGGER J-Link debugger. | ||
SEGGER J-link's drivers are avaialbe at https://www.segger.com/downloads/jlink/ | ||
|
||
To flash the program to board | ||
|
||
1. Connect to J-Link OB via USB port to host PC | ||
|
||
2. Make sure J-Link OB jumper is in default configuration as describe in `EK-RA4C1 - User's Manual`_. | ||
Note: SW4-4 needs to be set to OFF | ||
|
||
3. Execute west command | ||
|
||
.. code-block:: console | ||
|
||
west flash -r jlink | ||
|
||
References | ||
********** | ||
khoa-nguyen-18 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
.. target-notes:: | ||
|
||
.. _EK-RA4C1 Website: | ||
https://www.renesas.com/en/design-resources/boards-kits/ek-ra4c1 | ||
|
||
.. _RA4C1 MCU group Website: | ||
https://www.renesas.com/en/products/ra4c1 | ||
|
||
.. _EK-RA4C1 - User's Manual: | ||
https://www.renesas.com/en/document/mat/ek-ra4c1-users-manual | ||
|
||
.. _RA4C1 Group User's Manual Hardware: | ||
https://www.renesas.com/en/document/mah/ra4c1-group-users-manual-hardware | ||
khoa-nguyen-18 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* Copyright (c) 2025 Renesas Electronics Corporation | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
&pinctrl { | ||
sci4_default: sci4_default { | ||
group1 { | ||
/* tx rx */ | ||
psels = <RA_PSEL(RA_PSEL_SCI_0, 2, 7)>, | ||
<RA_PSEL(RA_PSEL_SCI_0, 2, 6)>; | ||
}; | ||
}; | ||
|
||
spi0_default: spi0_default { | ||
group1 { | ||
/* MISO MOSI RSPCK SSL */ | ||
psels = <RA_PSEL(RA_PSEL_SPI, 1, 10)>, | ||
<RA_PSEL(RA_PSEL_SPI, 1, 9)>, | ||
<RA_PSEL(RA_PSEL_SPI, 1, 11)>, | ||
<RA_PSEL(RA_PSEL_SPI, 1, 12)>; | ||
}; | ||
}; | ||
|
||
adc0_default: adc0_default { | ||
group1 { | ||
/* input */ | ||
psels = <RA_PSEL(RA_PSEL_ADC, 0, 2)>; | ||
renesas,analog-enable; | ||
}; | ||
}; | ||
|
||
pwm4_default: pwm4_default { | ||
group1 { | ||
/* GTIOC4A GTIOC4B */ | ||
psels = <RA_PSEL(RA_PSEL_GPT1, 3, 2)>, | ||
<RA_PSEL(RA_PSEL_GPT1, 3, 1)>; | ||
}; | ||
}; | ||
|
||
iic1_default: iic1_default { | ||
group1 { | ||
/* SCL1 SDA1 */ | ||
psels = <RA_PSEL(RA_PSEL_I2C, 4, 0)>, | ||
<RA_PSEL(RA_PSEL_I2C, 4, 1)>; | ||
drive-strength = "medium"; | ||
}; | ||
}; | ||
|
||
canfd0_default: canfd0_default { | ||
group1 { | ||
/* CRX0 CTX0 */ | ||
psels = <RA_PSEL(RA_PSEL_CANFD, 1, 3)>, | ||
<RA_PSEL(RA_PSEL_CANFD, 1, 2)>; | ||
drive-strength = "high"; | ||
}; | ||
}; | ||
}; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.