LPC11Cxx CAN-BUS Help

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11Cxx CAN-BUS Help

1,404 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LexaryStyle on Sat Apr 16 13:09:13 MST 2011
Hi All.
I was read LPC111x/[B]LPC11Cxx[/B] User manual UM10398 and i can't find [B]CAN speed(100,250,500,1M) \ CAN bit timing register[/B] table, how can get it for us?

And i find error in Table 209, see row "Description", please check it.

Thanks.
0 Kudos
Reply
8 Replies

1,395 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Europe on Tue Apr 19 14:47:42 MST 2011
Hello LexaryStyle,

Quote:
0010: CAN_CLK = PCLK divided by 3
0010: CAN_CLK = PCLK divided by 4.

is type-error ... will be changed. Should be

Quote:
0010: CAN_CLK = PCLK divided by 3
0011: CAN_CLK = PCLK divided by 4.

Thanks.
0 Kudos
Reply

1,395 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Apr 18 14:32:46 MST 2011
Would suggest to use 48MHz:

100k: 0x127
200k: 0x113
250k: 0x10F
500k: 0x107
1000k: 0x103
0 Kudos
Reply

1,395 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Mon Apr 18 14:24:23 MST 2011
Very good guess.  I'm not seeing that well today,  too much fun yesterday.

Danke
0 Kudos
Reply

1,395 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Apr 18 14:15:24 MST 2011
Guess:


Quote:

0010: CAN_CLK = PCLK divided by 3
0010: CAN_CLK = PCLK divided by 4.

0 Kudos
Reply

1,395 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Mon Apr 18 14:11:53 MST 2011

Quote: LexaryStyle

And i find error in Table 209, see row "Description", please check it.



Please describe the error you found in more detail.
0 Kudos
Reply

1,395 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Apr 18 13:49:29 MST 2011
Wrong question :mad:

What CAN_CLK are you using?
0 Kudos
Reply

1,395 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by LexaryStyle on Mon Apr 18 13:27:26 MST 2011
Yes, what write in [COLOR=Red]CANBT[COLOR=black] if use 12Mhz oscillator for:
100Kbps
200kbps
250kbps
500kbps
and 1000kbps


[/COLOR][/COLOR]
0 Kudos
Reply

1,395 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sat Apr 16 13:17:54 MST 2011

Quote: LexaryStyle
Hi All.
I was read LPC111x/[B]LPC11Cxx[/B] User manual UM10398 and i can't find [B]CAN speed(100,250,500,1M) \ CAN bit timing register[/B] table, how can get it for us?
Thanks.



What about[COLOR=Red] CANBT[/COLOR]?
0 Kudos
Reply