Re: Protocol recommendation for CAN(FD)-USB adapter

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

 



On 20.02.2024 08:49:26, Dr. Michael 'Mickey' Lauer wrote:
> Hi Marc,
> 
> >> 
> >> Sounds pretty cool. Our design is based on an ESP32-S3 though, so I
> >> have to duplicate that effort. Is there some kind of USB protocol
> >> definition for what gs-usb expects or do I need to learn that from the
> >> implementation?
> > 
> > I've put together a very rough summary of the driver's side of view:
> > 
> > https://gist.github.com/marckleinebudde/99f72d9db67accf08cc6efa367cfe54b
> > 
> > Feel free to update.
> 
> Wow, that’s very kind of you!

:)

> Later this year I’ll take this blueprint to implement the necessary
> changes in our firmware. I’ll enhance / update your summary
> as I’ll go.

If you discover any odd points or areas for improvement in the USB
protocol, please let us know.

Currently, TX-complete sends the _entire_ structure back to the host,
which is quite an overhead, especially for CAN FD frames. We're working
on a "short-tx-complete" feature.

Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

Attachment: signature.asc
Description: PGP signature


[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