AnsweredAssumed Answered

LPC1768: Change main clock from 12MHz to 16MHz

Question asked by Marc Wetzel on Feb 21, 2018
Latest reply on Feb 23, 2018 by Kerry Zhou


I have a self-made board with a LPC1768 @ 16 MHz and CAN here.

I started the project by using the provided LPC1769 (LPCOpen) examples.

I changed the XTal frequency (named OscRateIn) in board.c in the example code from 12MHz to 16MHz.


While testing with the CAN example inside I get the more transmission errors the higher the CAN Baudrate goes.

At 500kbit it is not usable at all.


It seems that changing only the OscRateIn is not all that I have to change.


Is there some way to fix this in software, or do I better use the example default osc frequency of 12 MHz