RH850‐U2B‐468PIN Sample and Demo hardware configuration - renesas/zephyr GitHub Wiki
Followings are hardware connection and test samples for Y-RH850-U2B-468PIN-PB-T1-V1, for more detail on how to setup hardware connection, please visit RH850/U2B 468pin User's Manual: Piggyback Board .
Table of contents
Default UART Connection
| HW | Board Pin | Remark |
|---|---|---|
| UART0_TX (P02_6) | CN15_51 | connect to USB-TTL module RX pin |
| UART0_RX (P02_5) | CN15_53 | 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_468pin/r7f70254xafabg-c 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_468pin/r7f70254xafabg-c tests/drivers/uart/uart_basic_api
GPIO Sample
-
Blinky (samples/basic/blinky): Simple LED blinky
-
Hardware configuration:
LED Signal Jumper Configuration LED2 CN17 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_1 CN14_8 Connect to P34_0 (CN5_7) -
Build command:
west build -p always -b pb_rh850u2c_292pin/r7f702600afabb-c tests/drivers/gpio/gpio_basic_api
-