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 .
Default UART connection
| HW | Configurations | Remark |
|---|---|---|
| UART0_TX | P02_6 | UART channel 0 TX |
| UART0_RX | P02_5 | UART channel 0 RX |
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"
Hardware connection for UART samples
-
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