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:
From my testing (Se the image below ), it appears that the BCTU list determines the order of conversions, where:
The FIFO then receives two results:
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?
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?
I hope to get a clear answer to all these questions because understanding these details is crucial for designing an efficient and reliable system.
已解决! 转到解答。
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?
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:
You can get the correct result, but I don't recommend it, as it can easily lead to misunderstandings.
for example:
ADC0-CH2 & ADC1-CH2 will parallel conversions
ADC0-CH2 & ADC1-CH5 will parallel conversions
Thanks for the information.
Could you please explain more clearly why this approach is not recommended?
I’ve followed the instructions provided in an NXP knowledge-sharing article, so I’d like to understand the reasoning behind the concerns.
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?
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.
Hi
Thanks for your information
When configuring the BCTU for parallel conversions across two ADC instances (ADC0 and ADC1), where:
Should the BCTU configuration define the “last channel” based on the following scenarios:
Or
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).