Skip to content

drivers: can: s32: canxl: driver does not set Transceiver Delay Compensation Offset (TDCO) #73824

@henrikbrixandersen

Description

@henrikbrixandersen

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:

  1. Inspect the driver code.
  2. 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:

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions