CAN bus and SPI communication in Raspberry Pi

1.6k views Asked by At

I am developing a prototype for adaptive cruise control using two raspberry pi's. I have tested SPI on pi and it works (checked it through loopback). Now i want to write this data to the cotroller. So, after referring to resources i found Socketcan should be used in order to interface can controller with the pi. So i request some one to explain how the communication happens like 1. After writing to spi how the can controller can take that data? 2. If socketcan be used to take data from spi , i need to know how?

Thanks

0

There are 0 answers