are
you worried about noise or timing?
In
terms of timing, the occurance of interrupts will not interfere with A/D
conversions, as all the timing of A/D module is generated by itself, no cpu
cycles is needed for this. interrupts will only slow down your average A/D
conversion rate if you do for example single shot A/D conversions in the main of
the firmware.
Regards
Murat
Karadeniz
-----Original Message-----Hello,
From: cpp103 [mailto:ray@exeltech.com]
Sent: Thursday, October 09, 2003 8:21 PM
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] Using A/D's and high speed timing ISR's together
I'm just seeing if anyone has performed this type of operation and
could offer advice on using A/D's with high speed timers, if they are
ok together, or if any pitfalls might arise.
I'm planning to use mega8535 ~ 14.7Mhz.
Needing to provide 4 PWM outputs based on some 10 bit A/D readings( 4
point moving ave filtered). I also must use one of the ISR overflows
from a PWM timer to perform some sync bits for other timing signals I
generate overflows around the 27 uSec time frame.
Does anyone know if the frequent ISR Timer overflow calls screw up
the non ISR A/D readings?, should I possibly use the fast A/D and
consume a little more power?
Any Help would be appreciated.
Ray
To unsubscribe from this group, send an email to:
AVR-Chat-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.