Value gaps in DMA transferred ADC data
Setup is as follows:
ADC1 & 2 in 'Dual regular simultaneous mode only'
DMA1 stream 0 used to transfer ADC data to AXI SRAM buffer (40000 32 bit values), DMA circular mode.
Using 'HAL_ADC_ConvHalfCpltCallback' to signal half buffer filled and 'HAL_ADC_ConvCpltCallback' to signal full buffer.
When the second half is filling, the first half is processed by application and vice versa.
This basically works good but buffer data for ADC 1 shows gaps at even 4k levels.
Example: Imagine the rising part of a triangle wave signal at ADC inputs. Simplified data example below.
ADC1 ADC2
---- ----
4092 4092
4093 4093
4094 4094
4095 4095
4095 4096
4095 4097
-
-
-
4095 4194
4095 4195
4095 4196
4197 4197
4198 4198
etc.
At 4095, 8191, 12287 and so on with 4k intervals, data in buffer from ADC1 gets "stuck" for a while and then continues with a jump.
What could be the reason?
