EK_RA8M1 Hardware connection - renesas/zephyr GitHub Wiki
Followings are hardware connection for EK_RA8M1, for more detail, please visit EK-RA8M1 - Quick Start Guide and EK-RA8M1 v1 - User's Manual
Use Debug On-Board
Jumper | Configurations |
---|---|
J6 | Closed |
J8 | Jumper on pins 1-2 |
J9 | Open |
J29 | Jumpers on pins 1-2,3-4, 5-6, 7-8 |
Hardware connection for UART samples
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-RA8M1 | SCI2 | TXD2 | PA03 |
RXD2 | PA02 |
Hardware connection for SPI samples
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_ra8m1.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_ra8m1.overlay
spibb0: &spi1 { rx-dtc; tx-dtc; cs-gpios = <&ioport4 13 GPIO_ACTIVE_LOW>; status = "okay"; }; &ioport4 { 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-RA8M1 | SPI1 | MISO1 | P410 |
MOSI1 | P411 |
Hardware connection for I2C sample
zTest (tests/drivers/i2c/i2c_api
): Require GY-271 QMC5883L module
Connections:
GY271 | EK-RA8M1 |
---|---|
VCC | P3V3 |
GND | GND |
SCL | P512 (SCL1) |
SDA | P511 (SDA1) |
DDBY | - |
Hardware connection for DHCPv4 client samples
Remove jumper J61 to enable Ethernet B
Jumper | Configurations |
---|---|
J61 | Open |