Content originally posted in LPCWare by Polux rsv on Tue Aug 10 02:52:28 MST 2010
Quote: Mark_O
Angelo wrote:
> [I]The major problem with the CAN controllers, also present in previous chips as LPC2368, is when you want to use both CAN1 and CAN2 controllers. The user manual states CAN1 and CAN2 should use the same CCLK frequency.[/I] <
I must have missed that requirement. Could you point out a reference for me? All I noted was that "[1]PCLK_CAN1 and PCLK_CAN2 must have the same PCLK divide value when the CAN function is used." in Chapter 4, Section 7.3, Table 40.
Thanks.
- Mark
That's what I was talking about. But the manual didn't tell the PCLK_ACF [U][B]MUST[/B][/U] be the same than PCLK_CAN1 and PCLK_CAN2. Otherwise you have random behaviour of can controllers, not doing what software tells them to do. I lost several hours to find that. :mad: