CAN bus time calculation

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

CAN bus time calculation

1,593 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sinhapra on Wed Jul 17 10:19:31 MST 2013
Hi,
I am working on LPC2364 processor for the first time I have to configure CAN controller.
I am seeing there are many website which provide timing calculator but no one discuss about how to achive those register value.

I am using 12Mhz freq and want to achive 125K baud rate communication
I want to understand what should be my BRP value to achive 125K and how to select Seg1 and Seg2 value for the rgisters?
How to calculate BRP value?

Any help would be appriciated...

Thanks,
标签 (1)
0 项奖励
回复
3 回复数

1,407 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by oranade19 on Sun Jan 26 01:45:17 MST 2014
Hello,
I am using LPC1769 for CAN implementation
XTAL freq is 12 MHZ
Pclk=16Mhz
Cclk=64 MHZ
I want bitrate of 125kbps..can you please suggest appropraite setting for bus timings or any document from where i can refer from for lpc1769 CAN bus settings as i searched on the net but didn find any sample codes also..

Regards
Oranade
0 项奖励
回复

1,407 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sinhapra on Mon Aug 19 12:33:15 MST 2013
I am trying to use RL CAN driver, and it looks like it doesn't configure BTR register properly. Does it work? Can I just add RL files and CAN port starts working...
0 项奖励
回复

1,407 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Wouter on Tue Jul 30 23:44:59 MST 2013
Hi,

See this thread on the LPC11Cxx:
http://www.lpcware.com/content/forum/lpc11c-can-baudrate-configuration

The configuration for the LPC2364 is similar.

Regards,
Wouter
0 项奖励
回复