Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I know that
But its not that hard also.
I am not an expert in CAN, but I think you should start transmitting second frame as soon as the interframe space of the first frame is over, If there is another higher priority message waiting then you have a problem.
So one thing what you can do is set the highest priority for the message which has more than 8 bytes and implement Horace1's idea.
Other CAN experts in this forum, correct me if I am wrong.
the numerically lowest ID has the highest priority (0's in an ID have higher priority than 1's and are transmitted on the bus)
so long as the protocol knows which ID is associated with a particular messages it can sort it out.