-
Notifications
You must be signed in to change notification settings - Fork 2
Special topic for DTC (deprecated)
Currently, there is no support Zephyr interface for DTC. It will be used with UART and is supported inside hal_renesas.
To get this feature, please follow guideline to enable using DTC for UART:
Step 1: Enable UART Asynchronous API by adding CONFIG_UART_ASYNC_API=y
into your project configuration files or using menuconfig/guiconfig interface.
For example, project configuration file: tests/drivers/uart/uart_async_api/prj.conf which enabled CONFIG_UART_ASYNC_API=y
CONFIG_SERIAL=y
CONFIG_UART_ASYNC_API=y
CONFIG_UART_USE_RUNTIME_CONFIGURE=y
CONFIG_ZTEST=y
CONFIG_TEST_USERSPACE=y
Step 2: Add rx-dtc and tx-dtc properties in the device node which should run with DTC support. Following is example for EK-RA8M1,
File: tests/drivers/uart/uart_async_api/boards/ek_ra8m1.overlay
dut: &sci2 {
current-speed = <115200>;
rx-dtc;
tx-dtc;
pinctrl-0 = <&sci2_default>;
pinctrl-names = "default";
status = "okay";
};
Step 3: In your application, using UART Asynchronous API to transfer the UART frame with DTC support.
- Home
- Getting started guide for Windows environment
- EK_RA8M1 Hardware connection
- EK_RA8D1 Hardware connection
- MCK_RA8T1 Hardware connection
- EK_RA6M3 Hardware connection
- VOICE_RA4E1 Hardware connection
- EK_RA4L1 Hardware connection
- Special topic for DTC(deprecated)
- Run AWS IOT core MQTT sample on EK‐RA8M1
- RZG3S_SMARC Hardware connection
- RSKRX130 Sample configuration