R Car X5H Ironhide Sample and Demo hardware configuration - renesas/zephyr GitHub Wiki
Followings are hardware connection and test samples for the R-Car X5H Ironhide board.
Default UART connection
| Physical Interface | Location | Software Interface | Converter | Further Information |
|---|---|---|---|---|
| CN44_USB_PORT (USB 2.0 Micro-B) | CPU Board | SCIF1/HSCIF0 | FT2232H-56Q | Default Zephyr serial on SCIF1/ Linux serial on HSCIF0 |
The default UART port can be accessed by connecting a USB 2.0 Micro-B cable to the CN44_USB_PORT on the board.
Open a serial terminal, such as Tera Term or minicom, with the following settings:
- Speed: 115200
- Data: 8 bits
- Parity: None
- Stop bits: 1
Build and Flash Guideline
For required tool and environment setup to develop Zephyr, please check: System Requirements
1. Build Command
west build -p always -b rcar_ironhide_x5h/r8a7800/r52 <application_path>
2. Flash Command
At this time, no direct flashing method is officially supported by this Zephyr port. However, it is possible to load the Zephyr binary via specific method.
UART Sample
-
- Hardware configuration: refer to default UART connection.
- Build command:
$ west build -b rcar_ironhide_x5h/r8a7800/r52 -p always samples/hello_world
- Flash command: refer to 2. Flash Command.
-
echo_bot (samples/drivers/uart/echo_bot):
- Hardware configuration: refer to default UART connection.
- Build command:
west build -p always -b rcar_ironhide_x5h/r8a7800/r52 samples/drivers/uart/echo_bot
- Flash command: refer to 2. Flash Command.
-
zTest uart_basic_api (tests/drivers/uart/uart_basic_api):
- Hardware configuration: refer to default UART connection.
- Build command:
west build -p always -b rcar_ironhide_x5h/r8a7800/r52 tests/drivers/uart/uart_basic_api
- Flash command: refer to 2. Flash Command.
GPIO Sample
-
Blinky (samples/basic/blinky): Simple LED blinky
- HW configuration: refer to default UART connection.
- Build command:
$ west build -p always -b rcar_ironhide_x5h/r8a7800/r52 samples/basic/blinky - Flash command: refer to 2. Flash Command.
-
Button (samples/basic/button): Simple button test
- HW configuration: refer to default UART connection.
- Build command:
$ west build -p always -b rcar_ironhide_x5h/r8a7800/r52 samples/basic/button - Flash command: refer to 2. Flash Command.