SPRUI33H November 2015 – June 2024 TMS320F280040-Q1 , TMS320F280040C-Q1 , TMS320F280041 , TMS320F280041-Q1 , TMS320F280041C , TMS320F280041C-Q1 , TMS320F280045 , TMS320F280048-Q1 , TMS320F280048C-Q1 , TMS320F280049 , TMS320F280049-Q1 , TMS320F280049C , TMS320F280049C-Q1
The transmission baud rate of any node is configured by the CPU at the beginning; this defines the bit time Tbit. The bit time is derived from the fields P and M in the baud rate selection register (BRSR). There is an additional 3-bit fractional divider value, field U in the BRSR register, which further fine-tunes the data-field baud rate.
The ranges for the prescaler values in the BRSR register are:
P = 0, 1, 2, 3, . . . , 224 - 1
M = 0, 1, 2, . . . , 15
U = 0, 1, 2, 3, 4, 5, 6, 7
The P, M, and U values in the BRSR register are user programmable. The P and M dividers can be used for both SCI mode and LIN mode to select a baud rate. The U value is an additional 3-bit value determining that “aTVCLK“ (with a = 0, 1) is added to each Tbit as explained in Section 27.3.1.4.2. If the ADAPT bit is set and the LIN slave is in adaptive baud rate mode, then all these divider values are automatically obtained during header reception when the synchronization field is measured.
The LIN protocol defines baud rate boundaries as:
All transmitted bits are shifted in and out at Tbit periods.