| ??? 01/24/05 17:29 Read: times |
#85678 - comment Responding to: ???'s previous message |
And you can still compensate for interrupt latency by subtracting the current timer value from the reload value - so you get a non-multiple-of-32(256) 16-bit divider for your timing ticks (but the interrupt service routine gets a bit more complicated). Unfortunately this technique is rather part specific and it may be necessary to have other interrupts running so I would prefer not to use it.
If you can not, for whatever reason, use T2 (or another reloading timer in your deriavtive) then you have one option for simple timing: select a crystal that makes your counter value such that the start value of the TL is 0. That way, you cam reload TH only. The "right way" use T2 or a PCA Erik |
| Topic | Author | Date |
| Timer 0 Mode 0 | 01/01/70 00:00 | |
| no and why | 01/01/70 00:00 | |
| CD quality sampling freq.? | 01/01/70 00:00 | |
| oops | 01/01/70 00:00 | |
| Why | 01/01/70 00:00 | |
| alternatives | 01/01/70 00:00 | |
| Alternatives | 01/01/70 00:00 | |
| comment | 01/01/70 00:00 | |
| 16 vs 13 | 01/01/70 00:00 | |
| Why not T2 | 01/01/70 00:00 | |
| uC crystal ? | 01/01/70 00:00 | |
| uC Crystal | 01/01/70 00:00 | |
| cost saving because of may | 01/01/70 00:00 | |
| Cost Saving | 01/01/70 00:00 | |
| at those volumes | 01/01/70 00:00 | |
| baudrates | 01/01/70 00:00 | |
Baud Rates | 01/01/70 00:00 |



