4 ADC channel

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

4 ADC channel

2,325件の閲覧回数
gambler
Contributor I
Hi,
 
I am currently using 908AW32 ADC function to take measurement, but i can only activate one adc channel at a time by selecting adc channel in 'adc1sc1'. This resulting a delay in my program as i have to wait for each adc channel conversion to be completed before i can proceed with another adc channel.
 
Is there anyway that i can run 4 adc channel simultaneously or is there coding technique that can help me to improve the speed??
ラベル(1)
0 件の賞賛
1 返信

241件の閲覧回数
bigmac
Specialist III
Hello,
 
Tthe '9S08AW32, and other 8-bit devices, have a single ADC module.  If you look at the block diagram in the data sheet (Fig 14.2), you will see that this consists of a SAR converter, plus an input multiplexer.  With this arrangement, only one conversion can occur at any time.
 
So sequencing the required channels is the best you can do using internal resources.  For rapid sequencing, you might use the ADC interrupt to commence each new conversion.  This will permit you to do other things whilst waiting for each completion.
 
I believe some of the 16-bit MCUs do provide an automatic sequencing mode, but there is still only a single measurement at any time.
 
For each of the four channels, how many readings per second do you require?
 
Regards,
Mac
 
0 件の賞賛