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 | xWRL1432-evm |
Example folder | examples/drivers/lin/lin_loopback_interrupt |
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!!