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
When setting the sjw-data field on M_CAN devicetree nodes the values are not written in the correct registers.
To Reproduce
Configure sjw-data field on any M_CAN node
Build the example under samples/drivers/can/ with CANFD enabled
Run the example.
Expected behavior
The configured sjw-data is written to the to DBTP register.
Impact
The configured value is not respected. The NBTP register configuration gets destroyed in the process. This may cause the M_CAN module to not work as expected.
Describe the bug
When setting the
sjw-data
field on M_CAN devicetree nodes the values are not written in the correct registers.To Reproduce
sjw-data
field on any M_CAN nodesamples/drivers/can/
with CANFD enabledExpected behavior
The configured
sjw-data
is written to the toDBTP
register.Impact
The configured value is not respected. The
NBTP
register configuration gets destroyed in the process. This may cause the M_CAN module to not work as expected.Environment :
Additional context
I have proposed a fix for this issue here: #35948
The text was updated successfully, but these errors were encountered: