Hi,
I recently bought a DA14695/9 because of the fast ADC, ive followed adc adapter example wich samples one adc.
I need four adc's that are able to sample with 500Ksample/s and store their values (if using dma helps reaching the goals then this will be an option).
Is this possible?
- if not, what would be the sample rate when using 4 channels?
- if so, is there any direction you can guide me to accomplish this? adc adapter seems not to be able to do this.
Thanks in advance
Device:
Hi Taxara,
According to DA1469x datasheet, the theoretical sampling rate is 4Msamples/sec for each channel. In the ADC adapter example, chopping (2 samples) is used and sample_time= 5 . Please check drv_GPADCnm structure for the example’s configurations. The theoretical sampling rate will be around at [4Msamples/ sec ] / 2 samples for chopping / 5 ADC clock ~= 400Ksamples/sec. However, this is the theoretical sampling rate. In practice, you will have latencies due to higher priority interrupt plus the code execution, for example printf() execution. Also, keep in mind that the default setting is manual triggered. I’d suggest you to change it to continuous mode. In this continuous mode, the only latency will be any higher priority interrupts.
Thanks, PM_Dialog