OpenCyphal-Garage / platform_specific_components

Low-level components and hardware drivers for various Cyphal-related projects
https://opencyphal.org
MIT License
72 stars 40 forks source link

[UAVCAN/CAN] Driver for TI TCAN4550 #14

Open pavel-kirienko opened 4 years ago

pavel-kirienko commented 4 years ago

Many popular MCUs lack built-in CAN FD-capable controllers, which limits the uptake of CAN FD in new products. There is an interesting IC that could help new hardware revisions or new designs adopt CAN FD without having to port an existing codebase to a new platform: TI TCAN4550 -- a single-chip CAN FD controller with a built-in 5 Mbps transceiver interfaced with the MCU via SPI:

image

It is also appealing price-wise, being available from DigiKey for $1.5 @ 1k pcs, which is comparable to a regular standalone CAN transceiver.

This is a very promising chip and it would be nice to have portable and reusable drivers for it here.

Linjieqiang commented 3 years ago

What about the MCP2518FD chip?

pavel-kirienko commented 3 years ago

As far as I know, for MCP2518FD there are no AEC-Q/ISO26262 qualified options, which is likely to be a deal breaker for some high-integrity systems.

TCAN4550-Q1 is functionally identical to TCAN4550 plus safety qualifications.

On Sun, Oct 11, 2020, 06:00 Rocky notifications@github.com wrote:

What about the MCP2518FD chip?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/UAVCAN/platform_specific_components/issues/14#issuecomment-706642158, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZFIZFMLNYY5CELBTCB423SKENWNANCNFSM4RULXL6A .

AGlass0fMilk commented 3 years ago

Just found this while searching for in stock TCAN4550 parts...

I have modified the TI driver to support multiple TCAN instances and there's an implementation for Mbed-OS you can reference here:

https://github.com/AGlass0fMilk/mbed-tcan455x

I also designed an open-source breakout board for this part but thanks to COVID it won't be in stock again until 2022 🙃

Eventually I plan to make a group buy to produce a decent quantity of the breakout boards.

Just finding this project and I think it will work nicely for my CAN-based devices :)

Let me know if there's any interest.