Error in LPC11C14 CAN Datasheet

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

Error in LPC11C14 CAN Datasheet

292 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amrbekhit on Thu Oct 14 07:22:05 MST 2010
Hello all,

I think I've found an error in the LPC11C14 datasheet. According to it, CANCLKDIV has a reset value of 0. However, reading the register into a variable shows that it has a default value of 1. Can anyone else confirm this behaviour?

Thanks

--Amr
0 Kudos
4 Replies

269 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Oct 15 08:04:05 MST 2010
Zero,

Thanks for pointing that out. We have fixed and it will appear in the next release.
0 Kudos

269 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Fri Oct 15 00:24:06 MST 2010
Since I use onchip CAN-driver this is obviously done somewhere for me :).

@code_red: I'm missing 'CAN_RST_N [3]' in Peripherals -> SYSCTL -> PRESETCTRL
0 Kudos

269 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by amrbekhit on Thu Oct 14 23:41:14 MST 2010
OK I've just done some more testing and you are correct - when the CPU is reset, CANCLKDIV is set to 0. However, what I've found is that once you take the CAN module out of reset by setting bit 3 of PRESETCTRL, CANCLKDIV is set to 1.
0 Kudos

269 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Oct 14 10:44:23 MST 2010
No, can't confirm that. Breakpoint at main shows in Peripherals-CCAN CANCLKDIV=0. Reading and printf via UART also shows 0.
0 Kudos