Hacker News new | ask | show | jobs
by MuffinFlavored 2236 days ago
What would it take to make CAN work with this? https://en.wikipedia.org/wiki/CAN_bus
3 comments

It is supported in hardware for multiple protocols: CAN1.0, CAN2.0, and CANFD. I'm pretty sure there are 3 ports that can be used simultaneously and independently. I only use 2 with CAN1.0.

Edit: By hardware support I mean that a CAN transciever connects to two GPIO pins with access to CAN chip hardware. No SPI interface needed.

Do you need a CAN controller and a CAN transceiver or just a transceiver?
A CAN transceiver? A few dollars + an SPI bus at a glance.

https://www.digikey.com/catalog/en/partgroup/can-transceiver...

Do you need a CAN controller and a CAN transceiver or just a transceiver?
I'd likely buy a small CAN chip and just connect over SPI. CAN as a protocol is a complicated mess, so having HW support is important.