Renesas RA Zephyr Support - renesas/zephyr GitHub Wiki
The following content in this page describe current Zephyr support status for Renesas RA MCU family, for detail about RA MCU, please visit RA Series 32-bit MCUs with Arm Cortex-M Core
Table of contents
- Table of contents
- List of supported RA devices on Zephyr
- HWIP support status
- Build and Flash guideline
- WIP integration branch information
- Special sample application
List of supported RA devices on Zephyr
HWIP support status
Board Macros used in following table:
-
RA8x1: EK-RA8M1, EK-RA8D1, MCK-RA8T1.
-
RA6 (CM4): EK-RA6M1, EK-RA6M2, EK-RA6M3, FPB-RA6E1, FPB-RA6E2, EK-RA6E2.
-
RA6 (CM33): EK-RA6M4, EK-RA6M5.
-
RA4 (CM4): EK-RA4M1, EK-RA4W1
-
RA4 (CM33): EK-RA4E2, FPB-RA4E1, Voice-RA4E1, EK-RA4M2, EK-RA4M3, EK-RA4L1
-
RA2: EK-RA2A1, EK-RA2L1.
| Renesas HW IP | Mapping to Zephyr | Status | Board |
|---|---|---|---|
| I/O Ports | GPIO | Available | All available devices |
| SCI (UART) | UART | Available | RA6 (CM33), RA4 (CM4), RA4 (CM33), RA2 |
| SCI (Simple I2C) | I2C (Master) | Planning | - |
| SCI (Simple SPI) | SPI | Planning for v4.3 | RA6 (CM4), RA6 (CM33), RA4 (CM4), RA4 (CM33), RA2 |
| SCI_B (UART) | UART | Available | RA8x1, EK-RA8P1 |
| SCI_B (Simple I2C) | I2C (Master) | Available | RA8x1, EK-RA8P1 |
| SCI_B (Simple SPI) | SPI | Planning for v4.3 | RA8x1, EK-RA8P1 |
| RSPI | SPI | Available | RA6 (CM33), RA6 (CM4), RA4 (CM4), RA4 (CM33), RA2 |
| RSPI_B | SPI | Available | RA8x1, EK-RA8P1 |
| RIIC | I2C (Master) | Available | RA8x1, RA6 (CM33), RA4 (CM4), RA4 (CM23), EK-RA2A1, EK-RA8P1 |
| CANFD | CAN | Available | RA8x1, EK-RA4E2, FPB-RA6E2, EK-RA6E2 |
| Flash HP | Flash | Available | RA8x1, RA6 (CM33), EK-RA4E2, FPB-RA4E1, Voice-RA4E1, EK-RA4M2, EK-RA4M3 |
| Flash LP | Flash | PR in progress #89471 | EK-RA4M1, EK-RA4W1, EK-RA2A1, EK-RA2L1 |
| ULPT | System Timer | Available | RA8x1, EK-RA8P1 |
| LPM | System Power Management | Available | RA8x1, EK-RA8P1 |
| CGC | Clock control | Available | All available devices |
| DTC | - | Available | All available devices |
| RSIP-E51A | TRNG (Entropy) | Available | RA8x1 |
| SCE5 | TRNG (Entropy) | Available | EK-RA4M1, EK-RA4W1 |
| SCE7 | TRNG (Entropy) | Available | EK-RA6M3, EK-RA6M2, EK-RA6M1 |
| SCE9 | TRNG (Entropy) | Available | EK-RA6M5, EK-RA6M4, FPB-RA6E1, EK-RA4M3, EK-RA4M2, FPB-RA4E1, Voice-RA4E1 |
| TRNG | TRNG (Entropy) | Available | FPB-RA6E2, EK-RA6E2, EK-RA4E2 |
| OSPI | Flash (OSPI) | Available | EK-RA8M1, EK-RA8D1 |
| QSPI | Flash (QSPI) | PR in progress #78959 | EK-RA6M3, EK-RA6M4, EK-RA6M5, EK-RA6E2 |
| SDHI | SDHC | Available | RA8x1, EK-RA8P1 |
| ADC12 | ADC | Available | RA8x1, RA6 (CM33), RA4 (CM4), RA4 (CM33) |
| GPT | PWM | Available | All available devices |
| AGT | Counter | Available | All available devices |
| USB HS (device) | USB device next | Available | RA8x1, RA6 (CM33), EK-RA6M3 |
| USB HS (host) | USB host next | PR in progress #82730 | RA8x1 |
| USB FS (device) | USB device next | Available | RA8x1, RA6 (CM33), RA4 (CM4), RA4 (CM33) |
| USB FS (host) | USB host next | Planning | RA8x1 |
| MIPI-DSI | MIPI-DSI | Available | EK-RA8D1 |
| GLCDC | Display | Available | EK-RA8D1, EK-RA8P1 |
| ETHERC EDMAC | Ethernet | Available | RA8x1, EK-RA6M3 |
| DAC12 | DAC | Available | RA8x1, RA6 (CM33), RA4 (CM4), RA4 (CM33), EK-RA2A1 |
| WDT | Watchdog | Available | All available devices (except EK-RA8P1) |
| ACMPHS | ACMPHS | Available | RA8x1, EK-RA8P1 |
| CRC | CRC | PR in progress #87557 | All available devices (except EK-RA8P1) |
| ELC | ELC | Available | All available devices (except EK-RA8P1) |
| SSIE | I2S | Available | EK-RA8M1, EK-RA8D1, EK-RA4L1 |
| I3C | I3C | Available | RA8x1, EK-RA4E2, EK-RA4L1 |
| DMAC | DMA | PR in progress #91115 | All available devices (except EK-RA8P1) |
| CEU | Video | PR in progress #92146 | EK-RA8D1 |
| CTSU | Input | PR in progress #92433 | EK-RA2A1, RSSK-RA2L1 |
Build and Flash guideline
For required tool and environment setup to develop Zephyr, please check: Getting started guide
Build command:
$ west build -b ek-ra8m1 -p always samples/basic/blinky
Flash command:
$ west flash
WIP integration branch information
| Branch name | Information |
|---|---|
| wip_ra | Work in progress for RA platforms. Includes features not yet upstreamed and changes currently under review in open Pull Requests. |
Additions in wip_ra compared to Zephyr main:
| Area | Features |
|---|---|
| Low-power | Common LPM-based power management for RA SoCs (RA8x1/RA8x2 migration, RA8 poweroff) and PM support across key RA drivers (ADC, CAN, I2C, SPI, SDHC, counters, GLCDC, MIPI-DSI, USB UDC, WDT, etc.). |
| Wake-up Controller | Renesas RA LPM WUC driver plus test coverage, including 2 new samples located in samples/boards/renesas/lpm. |
| Low power timer | ULPT counter driver with RA8 ULPT DT/binding updates and tests. |
| LIN | New LIN controller API, initial RA SCI_B LIN driver support, DT updates, LIN Click shield support, documentation, and samples/tests. |
| USB host | Renesas RA USB host controller (UHC) driver with DT/board enablement and USB shell sample support. |
| Storage/SD | SDHC/SDIO updates (IRQ/card detect, CMD53, in-band interrupts, SDIO interrupt wiring) and RA8M2 SDHC configuration. |
| Flash/Partitions | Migrate RA Flash-HP/Flash-LP partitions and related board DT/tests to mapped-partition (align with Zephyr partitioning updates). |
| OSPI | OSPI NOR support for RA8x2 boards, OSPI_B driver refactor with XIP mode, littlefs sample/test, EK-RA8M2 OSPI boot variant, and external flash writer utility sample. |
| Crypto | ML-DSA 87 post-quantum digital signature support across Zephyr and MCUboot (bootloader verification, imgtool signing, crypto tests, and sysbuild integration). |
| RMAC enhancements | VLAN/promiscuous, ESWM port forward, fixed-link handling and bridge sample overlay updates. |
| SoC/tooling | Enable I/D-cache (RA8M1/RA8T1), ARM_MPU enablement (RA8D1), clock-control sys_clk selection fix, hal_renesas revision update. |
| ETHERC enhancements | Support network DMA buffer allocation into No-Cache memory and Zero-copy in HAL layer. |
| ADC_B | Renesas ADC_B support for RA8x2 series |
For on going PR on Zephyr upstream activity regarding Renesas RA MCU series on Zephyr, please visit: https://github.com/zephyrproject-rtos/zephyr/labels/platform%3A%20Renesas%20RA