RE: [PATCH 4/6] net: can: flexcan: Add provision for variable payload size

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

 



Hi Marc,

> -----Original Message-----
> From: Marc Kleine-Budde [mailto:mkl@xxxxxxxxxxxxxx]
> Sent: Monday, July 30, 2018 8:07 PM
> To: Pankaj Bansal <pankaj.bansal@xxxxxxx>; linux-can@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH 4/6] net: can: flexcan: Add provision for variable
> payload size
> 
> On 07/30/2018 06:07 PM, Pankaj Bansal wrote:
> > Till now the flexcan module supported 8 byte payload size as per CAN
> > 2.0 specifications.
> > But now upcoming flexcan module in NXP LX2160A SOC supports CAN FD
> > protocol too.The Message buffers need to be configured to have payload
> > size greater than 8 bytes (if flexcan module supports it)
> >
> > Therefore, added provision in the driver for payload size to be variable.
> > BUT, limit the only possible payload value to be 8, because the CAN FD
> > changes are not in place yet.
> 
> What's the size of a CAN-FD mailbox? Is it fixed or configurable at runtime?

Flexible mailboxes configurable to store 0 to 8, 16, 32 or 64 bytes data length

> 
> Marc
> 
> --
> Pengutronix e.K.                  | Marc Kleine-Budde           |
> Industrial Linux Solutions        | Phone: +49-231-2826-924     |
> Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

��.n��������+%������w��{.n�����{����*jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[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