Forum

CANOpen with differ...
 
Notifications
Clear all

[Solved] CANOpen with different CAN chip

4 Posts
3 Users
0 Likes
346 Views
Forum 1
 Tjb
(@tjb)
New Member
Joined: 1 year ago
Posts: 2
Topic starter  

Hi, we have just gotten your product, and it is really great! we are looking to use the Arduino library, but we have a microcontroller with a tcan1051 chip, and not a MCP2515. I know the tcan1051 uses serial to communicate, rather than SPI, so would you suggest to use the UART example(?), or would we be best to try and look at how to modify your CANOpen lib to try and use the tcan1051? i know this is a long stretch but i had to ask the question. thanks!

Tim


   
SOLO Team
(@milad)
Illustrious Member Admin
Joined: 4 years ago
Posts: 581
 

Hello @tjb,

Thanks for the note, at this point the Arduino CANopen library works only with MCP2515 and MCP2551.

unfortunately, we can't confirm if it works with other chips, as we haven't tested them here thoroughly, I believe that if using the SPI line for the CAN bus is not a big issue in your system the easiest way will be to use these two chips.

As a side note, however, TCAN1051 as you know is just a CAN transceiver, and it just converts dedicated CANTX and CANRX lines into two lines of differential CAN High and CAN Low, so if your microcontroller works with this chip, it means you can put/read the CAN data on the line, once you are able to do so, you can use our MCP library for the most part of it to communicate with SOLO, probably you will need to only change the send and receive functions and most of the other parts will remain intact because we wrote the code in a way that it has the minimum dependency on Arduino libraries, so if you can somehow change the SPI read and writes to your CAN read and writes, potential you can reuse major part of the code.

let me know if you have any other questions.

Milad

 

If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.


   
Forum 1
 Tjb
(@tjb)
New Member
Joined: 1 year ago
Posts: 2
Topic starter  

@milad thanks for this, this is what also we were thinking. ok, let us look and we will post back here what we find. 👍


   
SOLO_Francesco
(@solo_francesco)
Chief Member
Joined: 2 years ago
Posts: 35
 

Tjb we close the discussion, feel free to open a new one in relation with the new specification you have


   
Share: