AM263Px MCU+ SDK: LIN SCI DMA Loopback

| AM263Px MCU+ SDK 26.00.00 |

LIN SCI DMA Loopback

# Introduction

This example is a application which demonstrates the SCI message communication via DMA. Instance LIN1 is set to Transmit as well as Recieve.

DMAMUX and EDMA to be configured to send the interrupts to LIN peripheral.

The LIN1 instance initiates the transmission by setting the LIN_SET_TX_DMA. It receives the same message via RX DMA if LIN_SET_RX_DMA is set.

We are sending 128 bytes of data with 8 bytes in a single transfer.

# Supported Combinations

Parameter | Value
--- | ---
CPU + OS | r5fss0-0 freertos
r5fss0-0 nortos
Toolchain | ti-arm-clang
Boards | am263px-cc, am263px-lp
Example folder | examples/drivers/lin/lin_sci_dma

# Steps to Run the Example

- When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
- When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
- Launch a CCS debug session and run the executable, see CCS Launch, Load and Run

# See Also

LIN

# Sample Output

Shown below is a sample output when the application is run,

[LIN] SCI DMA mode, application started ...
[LIN] Initialization of DMA started ...
All tests have passed!!