Sadhana Rajagopal
Newbie level 1
Hello,
I am using this PICAN board for my project **broken link removed**
I would like to write ultrasonic sensor values to the can bus which in turn communicates to the second node..
I have tested spi loopback using this code **broken link removed**
When i connect the can bus and run this spi test it prints 0.. which shows or i assume mcp2515 has to be implemented which takes the data from spi(but im not sure)..
mcp2515(from microchip) and mcp2551 are inbuilt within the PICAN board.. so, the idea of implementing mcp2515 code TRUE? in order to get data from spi and if so how to proceed ?
I am using this PICAN board for my project **broken link removed**
I would like to write ultrasonic sensor values to the can bus which in turn communicates to the second node..
I have tested spi loopback using this code **broken link removed**
When i connect the can bus and run this spi test it prints 0.. which shows or i assume mcp2515 has to be implemented which takes the data from spi(but im not sure)..
mcp2515(from microchip) and mcp2551 are inbuilt within the PICAN board.. so, the idea of implementing mcp2515 code TRUE? in order to get data from spi and if so how to proceed ?