3.3.1 Baud Rate Generator

A clarification has been made for the equations in the Baud Rate Generator section.

The baud rate is defined to be the transfer rate in bits per second (bps):
  • BAUD: Baud rate (in bps)
  • fclki/o: System I/O clock frequency
  • LDIV[11..0]: Contents of LINBRRH & LINBRRL registers - (0-4095), the pre-scaler receives clki/o as input clock
  • LBT[5..0]: Least significant bits of - LINBTR register- (0-63) is the number of samplings in a LIN or UART bit (default value 32)

Equation for calculating baud rate:

BAUD = fclki/o / (LBT[5..0] x (LDIV[11..0] + 1))

Equation for setting LINDIV value:

LDIV[11..0] = (fclki/o / (LBT[5..0] x BAUD)) - 1

Note that in reception, a majority vote on three samplings is made.