kentindell / canhack

The Yes We CAN project of Canis Labs
MIT License
344 stars 64 forks source link

Firmware/Hardware #4

Closed nico0481 closed 3 years ago

nico0481 commented 3 years ago

Hello Ken,

I'm quite confused with the use of 2 boards. I noticed the difference with the Canis CANHack board vs the Canis CANPico ( includes MCP2518 transceiver), but what is the difference with the firmware? Which one is the best to use with CANHackTool kit? What is the improvement with the controller? It is not even clear for me.

Thank you

Regards

Nico

kentindell commented 3 years ago

The CANHack board has a CAN transceiver connected to the GPIO pins. The CANPico board has a CAN controller connected to the transceiver but also connects the transceiver to the same pins.

The same firmware can be used on both boards. The API for the CAN controller will return an error when you try to use it on a CANHack board because there's nothing to talk to on the end of the SPI bus :-)