RH850‐U2B‐292PIN Sample and Demo hardware configuration - renesas/zephyr GitHub Wiki

Followings are hardware connection and test samples for Y-RH850-U2B-292PIN-PB-T1-V1, for more detail on how to setup hardware connection, please visit RH850/U2B 292pin User's Manual: Piggyback Board .

Table of contents


Default UART Connection

HW Board Pin Configuration
UART0_TX (P02_6) CN15_44 connect to USB-TTL module RX pin
UART0_RX (P02_5) CN15_43 connect to USB-TTL module TX pin

The UART port can be accessed by connecting a USB-to-TTL converter to the UART0 TX and RX pins.

Flash command

  • Before using the flash command, follow this guide to install the Renesas Flash Programmer (RFP) Host Tools.

  • Then, use the following command to flash the code to the board:

    • west flash -- --tool-opt="-auth id FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -osc 20"

UART Sample

  • echo_bot (samples/drivers/uart/echo_bot):

    • Hardware configuration: refer to default UART connection.
    • Build command:
      • west build -p always -b pb_rh850u2b_292pin samples/drivers/uart/echo_bot
  • zTest uart_basic_api (tests/drivers/uart/uart_basic_api):

    • Hardware configuration: refer to default UART connection.
    • Build command:
      • west build -p always -b pb_rh850u2b_292pin tests/drivers/uart/uart_basic_api

GPIO Sample

  • Blinky (samples/basic/blinky): Simple LED blinky

    • Hardware configuration:

      LED Signal Jumper Configuration
      LED2 CN7 Jumper on pins 15-16
    • Build command: $ west build -p always -b pb_rh850u2c_292pin/r7f702600afabb-c samples/basic/blinky

  • zTest gpio_api_1pin (tests/drivers/gpio/gpio_api_1pin):

    • Hardware configuration: No additional connection
    • Build command: west build -p always -b pb_rh850u2c_292pin/r7f702600afabb-c tests/drivers/gpio/gpio_api_1pin
  • zTest gpio_basic_api (tests/drivers/gpio/gpio_basic_api):

    • Hardware configuration:

      HW Board Pin Configurations
      P34_0 CN5_12 Connect to P34_1 (CN5_11)
    • Build command: west build -p always -b pb_rh850u2c_292pin/r7f702600afabb-c tests/drivers/gpio/gpio_basic_api