RZV2L‐SMARC Sample and Demo hardware configuration - renesas/zephyr GitHub Wiki
Followings are hardware connection and test samples for RZ/V2L-SMARC, for more detail on 1st setup hardware connection, please visit RZ/V2L Group User's Manual: Hardware and RZ/V Getting Started with Flexible Software Package
Default HW configuration
| HW | Configurations | Remark |
|---|---|---|
| SW11[1:4] | OFF, OFF, OFF, ON | Boot mode 3(QSPI Boot (1.8V) Mode) |
| SW1-1 | OFF | JTAG Debug mode |
The UART port is accessed by connecting Pmod USBUART to the upper side of PMOD 1.
Hardware connection for UART samples
-
echo_bot (samples/drivers/uart/echo_bot):
- Hardware configuration: No additional connection.
- Build command:
west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 samples/drivers/uart/echo_bot
-
zTest uart_basic_api (tests/drivers/uart/uart_basic_api):
- Hardware configuration: No additional connection.
- Build command:
west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 tests/drivers/uart/uart_basic_api
Hardware connection for GPIO samples
-
zTest gpio_api_1pin (tests/drivers/gpio/gpio_api_1pin):
- Hardware configuration: No additional connection
- Build command:
west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 tests/drivers/gpio/gpio_api_1pin
-
zTest gpio_basic_api (tests/drivers/gpio/gpio_basic_api):
-
Hardware configuration:
- Wire P43_1 (Pmod0 - 10) to pin P43_2 (Pmod0 - 8)
-
Build command:
west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 tests/drivers/gpio/gpio_basic_api
-
Hardware connection for ADC samples
-
ADC with devicetree (samples/drivers/adc/adc_dt)
- HW configuration: No additional connection.
- Build command:
$ west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 samples/drivers/adc/adc_dt
-
ADC sequence sample (samples/drivers/adc/adc_sequence)
- HW configuration: No additional connection.
- Build command:
$ west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 samples/drivers/adc/adc_sequence
-
zTest adc_api (tests/drivers/adc/adc_api)
- HW configuration: No additional connection.
- Build command:
$ west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 tests/drivers/adc/adc_api
Hardware connection for Counter samples
-
Counter Alarm (samples/drivers/counter/alarm)
- HW configuration: No additional connection.
- Build command:
$ west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 samples/drivers/counter/alarm
-
zTest counter_basic_api (tests/drivers/counter/counter_basic_api)
- HW configuration: No additional connection.
- Build command:
$ west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 tests/drivers/counter/counter_basic_api
Hardware connection for I2C samples
- zTest i2c_api (tests/drivers/i2c/i2c_api)
- HW configuration: Connect the GY271 sensor module to PMOD 1 (SMARC Carrier Board) as per the following pin configuration
GY271 PMOD 1 VCC Pin 6 GND Pin 5 SCL Pin 3 SDA Pin 4 DDBY - - Build command:
$ west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 tests/drivers/i2c/i2c_api
- HW configuration: Connect the GY271 sensor module to PMOD 1 (SMARC Carrier Board) as per the following pin configuration
Hardware connection for PWM samples
-
zTest pwm_api (tests/drivers/pwm/pwm_api)
- HW configuration: PWM output via PMOD 0, pin 7
- Build command:
$ west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 tests/drivers/pwm/pwm_api
-
zTest pwm_loopback (tests/drivers/pwm/pwm_loopback)
- HW configuration: wire PMOD 0, pin 7 (GPT ch6 - GTIOCA) to PMOD 0, pin 9(GPT ch7 - GTIOCA)
- Build command:
$ west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 tests/drivers/pwm/pwm_loopback
Hardware connection for SPI samples
- SPI bitbang (samples/drivers/spi_bitbang)
- HW configuration: wire PMOD 0, pin 2 to PMOD 0, pin 3
- Build command:
$ west build -p always -b rzv2l_smarc/r9a07g054l23gbg/cm33 samples/drivers/spi_bitbang