Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
CCS CAN Driver
Posted: Mon May 10, 2004 1:54 pm
In the CCS CAN driver it puts transmit data into buffer 0. If buffer 0 is faull, it then puts it into buffer 1. If buffer 1 is full it then puts it into buffer 2. If all the buffers are full it then exits with an error.
In the Microchip specs it says that it sends data starting with buffer 2, then buffer 1 and then sends buffer 0 last.
So, should the CCS driver be reversed?
Neutone
Joined: 08 Sep 2003 Posts: 839 Location: Houston
Posted: Mon May 10, 2004 2:20 pm
It would be best if it started with 2 then 1 then 0. And only fill 1 if 0 is empty. Only fill 2 if 1 and 0 are empty. That would insure the buffers are sent FIFO.
Thats "my take on it" not to be confused with "the best solution".
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum