Baud rate setting
2006-03-20 by Sayyid Naqvi
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
2006-03-20 by Sayyid Naqvi
Hello! Can any one tell me how to do baud rate setting for CAN in LPC2129 and LPC2148? Regards, -sayyid --------------------------------- Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. [Non-text portions of this message have been removed]
2006-03-21 by Joel Winarske
Hi sayyid, Some example values for LPC2129 BTR register with a 12MHz clock: #define CANBitrate20k_12MHz 0x003E401DL #define CANBitrate50k_12MHz 0x002B400EL #define CANBitrate125k_12MHz 0x002B4005L #define CANBitrate250k_12MHz 0x002B4002L #define CANBitrate500k_12MHz 0x00274001L #define CANBitrate800k_12MHz 0x00394000L #define CANBitrate1000k_12MHz 0x00364000L This site may help to illustrate the interaction of registers. The CAN controller in the LPC2129 is based off of the SJA1000. http://www.esacademy.com/faq/calc/sja1000.htm Joel
2006-03-21 by Sayyid Naqvi
Thank u Joel for the comprehensive and prompt reply.
I have got the idea.
Regards,
-sayyid
Joel Winarske <joelw@...> wrote:
Hi sayyid,
Some example values for LPC2129 BTR register with a 12MHz clock:
#define CANBitrate20k_12MHz 0x003E401DL
#define CANBitrate50k_12MHz 0x002B400EL
#define CANBitrate125k_12MHz 0x002B4005L
#define CANBitrate250k_12MHz 0x002B4002L
#define CANBitrate500k_12MHz 0x00274001L
#define CANBitrate800k_12MHz 0x00394000L
#define CANBitrate1000k_12MHz 0x00364000L
This site may help to illustrate the interaction of registers.
The CAN controller in the LPC2129 is based off of the SJA1000.
http://www.esacademy.com/faq/calc/sja1000.htm
Joel
SPONSORED LINKS
Microcontrollers Microprocessor Intel microprocessors Pic microcontrollers
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "lpc2000" on the web.
To unsubscribe from this group, send an email to:
lpc2000-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
---------------------------------
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
[Non-text portions of this message have been removed]