Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] Baud rate setting

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

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.