Re: can, tcan4x5x: look to merge rpi support into rpi kernel tree

Torin Cooper-Bennun
2021-02-26T15:27:34Z

On Fri, Feb 26, 2021 at 03:00:54PM +0100, Marc Kleine-Budde wrote:
> https://github.com/hartkopp/M_CAN-User-Manual-History

Great, thanks. I can see this also sits in the linux-can repo which is
handy.

> > Note: With CAN FD an external counter is required for timestamp
> > generation (TSS = “10”)
>
> I suggest to check on the tcan hardware, what's really in the register.

I've just verified that internal timestamping works on the TCAN4550 (in
both RX FIFO and TX event FIFO), with FD and BRS both enabled. The
16-bit timestamps are generated specifically from the nomimal bit times,
and you can prescale up to 16x. \o/

Is timestamp-wrapping a concern for rx-offloading?

--
Regards,

Torin Cooper-Bennun
Software Engineer | maxiluxsystems.com