Quantcast
Channel: EngineerZone : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 51060

ADuC7024 ADC - Misc questions

$
0
0

Hi,


I have a few questions regarding the behaviour of the ADC peripheral on the ADuC7024 that I hope can be commented on:


i) After an ADC conversion has completed (ADCReady = 1) are the contents of bits 0 to 15 in ADCDAT all 0 or other/undefined?


ii) Data sheet Rev C, P44 says that reading ADCDAT clears ADCReady (ADCSTA, Bit 0). Does this also clear the ADC Channel (bit 7) in IRQSIG?


iii) With ADCCON configured for conversion on Timer 1 (bits 2:0 = 001) is it acceptable to read ADCDAT after a previous conversion has been performed (ADCReady = 0) and while a new conversion is in progress (ADCBUSY = 1)? I want to avoid the possibility of reading a value that is neither the result of the previous, or current conversion, such as when the result is being transferred internally to ADCDAT?


iv) What happens if ADCCON is written to/changed, while an ADC conversion is in progress (ADCBusy = 1) - does it affect the conversion in progress?


v) What happens if ADC channel is changed (ADCCP) while an ADC conversion is in progress (ADCBusy = 1) - does it affect the conversion in progress?


Thanks.


Viewing all articles
Browse latest Browse all 51060

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>