xWRL6432 MMWAVE-L-SDK  05.04.00.01
LIN Internal Loopback Interrupt

Introduction

This example is a application which demonstrates the LIN message communication. Instance LIN1 is set to Transmit as well as Receive.

The LIN1 instance initiates the transmission by sending LINID followed by message. It receives the same message.

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_loopback_interrupt

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] Loopback Interrupt mode, application started ...
[LIN] Transmitted : 12
[LIN] Received : 12
[LIN]
[LIN] Transmitted : 13 34
[LIN] Received : 13 34
[LIN]
[LIN] Transmitted : 14 34 56
[LIN] Received : 14 34 56
[LIN]
[LIN] Transmitted : 15 34 56 78
[LIN] Received : 15 34 56 78
[LIN]
[LIN] Transmitted : 16 34 56 78 9A
[LIN] Received : 16 34 56 78 9A
[LIN]
[LIN] Transmitted : 17 34 56 78 9A AB
[LIN] Received : 17 34 56 78 9A AB
[LIN]
[LIN] Transmitted : 18 34 56 78 9A AB CD
[LIN] Received : 18 34 56 78 9A AB CD
[LIN]
[LIN] Transmitted : 19 34 56 78 9A AB CD EF
[LIN] Received : 19 34 56 78 9A AB CD EF
[LIN]
[LIN] All tests have passed!!