ADC DMA stm32f401
Can the ADC write to the buffer faster than the buffer values are sent to PC?
- Single channel ADC using DMA, non-circular, EOC every conversion
- ADC is in 12-bit resolution but as I understand it writes a full 16-bits each conversion
- Buffer size 1000 values
- Data rate from ADC 500MHz
- using HAL_ADC_ConvCpltCallback to invoke CDC_transmit_fs() to send the 1000-value buffer over UART (virtual com) at default value (I think 12mbps, whatever the default is).
The ADC to DMA is always running (does not stop for CPU due to using DMA) and I am getting weird values which makes me think the ADC to DMA values being written to the buffer are 'outrunning' the communication to PC and overwriting values mid-send, is that possible with the above setup?
