Does anyone know how to cancel the transmission just after a write to SBUF ?
a "funny" (rather sad) story about J1708 and the pseudorandom "int rand(void);" The J1708 specification specify that after a collision a random delay is to be invoked before the transmission is attempted. Two devices, both using the Keil "int rand(void);" collided and since the random delay was the same for the two every time they just kept colliding. WARNING: When doing J1708 do not rely on pseudorandom use a true random. I have a free running timer that save the value at the end of each transmission from the individual device and this seems to work. Erik