Commit 60785d80 authored by Martin Sperl's avatar Martin Sperl Committed by Ke Du
Browse files

can: mcp25xxfd: Add Can transmission support



Add un-optimized Can2.0 and CanFD transmission support.

On a Rpi3 we can saturate the CAN bus at 1MHz transmitting Can2.0
frames with DLC=0 for the number of configured tx-fifos.
Afterwards we need some time to recover the state before we can
fill in the fifos again.

With 7 tx fifos we can: send those 7 frames in 0.33ms and then we
wait for 0.26ms so that is a 56% duty cycle.

With 24 tx fifos this changes to: 1.19ms for 24 frames and then we
wait for 0.52ms so that is a 70% duty cycle.

Change-Id: I7ef55ae970140bddc630fd8c076a7aac2b12ff19
Signed-off-by: default avatarMartin Sperl <kernel@martin.sperl.org>
Git-commit: 672018dd
Git-repo: https://github.com/msperl/linux-rpi/releases/tag/mcp25xxfd-V8.2


Signed-off-by: default avatarKe Du <quic_kedu@quicinc.com>
parent 71271ede
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment