FPB‐RX261 Sample Configuration - renesas/zephyr GitHub Wiki
Followings are hardware connection for FPB-RX261, for more detail, please visit FPB-RX261 - Quick Start Guide and FPB-RX261 - User's Manual
Default HW configuration
Zephyr UART Console setting: FPB-RX261 board requires to connect with a USB-UART module to communicate with PC console
e.g. CP2102 USB to TTL UART Serial Converter Module
Pin configuration:
Board | Channel | Board Pin function | Board Pin | Connect to USB-UART |
---|---|---|---|---|
FPB-RX261 | SCI5 | TXD5 | PC3 (PMOD1 - 2) | USB UART RXD pin |
RXD5 | PC2 (PMOD1 - 3) | USB UART TXD pin |
Hardware connection for GPIO samples and tests
-
blinky (
samples/basic/blinky
):-
Hardware configuration: No additional connection
-
Build command:
west build -p always -b fpb_rx261 samples/basic/blinky/
-
-
button (
samples/basic/button
):-
Hardware configuration: No additional connection
-
Build command:
west build -b fpb_rx261 -p always samples/basic/button/
-
-
zTest gpio_basic_api (
tests/drivers/gpio/gpio_basic_api
):-
Hardware configuration: Loopback GPIOD OUTPUT with GPIOD INPUT
Board Channel Board Pin function Board Pin Connect to FPB-RX261 PORTD GPIOD OUTPUT PD0 (J12 - 3) Loopback to GPIOD INPUT pin GPIOD INPUT PD1 (J12 - 4) Loopback to GPIOD OUTPUT pin -
Build command:
west build -b fpb_rx261 -p always tests/drivers/gpio/gpio_basic_api/
-
Hardware connection for UART samples and tests
-
echo_bot (
samples/drivers/uart/echo_bot
):-
Hardware configuration: No additional connection.
-
Build command:
west build -b fpb_rx261 -p always samples/drivers/uart/echo_bot/
-
-
zTest uart_basic_api (
tests/drivers/uart/uart_basic_api
):-
Hardware configuration: No additional connection.
-
Build command:
west build -b fpb_rx261 -p always tests/drivers/uart/uart_basic_api/
-
Hardware connection for SPI tests
-
zTest spi_loopback (
tests/drivers/spi/spi_loopback
):-
HW configuration: Loopback MISO and MOSI
Board Channel Board Pin function Board Pin Connect to FPB-RX261 RSPI0 MOSIA PA6 (J10 - 4) MISOA MISOA PA7 (J10 - 5) MOSIA -
Build command
west build -b fpb_rx261 -p always tests/drivers/spi/spi_loopback
-
Hardware connection for I2C tests
-
zTest i2c_api (tests/drivers/i2c/i2c_api):
-
HW configuration: Require GY-271 QMC 5883L module
Board Channel Board Pin function Board Pin Connect to GY-271 QMC 5883L module FPB-RX261 RIIC0 SCL0 P12 (J10 - 10) SCL SDA0 P13 (J10 - 9) SDA P3V3 P3V3 VCC GND GND GND - - DDBY -
Build command
west build -b fpb_rx261 -p always tests/drivers/i2c/i2c_api
-
Hardware connection for Flash tests
-
zTest flash common (
tests/drivers/flash/common
):-
Hardware configuration: No additional connection.
-
Build command:
west build -p always -b fpb_rx261 tests/drivers/flash/common
-
Hardware connection for Watchdog tests
-
zTest wdt_basic_api (
tests/drivers/watchdog/wdt_basic_api
):-
Hardware configuration: No additional connection.
-
Build command:
west build -b fpb_rx261 -p always tests/drivers/watchdog/wdt_basic_api
-
-
zTest wdt_basic_reset_none (
tests/drivers/watchdog/wdt_basic_reset_none
):-
Hardware configuration: No additional connection.
-
Build command:
west build -b fpb_rx261 -p always tests/drivers/watchdog/wdt_basic_reset_none
-
Hardware connection for ADC tests
-
zTest adc_api (
tests/drivers/adc/adc_api
):-
Hardware configuration: No additional connection.
-
Build command:
west build -p always -b fpb_rx261 tests/drivers/adc/adc_api
-
-
zTest adc_accuracy_test (
tests/drivers/adc/adc_accuracy_test
):-
Hardware configuration: Loopback 3V3 and AN000 (P40).
Board Channel Board Pin function Board Pin Connect to FPB-RX261 S12AD AN000 P40 (J11 - 1) 3V3 3V3 P3V3 (J9 - 4) AN000 -
Build command:
west build -p always -b fpb_rx261 tests/drivers/adc/adc_accuracy_test
-
Hardware connection for LVD samples
-
Samples renesas/lvd (
samples/boards/renesas/lvd
):-
Hardware configuration: Connect the voltage source to the CMPA2 pin.
Board Channel Board Pin function Board Pin Connect to FPB-RX261 LVD2 CMPA2 PE4 (J2 - 24) Voltage source -
Build command:
west build -p always -b fpb_rx261 samples/boards/renesas/lvd
-