RZN2L‐RSK Sample and Demo hardware configuration - renesas/zephyr GitHub Wiki
Followings are hardware connection and test samples for RZ/N2L-RSK, for more detail on 1st setup hardware connection, please visit Renesas Starter Kit+ for RZ/N2L User's Manual and RZ/T2, RZ/N2 Getting Started with Flexible Software Package
Default HW configuration
| HW | Configurations | Remark |
|---|---|---|
| SW4[1:3] | ON, ON, ON | xSPI0 boot mode (x1 boot Serial flash) |
| CN24 | Jumper on pins 1-2 | VCC1833_3 is 1.8V |
| CN8 | Jumper on pins 2-3 | On-board QSPI Serial Flash (IC21) |
| J9 | Open | J-Link OB |
The UART port is accessed by USB-Serial port (CN16).
Hardware connection for UART samples
-
echo_bot (samples/drivers/uart/echo_bot):
- Hardware configuration: No additional connection.
- Build command:
west build -p always -b rzn2l_rsk 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 rzn2l_rsk tests/drivers/uart/uart_basic_api
Hardware connection for GPIO samples
-
Blinky (samples/basic/blinky): Simple LED blinky
- HW configuration: No additional connection.
- Build command:
$ west build -p always -b rzn2l_rsk samples/basic/blinky
-
Button (samples/basic/button): Simple button test
- HW configuration: No additional connection.
- Build command:
$ west build -p always -b rzn2l_rsk samples/basic/button
-
zTest gpio_api_1pin (tests/drivers/gpio/gpio_api_1pin):
- Hardware configuration: No additional connection
- Build command:
west build -p always -b rzn2l_rsk tests/drivers/gpio/gpio_api_1pin
-
zTest gpio_basic_api (tests/drivers/gpio/gpio_basic_api):
-
Hardware configuration:
- Wire pin P02_1 (CN1-12) to pin P02_0 (CN1-3)
- SW4-7 = ON
-
Build command:
west build -p always -b rzn2l_rsk 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 rzn2l_rsk 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 rzn2l_rsk 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 rzn2l_rsk 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 rzn2l_rsk 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 rzn2l_rsk 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 Mikro Bus as per the following pin configuration
GY271 Mikro Bus VCC Pin 6 GND GND SCL SCL SDA SDA DDBY - - Build command:
$ west build -p always -b rzn2l_rsk tests/drivers/i2c/i2c_api
- HW configuration: Connect the GY271 sensor module to Mikro Bus as per the following pin configuration
Hardware connection for PWM samples
-
zTest pwm_api (tests/drivers/pwm/pwm_api)
- HW configuration: PWM output via J25 pin 7
- Build command:
$ west build -p always -b rzn2l_rsk tests/drivers/pwm/pwm_api
-
zTest pwm_loopback (tests/drivers/pwm/pwm_loopback)
- HW configuration: wire J25 (PMOD2) pin 7 (GPT ch4 - GTIOCA) to J26 (PMOD1) pin 8 (GPT ch5 - GTIOCB)
- Build command:
$ west build -p always -b rzn2l_rsk tests/drivers/pwm/pwm_loopback
Hardware connection for SPI samples
- SPI bitbang (samples/drivers/spi_bitbang)
- HW configuration: wire MikroBus pin 5 (MISO) to MikroBus pin 6 (MOSI)
- Build command:
$ west build -p always -b rzn2l_rsk samples/drivers/spi_bitbang