Hello ! In the T89C51CC01 datasheet the ADC Clock is calculated with the formula fADC = fosc/(4 (or 2 in X2) * (PRS +1)) but the u-Vision 2 (latest Version) debugger seems to calculate on this formula: fADC = fosc/(4 (or 2 in X2) * PRS) which one is the right one ????? thx for help, florian mair.
We have verified the chip behaviour together with Atmel Application Lab. The correct formula is ADC = Fosc/(4 (or 2 in X2) *PRS) So the error is in the datasheet. The simulation in uVision2 is correct. Best Regards Keil Support - Intl.