Content originally posted in LPCWare by thedaz on Thu Apr 07 09:59:29 MST 2016 The getClkDiv() function used to calculate the ADC peripheral clock prescaler ist wrong and generates way to little prescaler values causing the ADC on my LPC1769 @ 120MHz being run with 15MHz while the manual states the ADC clock should not be higher than 13MHz. Instead the formula to calculate the divider needs to be