Skip to Main Content Skip to Search
Product Documentation

C2803x LIN Transmit - Transmit data from target via serial communications interface (SCI) to host

Library

Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C2000/ C2803x

Description

The Local Interconnect Network (LIN) bus implements a serial communications protocol for distributed automotive and industrial applications. In particular, LIN serves low cost applications that do not require the bandwidth or robustness provided by the CAN protocol. For more information about LIN, see http://www.lin-subbus.org/.

The C2803x LIN Transmit block takes three inputs:

For more information and examples, see:

Dialog Box

Send checksum

Select this checkbox to include a checksum in the last data field of the checkbyte. LIN 2.0 implementations require this checksum.

The default value is unchecked (disabled).

Physical bus error interrupt

The LIN master node detects when the physical bus cannot convey a valid message. For example, if the bus had a short circuit to ground or to VBAT. This raises a physical bus error flag in all of the LIN nodes on the network. If you enable Physical bus error interrupt, the LIN transmit node generates an interrupt in response to a physical bus error flag.

Bit error interrupt

If you enable this option, the LIN node compares the data it transmits and the data on the LIN bus.

The default value is Disabled.

The TXRX Error Detector Bit Monitor compares data bits on the LIN transmit (LINTX) and receive (LINRX) pins. If the data do not match, the Bit Monitor raises a bit-error flag. When you enable this option, the bit-error flag also produces a bit-error interrupt.

Transmit buffer interrupt

If you enable this option, the LIN node generates an interrupt while it is generating a checksum and setting the Transmitter buffer register ready flag.

The default value is Disabled.

References

For detailed information on the SCI module, see TMS320F2803x Piccolo Local Interconnect Network (LIN) Module, Literature Number SPRUGE2, available at the Texas Instruments Web site.

See Also

C2803x LIN Receive (block reference)

LIN (block reference)

Configuring LIN Communications

LIN-Based Control of PWM Duty Cycle (demo)

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS