Select a LIN transceiver that aligns with your specific application
requirements, such as voltage levels, data rates, and fault protection.
Texas Instruments offers an extensive catalog of LIN transceivers that can
be used to identify the best device for your system. For this example,
we use the TLIN2029EVM as the LIN
transceiver thanks to the easy-to-follow userguide.
The I²C pins (and the LIN pins, depending on the system requirements)
require pull-up resistors for proper operation. Similarly, if any MSPM0
pin is configured as open-drain—such as PA0 in the current project's
default configuration—a pull-up resistor is required to allow the pin to
drive other components or signals.
Review the power, voltage, and current requirements for all components
within the system. This includes verifying the specific electrical
requirements for each module, such as the I²C, UART-LIN, and GPIO
interfaces.
Evaluate the specifications of both the internal and external
oscillators of the MSPM0 to maintain that they provide sufficient timing
accuracy for your application.
Protocol related and Firmware Logic
Adjusting external pull-up resistors in accordance with I²C
specifications is necessary to maintain communication integrity if I²C
speeds are increased. As a general guideline, 10kΩ is appropriate for
100kHz operation. Higher I2C bus rates require lower-valued pull-up
resistors; for 400kHz communication, resistors closer to 4.7kΩ must be
used.
Further code optimization can be necessary to accommodate increased
bridge utilization. Recommended optimizations include increasing device
operating speeds, implementing multiple transfer buffers, utilizing DMA,
or simplifying the state machine. Note that the current example was only
tested at I²C speed of 400kHz.