On Mon, Feb 08, 2010 at 10:56:36AM +0200, Daniel Baluta wrote: > > Hi, > On Mon, Feb 8, 2010 at 10:47 AM, Kurt Van Dijck <[email protected]> wrote: > > Hey, > > > > I opened the CAN 2.0B spec (from Bosch, part A, page 26). > > an error counter can go to 256, which equals > > bus-off. Any CAN chip that goes beyond 256 is not according this spec. > > Hmm, can you post a link to this document? > > I've opened CAN 2.0 spec [1] ( part A, pag 26) and here it says: > > <quote> > A node is ’bus off’ when the TRANSMIT ERROR COUNT is greater than or equal to > 256. > </quote> > > So according to this tec can be greater than 256 :). Your quote is exact. My interpretation is this: when a TEC reaches 256, it stops bus access. Therefore, TEC should not grow beyond 256 (well, it can as the TEC is not necessarily increased by 1, steps may be bigger, if I remember correct).
TEC stops being a usefull thing there at 256. You should have stopped looking at it then. > > thanks, > Daniel. > [1]http://www.semiconductors.bosch.de/pdf/can2spec.pdf Yep, there it is. Kurt _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
