??? 04/25/11 07:43 Read: times |
#182024 - ??? Responding to: ???'s previous message |
Trangga Findanugroho said:
Per Westermark said:
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. It works for me, Thaks a lot. Sorry, but now I'm confused. Exactly what works for you? Counting cycles? Even when you do have a timer available that seems excellently suited for the task? |
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 |