ADC parallel conversion

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

ADC parallel conversion

跳至解决方案
367 次查看
Ayaz
Contributor IV

Hi
In my design, I need to sample two ADC channels simultaneously by doing the ADC parallel conversion. The sampling time for a single ADC channel is about 1.34 µs.

What is the right way to do it? My understanding so far:

When configuring the BCTU (see the image below), the expectation is that it will initiate conversions on both ADC0 and ADC1 simultaneously. Based on my understanding of cross-triggering and parallel conversion:

  • The FIFO should receive two results:
    ADC0_CH2 and ADC1_CH2,
    both sampled within the same 1.34 µs time window.
    Is this understanding correct?

Ayaz_1-1760707108999.png

From my testing (Se the image below ), it appears that the BCTU list determines the order of conversions, where:

  • First entry → ADC0
  • Second entry → ADC1

The FIFO then receives two results:

  • ADC0_CH2
  • ADC1_CH5

This raises an important question:
Does true parallel sampling occur, or are these conversions still sequential?
If they are sequential, what is the actual timing?
Is it still 1.34 µs per signal, or does the system complete both within the same 1.34 µs window?

Ayaz_1-1760709030574.png

In addition to my previous observations, I have more question:
What Are the Downsides of Parallel ADC Conversion?
What happens when we configure the system to sample the same channel on two different ADC instances (ADC0 and ADC1) at the same time?

Ayaz_2-1760709374856.png

  • Does this introduce extra noise due to simultaneous sampling on the same signal line?
  • Is there any delay or timing penalty compared to sampling different channels?

Which Approach Do You Recommend?

  • Sampling the same channel simultaneously on two different ADCs, or
  • Sampling two different channels simultaneously on two different ADCs?

I hope to get a clear answer to all these questions because understanding these details is crucial for designing an efficient and reliable system.

0 项奖励
回复
1 解答
229 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ayaz

Since ADC0 and ADC1 are sampled in parallel, the functions achieved by these two methods are the same. In my opinion, there is no difference.

在原帖中查看解决方案

0 项奖励
回复
5 回复数
318 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ayaz

Some of your settings are incorrect, but you might be getting correct results, which may be a bit confusing.

I'll summarize your answer below:

 

The FIFO should receive two results:ADC0_CH2 and ADC1_CH2,both sampled within the same 1.34 µs time window.Is this understanding correct?

Senlent_2-1760943217854.png

This is not correct. The result you get from the test should be ADC0-CH2 & ADC1-CH0.

You may have some doubts, but please don't delve into it too deeply, because this is a wrong setting in itself.

 

Also , for your this configuration:

Senlent_3-1760943419587.png

You can get the correct result, but I don't recommend it, as it can easily lead to misunderstandings.

 

Which Approach Do You Recommend?

  • Sampling the same channel simultaneously on two different ADCs, 
  • Sampling two different channels simultaneously on two different ADCs?

for example:

ADC0-CH2 & ADC1-CH2 will parallel conversions

Senlent_1-1760943025757.png

ADC0-CH2 & ADC1-CH5 will parallel conversions

Senlent_0-1760943004022.png

 

 

 

0 项奖励
回复
268 次查看
Ayaz
Contributor IV

Thanks for the information.

Could you please explain more clearly why this approach is not recommended?

1000000208.jpg

I’ve followed the instructions provided in an NXP knowledge-sharing article, so I’d like to understand the reasoning behind the concerns.

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-PIT-BTCU-parallel-ADC-FIFO-DMA-DS3-...

Also, regarding ADC sampling:

Can you elaborate on the implications of these two scenarios?

Sampling two different ADC channels simultaneously on two different ADCs.

Sampling the same ADC channel using two different ADCs.

What are the key differences between these two methods?

Does this introduce extra noise due to simultaneous sampling on the same signal line?Is there any delay or timing penalty compared to sampling different channels?Could this affect accuracy?

 

0 项奖励
回复
262 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ayaz

Can you elaborate on the implications of these two scenarios?

Sampling two different ADC channels simultaneously on two different ADCs.

Sampling the same ADC channel using two different ADCs.

What are the key differences between these two methods?

---------------------------------------------------------------------------------

In fact, these two situations are exactly the same, there is no difference. ADC0-CH0 and ADC1-CH0 are not the same channel, which you need to understand.

 

0 项奖励
回复
234 次查看
Ayaz
Contributor IV

Hi 
Thanks for your information 
When configuring the BCTU for parallel conversions across two ADC instances (ADC0 and ADC1), where:

  • ADC0 includes channels CH1, CH2, CH3
  • ADC1 includes channels CH4, CH5, CH6

Should the BCTU configuration define the “last channel” based on the following scenarios:

  1. The final channel in the combined sequence (e.g., CH6),
    Ayaz_0-1761033131400.png

     

    Or
  2. The last channel for each ADC instance individually (e.g., CH3 for ADC0 and CH6 for ADC1)?
    Ayaz_1-1761033181868.png



    Your previous snapshots show that only one last channel needs to be enabled/ticked (scenario 1), whereas this post: Example S32K344 PIT BTCU parallel ADC FIFO DMA DS3.5 RTD300 - NXP Community suggests that last channel should be enabled/ticked for both the channels of ADC0 and ADC1 (scenario 2).

0 项奖励
回复
230 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@Ayaz

Since ADC0 and ADC1 are sampled in parallel, the functions achieved by these two methods are the same. In my opinion, there is no difference.

0 项奖励
回复