??? 04/23/11 03:22 Read: times |
#181978 - Counting cycles Responding to: ???'s previous message |
If you don't have any hardware for timing, then you need to count cycles.
The bad thing with cycle counting is that the counting will not include cycles spent on interrupts. By the way - for some chips you might be able to send dummy characters to UART or SPI or similar as a way to measure time. |
Topic | Author | Date |
How to Delay | 01/01/70 00:00 | |
Counting cycles | 01/01/70 00:00 | |
But *not* in a HLL | 01/01/70 00:00 | |
the problem with cycle counting ... | 01/01/70 00:00 | |
ok | 01/01/70 00:00 | |
??? | 01/01/70 00:00 | |
OK | 01/01/70 00:00 | |
So what do you do? | 01/01/70 00:00 | |
sounds crazy | 01/01/70 00:00 | |
again | 01/01/70 00:00 | |
Why *no*t using timers? | 01/01/70 00:00 | |
Why no timers.... | 01/01/70 00:00 | |
"Software" Timers | 01/01/70 00:00 | |
for another delay | 01/01/70 00:00 | |
Bad answer | 01/01/70 00:00 | |
Why ignore replies? | 01/01/70 00:00 | |
Output-only mode | 01/01/70 00:00 |