Re: Atmel AVR, too slow encoder tics counting
From: Umpa (¹¿æó_at_umpaumpalala.com)
Date: 05/07/04
- Next message: Bill Davy: "Re: C500 & PIC16C64"
- Previous message: Andy Sinclair: "Re: Graphic voting systems"
- In reply to: Jim Granville: "Re: Atmel AVR, too slow encoder tics counting"
- Next in thread: Umpa: "Re: Atmel AVR, too slow encoder tics counting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 7 May 2004 10:37:25 +0200
Thanks for smart advices.
> 5KHz sounds about right for LONGINT SW -
My processor has 16 MHz.
Even if execution of interrupt procedure lasts 1000 cycles
(I don`t think so it lasts as long), we should have
16000000 / 1000 = 16 kHz.
I think, my program should be able to count with
higher frequencies according to high processor
speed, and not so slow (I think not slower than e.g. 1000 cycles)
interrupt procedure.
Umpa.
- Next message: Bill Davy: "Re: C500 & PIC16C64"
- Previous message: Andy Sinclair: "Re: Graphic voting systems"
- In reply to: Jim Granville: "Re: Atmel AVR, too slow encoder tics counting"
- Next in thread: Umpa: "Re: Atmel AVR, too slow encoder tics counting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]