Hi everyone.
I'm trying to read the CAN data from an automotive part, which is going fine, but I have one weird finding.
Every 6 seconds or so, the CAN data stream stops for about 1 second. I don't think this is standard behavior, I think the CAN controller may be restarting. I can see a slight current drop on its input.
I am sending the example's random message to keep the bus alive, otherwise all communication shuts down.
Has anyone seen anything similar before? Is this a matter of sending the wrong keep-alive message? Bad message timing?
Thanks!
I'm trying to read the CAN data from an automotive part, which is going fine, but I have one weird finding.
Every 6 seconds or so, the CAN data stream stops for about 1 second. I don't think this is standard behavior, I think the CAN controller may be restarting. I can see a slight current drop on its input.
I am sending the example's random message to keep the bus alive, otherwise all communication shuts down.
Code:
msg.id = random(0x0,0x00);
for ( uint8_t i = 0; i < 8; i++ ) msg.buf[i] = i + 1;
Can0.write(msg);
Has anyone seen anything similar before? Is this a matter of sending the wrong keep-alive message? Bad message timing?
Thanks!