2024-12-20 08:41 AM
Fairly basic question;
When working with CubeMX, I want to set up ADC1 and ADC2 to trigger and sample at the same time, using an HRtimer trigger pulse, at about 5 MSPS. ADC1 is sampling channel 1, and ADC2 is sampling channel 4.
I have them working right now, using two separate DMA channels. I want to try and improve this, and use only one channel. They NEED to sample at the same exact point in time, but I'm a little confused by this option in Cubemx.
which implies that there will be an inherent delay between the two ADCs sampling... But, reading the reference manual, there's no mention of a delay unless you're using an interleaved mode or alternate trigger mode.
Is what I'm wanting not possible to do with dual regular simultaneous mode? Or is this a bug or not actually relevant to the dual simultaneous sample mode?
Thank you.
Solved! Go to Solution.
2024-12-21 05:50 PM
This setting changes the DELAY field which is only used in dual interleaved mode.
In dual simultaneous mode, the two ADCs are always sampled simultaneously, as one would expect.
2024-12-21 05:50 PM
This setting changes the DELAY field which is only used in dual interleaved mode.
In dual simultaneous mode, the two ADCs are always sampled simultaneously, as one would expect.
2024-12-23 01:35 PM
Thank you! I do feel like there should be some clarification somewhere in cubeMX. It's a little ambiguous / misleading as it is.