Martin Steppuhn wrote: > Hello Rui, > > I 'am using the LPC2129 an there ist the same "problem". > > You can fix it with the CAN setup by chosing a time quanta > with a low error in the CANBTR. > > For 14,7456 MHz and 125k CAN Buadrate my settings for CANBTR are: > > #define CALC_BRP_43 0x0000002A > #define CALC_SJW_1 0x00000000 > #define CALC_TSEG1_8 0x00070000 > #define CALC_TSEG2_2 0x00100000 > > #define CANBitrate125k CALC_BRP_43 | CALC_SJW_1 | CALC_TSEG1_8 | > CALC_TSEG2_2 > > Error: -0,24% > > You can find additional infos in: > http://www.hitex.co.uk/arm/lpc2000book/index.html > > Best regards, > Martin > > > With en error less then 1% there should be no problem for CAN. Cheers /Ake -- --- Ake Hedman (YAP - Yet Another Programmer) eurosource, Brattbergavagen 17, 820 50 LOS, Sweden Phone: (46) 657 413430 Cellular: (46) 73 0533 146 Company home: http://www.eurosource.se Kryddor/Te/Kaffe: http://www.brattberg.com Personal homepage: http://www.eurosource.se/akhe Automated home: http://www.vscp.org
Message
Re: [lpc2000] CAN bit timming vs RS232
2006-01-03 by Ake Hedman, eurosource
Attachments
- No local attachments were found for this message.