Part Number: MSPM0G3518
Hello TI Support Team,
I am currently integrating the LIN MCAL driver for the MSPM0G3518 (using AUTOSAR version 4.4.0) and I have a few questions regarding the Auto Baud Rate configuration for a LIN Slave node.
I see the LinChannelAutoBaudRate parameter which enables auto-baud detection for slave nodes. I would like more clarification on when to use this feature and how the underlying hardware utilizes the associated threshold and limit parameters:
-
LinChannelAutoBaudRate (General Use Case): Could you clarify the exact practical scenarios where TI recommends enabling this feature versus using a fixed baud rate? Additionally, when enabled, does the hardware adapt the baud rate continuously on every received LIN sync byte, or only during initial communication/error recovery?
-
LinChannelBaudRateLimit: If the incoming baud rate falls slightly outside this exact window, will the hardware reject the frame entirely, or does it trigger the
LIN_E_TIMEOUT/ hardware error? -
LinChannelAutoBaudRateTBitThreshold: This parameter configures the threshold number of 2Tbit cycle deviations (from 1 to 4). If we configure this to '2' (meaning auto baud rate happens if >= 2 cycles deviate from tolerance), how does the hardware handle the frame if the deviation is less than 2? Does it process the frame using the previously locked baud rate without adjusting?
-
Hardware Clock Considerations: Are there any specific hardware clock configurations (e.g., specific
LinChannelOversamplingrates like 16X vs 8X) recommended to achieve the most reliable Auto Baud Rate detection on the MSPM0G351x?
Thank you for your guidance!
Best regards,
Mohamed ABDELFATAH-MOHAMED