Am Freitag, 25. Juni 2010 17:52:56 schrieb Dan Toganel: > Hi all, > > I need to develop a CAN driver for SJA 1000 controller. > What is not very clear for me is the interpretation of Bit Timing > Registers. More exactly what is the connection between BTR0 (Baud Rate > Prescaler and Synchronization Jump Width) and BTR1 (Time Segment 1 and > Time > Segment 2) with the Nominal Bit Time (Synchronization, Propation Time, > Phase Buffer 1, Phase Buffer2 Segments) from CAN specification. > And how can I calculate the Nominal Bit Time for a certain speed (for > example 10 Kb/second). > > Can you help me? > _______________________________________________
You can try to use the values obtained with: http://www.port.de/cgi-bin/tq.cgi?ctype=Philips&CLK=8&sample_point=87.5 It is important to know the ingoing clock frequency. I used 8 MHz, because usual the SJA1000 is used with an 16 MHz crystal oscillator. Heinz
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
