Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

CAN bus mcp2515-spi communication

Status
Not open for further replies.

Sadhana Rajagopal

Newbie level 1
Joined
Dec 4, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
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 ?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top