Page 1 of 1

CAN communication via SPI pins

Posted: Thu Mar 05, 2020 3:54 pm
by Ewutru
Hey All,

For my graduate thesis I have to make a device that can send data over the CAN bus. For this project i decided to buy a LattePanda, as it supports the already written windows 10 programs by the company that i work for.

I would like to communicate via the LattePanda arduino SPI ports to a MCP2515 CAN controller with a MCP2551 CAN transceiver. There are a lot of arduino programs out there to communicate with these chips, however that is the arduino. Is there a way to communicate to these SPI ports via c# or am I required to use the COM communication to talk to the arduino who then sends/receives data over the can Bus and to my Visual Studio program? :?