CODESYS - the IEC 61131-3 automation software

Possible to use both CAN interfaces?
Page 1 of 1

Author:  astrand [ Sun May 27, 2018 7:50 pm ]
Post subject:  Possible to use both CAN interfaces?

Hi! I'm looking for an open platform which supports Codesys V3 and provides "raw" CAN access on at least 2 CAN interfaces. The BeagleBone Black apparently has 2 CAN interfaces, but is it possible to use both with capes such as Is it possible to simply attach two of them?

If possible, I would also like to have 1 x RS232 and 1 x RS422. Any suitable capes available? The Waveshare cape apparently only supports two wire RS485.


Author:  alt [ Tue Mar 12, 2019 7:01 am ]
Post subject:  Re: Possible to use both CAN interfaces?

Hello! This is possible. At the same time, the second can is dcan0 and it falls on the i2c2 pins.
Solution: 1) create a device tree overlay for dcan0
2) disable the i2c2 bus in the main device tree.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited