Yahoo Groups archive

Lpc2000

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

Thread

Baud rate setting

Baud rate setting

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]

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

RE: [lpc2000] Baud rate setting

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]

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.