Re: Missing CAN-XL XL data bit timing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@Vincent, thank you for the answer. Are there any plans to add the CAN
XL driver and the netlink interface for CAN XL?

I use the DCAN XL implemented in FPGA. I work for Digital Core Design
and it's one of our latest IP cores. I know the CAN-XL controller is a
rare product for now.

Best regards,

Robert Nawrath


On Fri, Nov 1, 2024 at 3:27 PM Vincent Mailhol
<mailhol.vincent@xxxxxxxxxx> wrote:
>
> +cc: Oliver
>
> On Thu. 31 Oct. 2024 at 20:55, Robert Nawrath <mbro1689@xxxxxxxxx> wrote:
> > Hi,
> > I'm working on a kernel module for CAN-XL device. I can see in
> > /linux/can/dev.h that there are structures and methods for setting
> > bittiming and data_bittiming. The bittiming refers to CAN nominal bit
> > time, data_bittiming refers to CAN data bit time (using ISO/FDIS
> > 11898-1:2024 nomenclature). But in CAN-XL the data bit rate has two
> > values: FD data bit rate and XL data bit rate. This values are
> > different and the device shall have separate configuration register
> > sets for them. So for separate configuration registers there shall be
> > separate methods and structs.
> > Am I right that the current implementation in kernel is incomplete? Or
> > am I missing something?
>
> Yes, you are right. There is not yet a netlink interface for CAN XL,
> mostly because there is not yet a CAN XL driver in linux-can and
> because, before you, no one manifested a need for this.
>
> @Oliver, in this message:
>
>   https://lore.kernel.org/linux-can/2540406e-8da3-4cb8-bd1a-30271dd6cc67@xxxxxxxxxxxx/
>
> you mentioned that you were working on the bitrate configuration. Any
> update? Seems that this is time to make this live! I did some work on
> the netlink and the iproute2 tool in the past when I added the TDC, so
> eventually, I can help a bit if needed.
>
> @Robert, out of curiosity, what is the name of your CAN XL device?
>
>
> Yours sincerely,
> Vincent Mailhol
>
> Le jeu. 31 oct. 2024 à 20:55, Robert Nawrath <mbro1689@xxxxxxxxx> a écrit :
> >
> > Hi,
> > I'm working on a kernel module for CAN-XL device. I can see in
> > /linux/can/dev.h that there are structures and methods for setting
> > bittiming and data_bittiming. The bittiming refers to CAN nominal bit
> > time, data_bittiming refers to CAN data bit time (using ISO/FDIS
> > 11898-1:2024 nomenclature). But in CAN-XL the data bit rate has two
> > values: FD data bit rate and XL data bit rate. This values are
> > different and the device shall have separate configuration register
> > sets for them. So for separate configuration registers there shall be
> > separate methods and structs.
> > Am I right that the current implementation in kernel is incomplete? Or
> > am I missing something?
> > Robert
> >





[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux