This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ADC Value changes due to oscillator

I am working on C8051F120, I am getting a problem in ADC value.

When I am working on Internal Oscillator (24.5 MHz), my PLL Setting makes SYSCLK as 98 MHZ. My Reference is provided from external source (3.0V). when I read 1.5V value on any channel, I get 2048 (which is correct). But when I change the Oscillator to an external one (25MHz), my SYSCLK becomes 100MHz. with all the same settings and no change in the code, my ADC starts reading it as 2080 instead of 2048. I had tried reducing SAR Clock value and also tried increasing the Settling time by providing a much bigger delay but the result is unchanged.

Had anybody encountered such a problem ?

Parents
  • My Reference is provided from external source (3.0V).
    if that reference is supplied from 3V3 then, if the load of the external oscillator drop the 3V3 a bit that could be the reason. 0V3 is not much resistor drop for a reference.

    a change in the reference will have the same (reverse) effect as a change in the input which seems to have been the target of the previous posts.

    Erik

Reply
  • My Reference is provided from external source (3.0V).
    if that reference is supplied from 3V3 then, if the load of the external oscillator drop the 3V3 a bit that could be the reason. 0V3 is not much resistor drop for a reference.

    a change in the reference will have the same (reverse) effect as a change in the input which seems to have been the target of the previous posts.

    Erik

Children