r_goncalves2000 wrote: > Hello guys and thank you very much for your fast answers. > > I'm thinking in doing this. > Use a 15MHz cristal. > Use PLL to set cclk to 60MHz. > Set VPDIV to define pclk to 60Mhz. > > With this settings I have 0% error in defining the CAN baud rate > and a maximum of 1.72% error in RS-232 baud rate at 115.200. > At 19.200 I get 0.16% error. In this group I found that RS323 > error should be less than 3% so I think I'm OK. > > I think it's better to have no error in CAN than in RS-232. > In CAN if the cable is to long I get errors due to the baud > rate setting and errors do to the size of the cable. > > Am I right? Any comments? If you are withing 1% for the CAN bit speed you will be alright. For cable length adjust the sample point instead. Use 87.5% for instance to be able to use the length specified for CANOpen 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] Re: CAN bit timming vs RS232
2006-01-03 by Ake Hedman, eurosource
Attachments
- No local attachments were found for this message.