You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The NXP S32 CANXL driver does not calculate and set the Transceiver Delay Compensation Offset (TDCO) when CAN FD is enabled. TDCO is needed for correct sampling of own TX line at higher data phase bitrates.
To Reproduce
Steps to reproduce the behavior:
Inspect the driver code.
Notice TDCO is not set up.
Expected behavior
TDCO should be calculated using CAN_CALC_TDCO() and written to the respective register and Transceiver Delay Compensation (TDC) should be enabled when using CAN FD.
Impact
Likely issues with using higher data phase bitrates.
Additional context
Please see the following commits for inspiration on how to calculate and set TDCO: