CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

CANbus example on RaspberryPi programmed in CodeSYS (NOT USING SPI)
https://forum.codesys.com/viewtopic.php?f=26&t=9869
Page 1 of 1

Author:  Kalyani_K [ Wed Jul 10, 2019 1:27 pm ]
Post subject:  CANbus example on RaspberryPi programmed in CodeSYS (NOT USING SPI)

Hello all,


I am implementing CAN bus on RaspberryPi-MCP2515 setup using CodeSYS.

However, I am NOT implementing it using SPI.

I want to be able to run CAN bus example directly on RaspberryPi and indeed, MCP2515.
And so far, I have been able to do it on Linux.

But, when I try running the CAN example program, CAN driver is NEVER created, because of which, any and every attempt to transmit a message returns an error message "CAN Driver Not Foud".

What am I missing out on?
How should I go about this problem?

Any and every input is highly appreciated. :)

Author:  Edwin Schwellinger [ Thu Jul 11, 2019 6:34 pm ]
Post subject:  Re: CANbus example on RaspberryPi programmed in CodeSYS (NOT USING SPI)

Hi,
I would search this forum for
rts_set_baud.sh this is what you need to add... based on socket can

viewtopic.php?t=8463#p20132
BR
Edwin

Author:  Kalyani_K [ Thu Jul 18, 2019 2:35 pm ]
Post subject:  Re: CANbus example on RaspberryPi programmed in CodeSYS (NOT USING SPI)

Checked!!
Thanks so much!! I has helped me big time!

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/