Skip to content

MCK_RA8T1 Hardware connection

Khoa Nguyen edited this page Jan 23, 2025 · 8 revisions

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

Use Debug On-Board

Jumper Configurations
JP6 Open
MCK_RA8T1_Debug_connection

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
MCK-RA8T1 SCI9 TXD4 P714
RXD4 P715

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/mck_ra8t1.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 test spi_bitbang.

    samples/drivers/spi_bitbang/boards/mck_ra8t1.overlay

     spibb0: &spi0 {
    	rx-dtc;
    	tx-dtc;
    	cs-gpios = <&ioport2 4 GPIO_ACTIVE_LOW>;
    	status = "okay";
    };
    
    &ioport2 {
    	status = "okay";
    };
    

zTest (tests/drivers/spi/spi_loopback): Loopback for MISO and MOSI

Loopback for MISO and MOSI

Board Channel Pin function Pin
MCK-RA8T1 SPI0 MISO0 P313
MOSI0 P202

Hardware connection for I2C sample

zTest (tests/drivers/i2c/i2c_api): Require GY-271 QMC5883L module.

Connections:

GY271 MCK-RA8T1
VCC P3V3
GND GND
SCL P205 (SCL1)
SDA P206 (SDA1)
DDBY -