I have atmega128A connected to external 16MHz crystal.
I am trying to check maximum ADC samples it can support. After reading datasheet and other posts on forum I want to post my results for better understanding.
My configuration is..
1. External Crystal 16 MHz
2. Adc prescalar = 32 (which give 500K, out of range as per datasheet..but it works.)
3. UART connected to PC having baud rate 115.2K.
4. I have given 500 Hz sine wave input to ADC channel 0. I am getting mostly 16-20 samples per sine wave (per 500 Hz) that means 8 to 10K samples per second.
I want to know that can I say that above configuration will give me atleast 8K samples per second. Or I am missing something....
I am attaching image of sine wave obtained at my PC.