xWRL6432 MMWAVE-L-SDK  05.04.00.01
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 Receive.

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 xWRL6432-evm
Example folder examples/drivers/lin/lin_sci_dma

Using SDK with SysConfig

A GUI tool SysConfig is used to configure different modules and peripherals of the example. Using this tool, users can select and customize different modules and peripherals. The SysConfig tool will generate the code for initializing and configuring these modules. This configuration is saved to a file called example.syscfg for every example. To know more about how to use SDK with SysConfig, Visit this page

Using SDK with SysConfig

Steps to Run the Example

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!!