RZT2M‐RSK Sample and Demo hardware configuration - renesas/zephyr GitHub Wiki
Followings are hardware connection and test samples for RZ/T2M-RSK, for more detail on 1st setup hardware connection, please visit Renesas Starter Kit+ for RZ/T2M 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) |
| CN17 | Jumper on pins 2-3 | 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 rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 samples/basic/blinky
-
Button (samples/basic/button): Simple button test
- HW configuration: No additional connection.
- Build command:
$ west build -p always -b rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 tests/drivers/gpio/gpio_api_1pin
-
zTest gpio_basic_api (tests/drivers/gpio/gpio_basic_api):
-
Hardware configuration:
- Wire P02_0 (CN1-3) to pin P02_2 (CN1-4)
- SW6-1 = OFF
-
Build command:
west build -p always -b rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 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 CN1 pin 8
- 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 CN1 pin 8 (GPT ch0 - GTIOCA) and JA6 pin 13 (GPT ch4 - GTIOCA)
- Build command:
$ west build -p always -b rzt2m_rsk/r9a07g075m24gbg/cr520 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 rzt2m_rsk/r9a07g075m24gbg/cr520 samples/drivers/spi_bitbang