Login  Register

Re: 6A1/6A2

Posted by mcaldwelva on Feb 06, 2016; 4:55am
URL: http://bluesaab-forum.90.s1.nabble.com/6A1-6A2-tp15p194.html

I'm still surprised at the differences in behavior between our Viggens. The 4x 6A2 messages have been okay for me since I added the code back in November.

I think there's one other thing that should probably be in there... there's only three send buffers, so if we don't wrap the send call in a while loop, there's a good chance that we're not sending out all four messages e.g.

   while (CAN.send(&CAN_TxMsg) == 0xff);

Although the timing code that Karlis added should also take care of it.
'00 9-3 Viggen