Welcome, Guest

Author Topic: CAN continuously transmitting?  (Read 1259 times)

vihai

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
CAN continuously transmitting?
« on: March 16, 2017, 07:20:58 PM »
Hello,

I'm doing some experiment on the EVB with the Olimex Debian SD. Everything seems to be fine during setup but looking on an oscilloscope I'm noticing the bus never going back to idle.

Well, I suppose that in CAN terms a idle bus is electrically idle, I'm not an expert in CAN buses ::)

Am I doing something wrong?

KeesZagers

  • Full Member
  • ***
  • Posts: 173
  • Karma: +2/-0
Re: CAN continuously transmitting?
« Reply #1 on: March 17, 2017, 07:45:28 PM »
Hello Vihai,
I'm not familiar with this hardware, but I guess I know what is happening on the CANbus. The CANbus should be idle on startup. However as soon as you start to send a message, the hardware is expecting at least one other participant on the CANbus. At the end of the CAN message it has a so-called ACK(nowledge) slot, in which it sets a recessive bit (1), but it is expecting a dominant bit (0), which is set by all the other participants on the bus, which have received the message correctly. As long as no other participants are on the bus, it will retry to send the message continuously. So nothing wrong with your hardware or software.

Kees