Content originally posted in LPCWare by felorek on Wed Jan 15 10:54:38 MST 2014 Hi, I'm running an example called "canopen on chip" and its bus baudrate is set to 125kbps, how can I change it to 1Mbits? I'm new to programming microntrolers so if u can explain it in easy way I would be very thankful. My microcontroler: LPCXpresso LPC 11C24 REV B (Designed by Embedded Artists NXP/Code red). I attached a code in case u wouldn't know about what example I'm talking about.
Content originally posted in LPCWare by LabRat on Thu Jan 16 15:00:58 MST 2014 Quote: felorek SJW is 4 actually, right? This value is SJW value of CANBT register, which is of course interpreted as SJW+1.
UM: Quote: Hardware interprets the value programmed into these bits as the bit value + 1.
Quote: felorek And what for is it used? SJW = '(Re)synchronization jump width' should be explained in every CAN description.
The (Re-)Synchronization Jump Width (SJW) defines how far a resynchronization may move the Sample Point inside the limits defined by the Phase Buffer Segments to compensate for edge phase errors.