??? 12/20/06 07:15 Read: times |
#129797 - Clear Explanation here Responding to: ???'s previous message |
8051 @ 12MHz counting frequency cuntinuously. The frequency varies from 50KHz to 90Khz continuously . A timer counts the input frequency , but when an interrupt(int) from analog circuit come the frequency value at that starting time of the interrupt is to be looked for and when the interrupt flag gets down (after 10us) that particular value of frequency has to be stored to a location say L1 .
Again after this the interrupt is gone for next 20us and it again flags up for next 10us ,and so on . So we have a 20us Idle time to write a value and reload the timer again ?? .what is the best method to do this . freq: -f0---f1------f2--f3--f4------------f2--- int: ____|'''''|___________|'''''|____________ intTime: ----|10us |----20us---|10us |------------ Storevalue:-----L1-----idle-------L2-------------- Result : f1 at location L1 f4 at location L2 |
Topic | Author | Date |
Frequency window implementation | 01/01/70 00:00 | |
How to post ASCII Art | 01/01/70 00:00 | |
not codes | 01/01/70 00:00 | |
That doesn\'t matter. | 01/01/70 00:00 | |
Feasibility | 01/01/70 00:00 | |
50kHz..100kHz= 20..10microsec | 01/01/70 00:00 | |
Clear Explanation here | 01/01/70 00:00 | |
Pushing your luck | 01/01/70 00:00 | |
nothing can be measured (allmost) | 01/01/70 00:00 | |
Stefan | 01/01/70 00:00 | |
nothing can be measured (allmost)![]() | 01/01/70 00:00 |