I’ve got the AST-CAN485 board and am trying to use it with the CANOpen protocol instead of standard CAN. I was hoping to adapt the example code ‘CAN_Receiver’ that comes with the board. Since I’m only using it as a slave node, I thought this might be a relatively straightforward task.
I’ve got some basic C-programming skills, enough to get a simple enough job done, but going through the code in the ‘AST_CAN_Arduino_Library-master’ (attached for reference) is proving to be way above my head.
I was wondering if anyone could point me in the right direction for where I might start to adapt the code for CANOpen? If I could even just get something set up where I can stream in received bytes at the given baud rate that’d be a great start.
Update: I’m not sure what I was doing wrong at first but I’m actually now able to receive in the CANOpen format messages using the CAN_Receiver example code.
I don’t see any reason why you couldn’t use CANOpen on the AST-CAN485 board, but you’d need to write your own firmware to make that happen. Unfortunately SparkFun is not able to assist you in writing your own firmware but others might be able to help. The links below might also be helpful to you.