-
Notifications
You must be signed in to change notification settings - Fork 2
EK‐RA8P1 Sample and Demo Hardware configuration
Followings are hardware connection and test samples for EK_RA8P1.
- Note: Following test/samples are running on CM85 core only. CM33 support and Multicore support are in-progress.
How to build samples with CM85 core:
west build -p always -b ek_ra8p1/r7ka8p1kflcac/cm85 <path to test/sample>
For example:
west build -p always -b ek_ra8p1/r7ka8p1kflcac/cm85 samples/drivers/uart/echo_bot
Use Debug On-Board
Jumper | Configurations |
---|---|
J6 | Jumper on pins 2-3 |
J8 | Jumper on pins 1-2 |
J9 | Jumper on pins 2-3 |
J29 | Jumpers on pins 1-2, 3-4, 5-6, 7-8 |
Set the configuration switches (SW4) on the EK-RA8P1 board as below:
SW4-1 PMOD1 | SW4-2 PMOD1 | SW4-3 Octo-SPI (OFF is Active) | SW4-4 Arduino / mikroBUS | SW4-5 I3C | SW4-6 MIPI | SW4-7 USBFS | SW4-8 USBHS |
---|---|---|---|---|---|---|---|
OFF | OFF | OFF | OFF | OFF | OFF | OFF | OFF |
echo_bot (samples/drivers/uart/echo_bot
): No additional connection.
zTest (tests/drivers/uart/uart_basic_api
): No additional connection.
zTest (tests/drivers/uart/uart_async_api
): Loopback for TXD and RXD
Loopback for TXD and RXD
Board | Channel | Pin function | Pin |
---|---|---|---|
EK-RA8P1 | SCI2 | TXD2 | P801 |
RXD2 | P802 |
spi_bitbang (samples/drivers/spi_bitbang
): Loopback for MISO and MOSI
-
Note: The purpose of testing sample
spi_bitbang
on RA boards is to provide users with an understanding of the RA SPI driver. To test this sample using the SPI hardware IP, you can configure it by adding the overlay and configuration files with the following content:samples/drivers/spi_bitbang/boards/ek_ra8p1_r7ka8p1kflcac_cm85.conf
CONFIG_STDOUT_CONSOLE=y CONFIG_SPI=y CONFIG_SPI_B_INTERRUPT=y CONFIG_SPI_B_RA_DTC=y CONFIG_LOG=y CONFIG_SPI_BITBANG=n
- Note: We have to disable the
CONFIG_SPI_BITBANG
since we use SPI hardware IP to testspi_bitbang
.
samples/drivers/spi_bitbang/boards/ek_ra8p1_r7ka8p1kflcac_cm85.overlay
spibb0: &spi1 { rx-dtc; tx-dtc; pinctrl-0 = <&spi1_default>; pinctrl-names = "default"; cs-gpios = <&ioport1 3 GPIO_ACTIVE_LOW>; status = "okay"; }; &ioport1 { status = "okay"; };
- Note: We have to disable the
zTest (tests/drivers/spi/spi_loopback
): Loopback for MISO and MOSI
Loopback for MISO and MOSI
Board | Channel | Pin function | Pin |
---|---|---|---|
EK-RA8P1 | SPI1 | MISO1 | P100 |
MOSI1 | P101 |
zTest (tests/drivers/i2c/i2c_api
): Require GY-271 QMC5883L module
-
With IIC:
Connections:
GY271 EK-RA8P1 VCC P3V3 GND GND SCL P512 (SCL1) SDA P511 (SDA1) DDBY - -
With SCI I2C: Require "-DDTC_OVERLAY_FILE" and "-DCONF_FILE" to use SCI I2C in build command:
Connections:
GY271 EK-RA8P1 VCC P3V3 GND GND SCL P401 (SCL1) SDA P400 (SDA1) DDBY - CM85:
west build -p always -b ek_ra8p1/r7ka8p1kflcac/cm85 tests/drivers/i2c/i2c_api -DDTC_OVERLAY_FILE=boards/ek_ra8p1_r7ka8p1kflcac_cm85_sci_b_i2c.overlay -DCONF_FILE="boards/ek_ra8p1_r7ka8p1kflcac_cm85_sci_b_i2c.conf"
zTest (tests/drivers/can/api
): No additional connection.
zTest (tests/drivers/can/timing
): No additional connection.
Require: PMOD SD (https://digilent.com/reference/pmod/pmodsd/start)
Connections:
Board | Channel | Pin | PMOD SD's Pin |
---|---|---|---|
EK-RA8P1 | SDMMC0 | P111 (DAT3) (J32 Pin17) | Pin1 (CS) |
P307 (CMD) (J3 Pin37) | Pin2 (MOSI) | ||
P304 (DAT0) (J3 Pin34) | Pin3 (MISO) | ||
P308 (CLK) (J3 Pin32) | Pin4 (SCLK) | ||
GND | Pin5 (GND) | ||
+3V3 (VCC) | Pin6 (VCC) | ||
PD02 (DAT1) (J2 Pin33) | Pin7 (DAT1) | ||
PD01 (DAT2) (J2 Pin34) | Pin8 (DAT2) | ||
P306 (CD) (J3 Pin36) | Pin9 (CD) | ||
P305 (WP) (J3 Pin35) | Pin10 (WP) |
Please aware that connect PMOD: use short wiring connections (should be shorter than 10cm).
ztest (tests/drivers/disk/disk_access
): Require "--shield pmod_sd" in build command:
-
CM85:
west build -p always -b ek_ra8p1/r7ka8p1kflcac/cm85 --shield pmod_sd tests/drivers/disk/disk_access
ztest (tests/drivers/disk/disk_performance
): Require "--shield pmod_sd" in build command:
-
CM85:
west build -p always -b ek_ra8p1/r7ka8p1kflcac/cm85 --shield pmod_sd tests/drivers/disk/disk_performance
zTest (tests/drivers/pwm/pwm_api
): No additional connection.
zTest (tests/drivers/pwm/pwm_loopback
): Loopback 2 channels (1 PWM output, 1 PMW capture)
Board | Channel | Pin | Pin function | Remark |
---|---|---|---|---|
EK-RA8P1 | PWM1 | P105 | GTIOC1A | PWM output |
PWM2 | P103 | GTIOC2A | PWM capture |
Counter Alarm (samples/drivers/counter/alarm
): No additional connection.
Connect the Parallel Graphics Expansion Board 1 (included in the kit) to J1 of EK-RA8P1.
LVGL demos (samples/modules/lvgl/demos
): Require information of display shield in build command:
-
CM85:
west build -b ek_ra8p1/r7ka8p1kflcac/cm85 samples/modules/lvgl/demos/ -T sample.modules.lvgl.demos.rtklcdpar1s00001be -p
ztest (tests/kernel/timer/timer_api
): Require "-DCONFIG_RENESAS_RA_ULPT_TIMER=y" in build command:
-
CM85:
west build -b ek_ra8p1/r7ka8p1kflcac/cm85 tests/kernel/timer/timer_api -p -DCONFIG_RENESAS_RA_ULPT_TIMER=y
ztest (tests/kernel/timer/timer_behavior
): Require "-DCONFIG_RENESAS_RA_ULPT_TIMER=y" in build command:
-
CM85:
west build -b ek_ra8p1/r7ka8p1kflcac/cm85 tests/kernel/timer/timer_behavior -p -DCONFIG_RENESAS_RA_ULPT_TIMER=y
ztest (tests/kernel/timer/timer_timepoints
): Require "-DCONFIG_RENESAS_RA_ULPT_TIMER=y" in build command:
-
CM85:
west build -b ek_ra8p1/r7ka8p1kflcac/cm85 tests/kernel/timer/timer_timepoints -p -DCONFIG_RENESAS_RA_ULPT_TIMER=y
ztest (tests/kernel/timer/timer_error_case
): Require "-DCONFIG_RENESAS_RA_ULPT_TIMER=y" in build command:
-
CM85:
west build -b ek_ra8p1/r7ka8p1kflcac/cm85 tests/kernel/timer/timer_error_case -p -DCONFIG_RENESAS_RA_ULPT_TIMER=y
ztest (tests/kernel/timer/timer_monotonic
): Require "-DCONFIG_RENESAS_RA_ULPT_TIMER=y" in build command:
-
CM85:
west build -b ek_ra8p1/r7ka8p1kflcac/cm85 tests/kernel/timer/timer_monotonic -p -DCONFIG_RENESAS_RA_ULPT_TIMER=y
ztest (tests/subsys/pm/power_mgmt_soc
): No additional connection.
ztest (tests/drivers/comparator/gpio_loopback
): Loopback GPIO pin with Analog voltage input pin for comparator (IVCMPn)
Board | Channel | Pin function | Pin |
---|---|---|---|
EK-RA8P1 | IPORT6 | GPIO | P600 |
ACMPHS0 | IVCMP0 | P805 |
Renesas comparator (samples/boards/renesas/comparator
): Connect SW1 to Analog voltage input pin for comparator (IVCMPn)
Board | Channel | Pin function | Pin |
---|---|---|---|
EK-RA8P1 | SW1 | User push-button | P009 |
ACMPHS0 | IVCMP3 | P001 |
RA Sample and Demo Hardware configuration
-
EK-RA8P1 Sample and Demo hardware configuration
-
EK-RA8M1 Sample and Demo hardware configuration
-
EK-RA8D1 Sample and Demo hardware configuration
-
MCK-RA8T1 Sample and Demo hardware configuration
-
EK-RA6M1 Sample and Demo hardware configuration
-
EK-RA6M2 Sample and Demo hardware configuration
-
EK-RA6M3 Sample and Demo hardware configuration
-
EK-RA6M4 Sample and Demo hardware configuration
-
EK-RA6M5 Sample and Demo hardware configuration
-
FPB-RA6E1 Sample and Demo hardware configuration
-
FPB-RA6E2 Sample and Demo hardware configuration
-
EK-RA6E2 Sample and Demo hardware configuration
-
FPB-RA4E1 Sample and Demo hardware configuration
-
Voice-RA4E1 Sample and Demo hardware configuration
-
EK-RA4E2 Sample and Demo hardware configuration
-
EK-RA4L1 Sample and Demo hardware configuration
-
EK-RA4M1 Sample and Demo hardware configuration
-
EK-RA4M2 Sample and Demo hardware configuration
-
EK-RA4M3 Sample and Demo hardware configuration
-
EK-RA4W1 Sample and Demo hardware configuration
-
EK-RA2A1 Sample and Demo hardware configuration
-
EK-RA2L1 Sample and Demo hardware configuration
-
AWS MQTT demo application
RX Sample and Demo Hardware configuration
RZ Sample and Demo Hardware configuration
-
RZ/V2H-EVK Sample and Demo hardware configuration
-
RZ/V2N-EVK Sample and Demo hardware configuration
-
RZ/V2L-SMARC Sample and Demo hardware configuration
-
RZ/N2L-RSK Sample and Demo hardware configuration
-
RZ/T2M-RSK Sample and Demo hardware configuration
-
RZ/T2L-RSK Sample and Demo hardware configuration
-
RZ/G3S-SMARC Sample and Demo hardware configuration
-
RZ/G2L-SMARC Sample and Demo hardware configuration
-
RZ/G2LC-SMARC Sample and Demo hardware configuration
-
RZ/G2UL-SMARC Sample and Demo hardware configuration
-
RZ/A3UL-SMARC Sample and Demo hardware configuration
-
RZ/A2M-EVK Sample and Demo hardware configuration