1. We will be in Read Only mode (no new threads, replies, registration) starting at 9:00 EDT for a number of hours as we migrate the forums to upgraded software.

Atmega128L clock values for different peripheral

Discussion in 'Embedded Systems and Microcontrollers' started by Pooja23, Oct 11, 2012.

  1. Pooja23

    Thread Starter New Member

    Oct 11, 2012
    Hello experts,
    I am working on atmega128L and need to calculate the energy consumption in different operations like data logging, ADC etc.
    For this I required the time taken in each operation per byte/sample. To evaluate the time, clock value is required. Could you please tell that what are the various practical clock values for each clock like Clock(I/O), Clock(ADC), Clock(USART) and how to calculate it?
    Thank a lot
  2. kubeek


    Sep 20, 2005
    AFAIK atmega has only one system clock, so the clock for those peripherals is set by the main oscillator. The only difference are counters, which can be run off an external crystal, but other than that the clock frequency is set globally.
    The main question regarding power consumption is how often are the peripherals accessed / enabled..
    Last edited: Oct 11, 2012