LPC11C CAN Baudrate configuration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC11C CAN Baudrate configuration

1,359 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kwinchell on Mon Jun 17 12:21:52 MST 2013

Does anyone know of a document that discusses baudrate configuration for the CAN bus?


I have found some discussion in the users manual, but not enough to know with confidence how to configure the registers.


Given my clock rate, at 48 MHz, and a desired CAN Bit rate of 1 MHz, how do I set up


CANCLKDIV, BRP, SJW TSEG1 TSEG2


标签 (1)
0 项奖励
回复
2 回复数

1,234 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kwinchell on Thu Jul 11 05:18:50 MST 2013

Thank you for the reply.


That is what I was looking for.

0 项奖励
回复

1,234 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Wouter on Mon Jul 01 01:44:45 MST 2013

Hi,


The CAN bitrate timings are well described on the internet, e.g.:


http://www.bosch-semiconductors.de/media/pdf_1/canliteratur/cia99paper.pdf


More convenient is to use a CAN bus bit timing calculator, e.g.:


http://www.kvaser.com/en/support/bit-timing-calculator.html


Select SJA1000, enter the requency at which speed you CAN peripheral is running, the desired baudrate and hit "Calculate". BTQ is BRP, SJW is SJW, T1 is TSEG1 and T2 is TSEG2. CANCLKDIV determines at which speed your CAN peripheral is running.


Regards,


Wouter

0 项奖励
回复