Skip to content

RSKRX130 Sample configuration

Duy Nguyen edited this page Apr 4, 2025 · 6 revisions

Followings are hardware connection for RSKRX130, for more detail, please visit RSKRX130 - Quick Start Guide and RSKRX130 - User's Manual

Use Debug On-Board

RSKRX130_Debug_connection

Branch information and available feature

Branch name Information
wip/rx_support_1.3 (latest) New feature update for RSKRX130 board:
+ Change build system to use "cross-compile"
+ Change board define for RSK-RX130 boards, now it's using board revision
+ Add support for power management on RX130
+ Add driver support for DTC (Data transfer control) on UART, I2C, SPI driver on RX130
+ Add support for Device power management on UART, I2C, SPI driver
+ Add driver support for 12-bit ADC on RX130
+ Add driver support for flash controller on RX130
+ Add driver support for IWDT (watchdog) on RX130
+ Add driver support for LVD on RX130
+ Add driver support for CTSU (captive touch) on RX130
wip/rx_support_alpha1.2 New feature update for RSKRX130 board:
+ Add 64-bit system timer feature
+ Add tickless capable system timer
+ Support I2C driver (Master mode) for RX130 MCU
+ Support SPI driver for RX130 MCU
+ Support PWM driver for RX130 MCU
+ Add support external interrupt configuration feature for GPIO for RX130 MCU
upstream/rx_zephyr_support_PR1.1 Upstream branch, basic support for RX architecture:
+ Support for Renesas RX architecture on Zephyr
+ RX130 SoC and RSKRX130 board support for RX SoC
+ Serial interface driver support (SCI UART)
+ Pinctrl driver support for RX SoC
+ GPIO driver support for RX SoC
+ Clock control driver support for RX SoC
  • Hardware connection for GPIO samples

    • Blinky (samples/basic/blinky): Simple LED blinky

      • Build command: $ west build -b rsk_rx130@512kb -p always samples/basic/blinky
      • HW configuration: No additional connection.
    • Button (samples/basic/button): Simple button test

      • Build command: $ west build -b rsk_rx130@512kb -p always samples/basic/button
      • HW configuration: No additional connection.
    • zTest (tests/drivers/gpio/gpio_basic_api):

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/gpio/gpio_basic_api

      • HW configuration: Loopback for out-gpios and in-gpios

        Board Pin function Pin
        RSK_RX130_512KB out-gpios PD1
        in-gpios PD2
  • Hardware connection for UART samples

    • echo_bot (samples/drivers/uart/echo_bot):

      • Build command: $ west build -b rsk_rx130@512kb -p always samples/drivers/uart/echo_bot
      • HW configuration: No additional connection.
    • zTest (tests/drivers/uart/uart_basic_api):

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/uart/uart_basic_api
      • HW configuration: No additional connection.
    • zTest (tests/drivers/uart/uart_async_api):

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/uart/uart_async_api

      • HW configuration: Loopback for TXD and RXD

        Board Channel Pin function Pin
        RSK_RX130_512KB SCI1 TXD1 P26
        RXD1 P30
  • Hardware connection for SPI samples

    • zTest spi_loopback (tests/drivers/spi/spi_loopback):
      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/spi/spi_loopback

      • HW configuration: Loopback MISOA and MOSIA

        Board Channel Pin function Pin
        RSK_RX130_512KB RSPI0 MISOA PA7
        MOSIA PA6
  • Hardware connection for I2C samples

    • zTest i2c_api (tests/drivers/i2c/i2c_api):
      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/i2c/i2c_api

      • HW configuration: Require GY-271 QMC5883L module

        GY271 RSK_RX130_512KB
        VCC P3V3
        GND GND
        SCL P12 (SCL)
        SDA P13 (SDA)
        DDBY -
  • Hardware connection for PWM samples

    • zTest pwm_api (tests/drivers/pwm/pwm_api):

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/pwm/pwm_api
      • HW configuration: No additional connection.
    • zTest pwm_loopback (tests/drivers/pwm/pwm_loopback): loopback for pin pwm_out and pwm_in

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/pwm/pwm_loopback
      • HW configuration: Loopback pwm_out and pwm_in
      Board Channel Pin function Pin
      RSK_RX130_512KB MTU4 pwm_out PA0
      MTU1 pwm_in P20
  • Hardware connection for Flash samples

    • Flash shell (samples/drivers/flash_shell):

      • Build command: $ west build -b rsk_rx130@512kb -p always samples/drivers/flash_shell
      • HW configuration: No additional connection.
      • Note: Disable the code-flash programming by removing renesas,programming-enable; from the DTS to reduce RAM usage.
    • zTest flash_common(tests/drivers/flash/flash_common):

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/flash/flash_common
      • HW configuration: No additional connection.
  • Hardware connection for ADC samples

    • zTest adc_accuracy_test (tests/drivers/adc/adc_accuracy_test):

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/adc/adc_accuracy_test
      • HW configuration: No additional connection.
      • Note: Need to adjust the on-board potentialmeter (RV1) to reach the correct value
    • zTest adc_api (tests/drivers/adc/adc_api):

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/adc/adc_api
      • HW configuration: No additional connection.
  • Hardware connection for LVD samples

    • Samples renesas/lvd (samples/boards/renesas/lvd):
      • Build command: $ west build -b rsk_rx130@512kb -p always samples/boards/renesas/lvd

      • HW configuration: Connect the voltage source to the CMPA pin to monitor the voltage level on the CMPA pin.

        Board Channel Pin function Pin
        RSK_RX130_512KB LVD1 CMPA2 PE4
  • Hardware connection for Watchdog samples

    • zTest wdt_basic_api (tests/drivers/watchdog/wdt_basic_api)

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/watchdog/wdt_basic_api
      • HW configuration: No additional connection.
    • zTest wdt_basic_reset_none (tests/drivers/watchdog/wdt_basic_reset_none)

      • Build command: $ west build -b rsk_rx130@512kb -p always tests/drivers/watchdog/wdt_basic_reset_none
      • HW configuration: No additional connection.
  • Hardware connection for Input samples

    • Samples for CTSU input (samples/boards/renesas/rsk_rx130_512kb/ctsu_input)
      • Build command: $ west build -b rsk_rx130@512kb -p always samples/boards/renesas/rsk_rx130_512kb/ctsu_input
      • HW configuration: No additional connection.
  • Hardware connection for DTC samples

    • zTest renesas_dtc (tests/misc/renesas_dtc)
      • Build command: $ west build -b rsk_rx130@512kb -p always tests/misc/renesas_dtc

      • HW configuration: Loopback for out-gpios and in-gpios

        Board Pin function Pin
        RSK_RX130_512KB out-gpios PD1
        in-gpios PD2