[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

16 KHz timer

Hi all,

  I'm trying to execute an interrupt handler at 16 KHz rate. The period
has to be as precise as possible (62,5 us). Using the fast timer API, I
only succeed in having period of 40 us and 80 us approximately. In fact
theses values are constant and integer part of a calculation that I have
forgotten (sorry it makes a long time).

  Maybe I've misread the datasheet but is it possible to have a 16Hz
timer or do I have to use a external timer connected to the external
interrupt pin ?

Thank you