Renesas RH850 Zephyr Support - renesas/zephyr GitHub Wiki

The following content in this page describes current Zephyr support status for Renesas RH850 Automotive MCU family, for detail about RH850 MCUs, please visit RH850 Automotive Microcontrollers (MCUs)

Table of contents


Overview

This page describes the content of Renesas RH850 MCU Zephyr components, restrictions and points for caution. This product is an Beta version of the product under development. Please read the following notes carefully before using this product.

Latest release tag: wip_rh850_260630

System Requirements

The Renesas RH850 MCU is currently supported on Zephyr latest.

Supported Host OS

  • Ubuntu version 24.04 LTS and later
  • Windows 10 or 11

Development Environments

For development environment setup, please refer to the Getting started.

For getting the Zephyr source code step, please use the following command instead of the default west initialization command to get wip_rh850 repository:

Additional Software Preparation:

NOTE:

Work In Progress (WIP) branch

Branch name Information
ZephyrOs:wip_rh850 Includes Zephyr OS, device drivers, board support, and related components.
hal_renesas:wip_rh850 Includes the HAL layer of Renesas RH850 Automotive MCU FSP source code

Supported Device List

Group name Number of pins Chip Part Number/SoC Name
RH850 U2A16 516 R7F702300EBBG-C
RH850 U2A16 516 R7F702300AEBBC-C
RH850 U2A16 516 R7F702300BEBBC-C
RH850 U2B10 468 R7F70254xFABG-C
RH850 U2B10 468 R7F70254xAFABG-C
RH850 U2B10 292 R7F70254xAFABB-C
RH850 U2C8 292 R7F702600AFABB-C
RH850 U2C8 292 R7F702600FABB-C

Supported Board List

Board name (Zephyr board name) Status Samples and demo Hardware connection
Y-RH850-U2A-516PIN-PB-T1-V1 (pb_rh850u2a_516pin) Available on Renesas wip_rh850 branch RH850-U2A-516PIN Sample and Demo hardware configuration
Y-RH850-U2B-292PIN-PB-T1-V1 (pb_rh850u2b_292pin) Available on Renesas wip_rh850 branch RH850-U2B-292PIN Sample and Demo hardware configuration
Y-RH850-U2B-468PIN-PB-T1-V1 (pb_rh850u2b_468pin) Available on Renesas wip_rh850 branch RH850-U2B-468PIN Sample and Demo hardware configuration
Y-RH850-U2C-292PIN-PB-T1-V1 (pb_rh850u2c_292pin) Available on Renesas wip_rh850 branch RH850-U2C-292PIN Sample and Demo hardware configuration

HWIP and Driver List

Renesas HW IP Mapping to Zephyr Status Board
ADCK/ADCJ ADC Available on Renesas wip_rh850 branch All available devices
RS-CANFD CAN Available on Renesas wip_rh850 branch All available devices
Clock control Clock Control Available on Renesas wip_rh850 branch All available devices
OSTM Counter Available on Renesas wip_rh850 branch All available devices
KCRC CRC Available on Renesas wip_rh850 branch All available devices
DMAC DMA Available on Renesas wip_rh850 branch All available devices
Ethernet T1S Ethernet Available on Renesas wip_rh850 branch only RH850 U2C8
Ethernet PHY Ethernet Available on Renesas wip_rh850 branch only RH850 U2C8
External Interrupt Interrupt Controller Available on Renesas wip_rh850 branch All available devices
RIIC I2C Available on Renesas wip_rh850 branch only RH850 U2A16/U2B10
I/O Ports GPIO Pinctrl Available on Renesas wip_rh850 branch All available devices
OSTM System Timer Available on Renesas wip_rh850 branch All available devices
RLIN3 (UART) UART Available on Renesas wip_rh850 branch All available devices
RTCA RTC Available on Renesas wip_rh850 branch only RH850 U2C8/U2A16
MSPI SPI Available on Renesas wip_rh850 branch All available devices
WDTB Watchdog Available on Renesas wip_rh850 branch All available devices
TAUD PWM Available on Renesas wip_rh850 branch All available devices

Build and Flash guideline

Following steps are required for build and flashing Zephyr binary image to Renesas RH850 MCU U2x board.

Currently RH850 arch hasn't support on Zephyr SDK yet, so we need to setup IAR RH850 toolchain.

Build environment setup:

  • Set Zephyr toolchain variant to IAR: $ export ZEPHYR_TOOLCHAIN_VARIANT=iar

  • Export IAR toolchain PATH for Zephyr build system: $ export IAR_TOOLCHAIN_PATH=<path/to/your/rh850>

    e.g

    $ export IAR_TOOLCHAIN_PATH=/opt/toolchains/IAR/ewrh850-3.20.2/bin/rh850

Build command:

  • When executing the build command on a different board, replace the board name/SoC name (pb_rh850u2b_292pin/r7f70254xafabb-c) with the corresponding target values.

    e.g: $ west build -b pb_rh850u2b_292pin/r7f70254xafabb-c -p always samples/hello_world

  • Once the build is completed successfully, apply the common flash command as described below:

Flash command: $ west flash -- --tool-opt="-auth id FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -osc 20“

Samples

Refer to the “RH850 Sample and Demo Hardware Configuration” section in the sidebar for instructions on executing the sample for each board.


Limitations

No Item Description of limitations
1 UART When running at a baud rate of 1 Mbps, the processing time is slower than the rate at which new bytes are received, causing an overrun error.
2 ADC The current implementation supports only the following basic ADC features (applies to both the ADCK and ADCJ drivers): 10-bit and 12-bit unsigned right-aligned raw data acquisition. Default MPX value only. Software-triggered conversion only (no A/D timer, hardware or external trigger). One selected scan group per Zephyr ADC request. CPU-based result read only (no DMA/DTC transfer). No oversampling, differential channels, programmable gain or acquisition-time control.
3 CAN The current implementation supports only the following basic CANFD features: Transmit Buffer. Receive Buffer, Receive FIFO, Common FIFO Receive Mode. Internal Loopback and Inter-channel Test Mode. Receive Filter (Acceptance Filter List). Error Bit Detection, Bus Error Warning/Passive and Bus-Off reporting.
4 PWM Only PWM Output Function is supported (no input capture, compare or edge detection). Slave channels assigned to the same master share the same PWM period.
5 I2C Controller (master) mode only; target (slave) mode is not supported. Supported bus speeds are Standard, Fast and Fast-plus; High-speed mode is not supported. Transfers are blocking only (no asynchronous API); no bus-recovery support.

Next Release

Relase version Relase date Release Scope
Beta2 release Oct 31 2026 (Subject to be changed) I2S, PWM3P, Ethernet TSN, PSI5, RSENT