Possible to use both CAN interfaces?

astrand
2018-05-27
2019-03-12
  • astrand - 2018-05-27

    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 https://www.waveshare.com/wiki/RS485_CAN_CAPE? 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.

    Br,
    Peter

     
  • alt - 2019-03-12

    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.

     

Log in to post a comment.