This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS470M : Value of MBRS register (LIN module)

Other Parts Discussed in Thread: TMS470MF03107

Hello,

I use a TMS470MF03107 to implement a LIN slave. The baudrate detection feature is set.

In the TRM, it is written :

The MBR value should be programmed to allow a maximum baud rate that is not more than 10% above the expected operating baud rate in the LIN network. Otherwise, a 0x00 data byte could mistakingly be detected as a sync break.

The default value for a 70Mhz VCLK is 0xDAC.

This MBR prescaler is used by the wake-up and idle time counters for a constant expiration time relative to a 20 kHz rate.

MBR  = (0.9xVCLK) / maxbaudrate

 

In the last formula, It is not really clear to me if we should use a maximum baudrate value (nominalbaudrate + 10%) or directly the nominal baudrate (which explains the 0.9 factor).

In my case, Vclk = 40Mhz, the nominal baudrate = 19200 bits/sec. Can you please detail the calculation of the MBR value ?

Thanks,

David