S32K328 ADC channels

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,305件の閲覧回数
mertsahin
Contributor II

Hi,

 

Is it possible to read all 72 pins of ADC at the same time?

ADC0 has 8 precision, 16 standard

ADC1 and ADC2 also.

 

I wonder is it possible to read all 72 of them at the same time?

 

Thanks a lot.

0 件の賞賛
返信
1 解決策
3,272件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @mertsahin 

You can only measure 3 channels at the same time and they have to be each from a different ADC. And to obtain all the channels of an ADC you have to finish the measurement of one channel to start the next one giving the necessary time between each measure.

元の投稿で解決策を見る

8 返答(返信)
3,225件の閲覧回数
mertsahin
Contributor II

Many thanks VaneB.

0 件の賞賛
返信
3,287件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @mertsahin 

It is possible to measure all the ADC channels, but you must allow the capacitors of each ADC to discharge between measurements to avoid noise. Therefore, the more channels you use, the longer it will take to measure all the samples.

Please take into consideration the ADC specs provided in the data sheet.

 

B.R.

VaneB

3,282件の閲覧回数
mertsahin
Contributor II

If we can read them in parallel, why should we wait for longer time if we use more channels.

I presume the capacitors at each channel may discharge at the same time 

 

Is that correct?

0 件の賞賛
返信
3,278件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @mertsahin 

I am sorry if I did not make myself clear.

Each ADC is a separate module, so you can take measurements from all three at the same time. What are not "independent" (so to speak) are the channels that each module has. They are all connected to the same hardware. For example, if you measure channel 0 of the ADC 0 you have to wait for the capacitors to discharge to measure channel 1 of ADC 0, but you can take measurements of channel 0 of ADC 0, ADC 1 and ADC 2 at the same time since the channel is not shared between each module.

3,275件の閲覧回数
mertsahin
Contributor II

Thanks for the explanation.

 

So each ADC channel has 8 precision, 16 standard.

This means for ex channel 0 of ADC0, ADC1 and ADC2, we can measure at the same time. 

If we would like to get all 72 channels at the same time. We need to wait longer. Right?

0 件の賞賛
返信
3,273件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @mertsahin 

You can only measure 3 channels at the same time and they have to be each from a different ADC. And to obtain all the channels of an ADC you have to finish the measurement of one channel to start the next one giving the necessary time between each measure.

3,267件の閲覧回数
mertsahin
Contributor II

To conclude the topic, 

 

if I need all the measurements from 72 channels in total, I need to wait 24 times a specified time. If I wait that amount of time, I will obtain all ADC results (all 72 channels) at the same time.

Let's say period for 3 simultaneous channel measurements from different ADC blocks it "t"

If I wait for 24*t, I will have all the results.

Is that correct? 

0 件の賞賛
返信
3,251件の閲覧回数
VaneB
NXP TechSupport
NXP TechSupport

Hi @mertsahin 

Theoretically, it would work like that.