|
Post by differentiable on Sept 15, 2021 22:11:26 GMT
I'm trying to get a TC275 to read data off the D-CAN network of my car.
Now for questions that I feel have obvious answers somewhere:
Where/how do I connect CAN_H and CAN_L?
Do I still need a CAN shield anyway?
I've tried just listening in on CANRX with CAN_H as input, but it didn't work.
Note: I've had some success using the TC275 and TC375 as 3 axis mill controllers, and I'm familiar with some of the lower level APIs.
Edit: It looks like I need to use something like a MCP2551... yet, can't this be done through any serial interface anyway?
|
|
|
Post by Admin on Sept 16, 2021 7:20:57 GMT
The easiest way is to use an Arduino CAN shield with the MCP2551.
|
|
|
Post by differentiable on Sept 19, 2021 2:07:42 GMT
Just hooked up an MCP2551 directly to RX/TX and it works as expected. No shield needed, though it would be nice for the documentation to have mentioned this.
|
|
ac
New Member
Posts: 4
|
Post by ac on Nov 29, 2021 23:53:35 GMT
Just for reference for future readers, the TC275 and TC375 both include CAN controllers in the processor so only a CAN transceiver is necessary for being able to read and write to the CAN bus. The CAN transceiver is actually included on the TC375 board, but on the TC275 board is it not included which means you would have to connect it using a breadboard or jumper wires. Just hooked up an MCP2551 directly to RX/TX and it works as expected. No shield needed, though it would be nice for the documentation to have mentioned this. If you could post your schematic and code for using the CAN bus that would be a good reference as it is not included in the user manual. Thanks.
|
|