ADC_SAR Sampling Rate | Cypress Semiconductor
ADC_SAR Sampling Rate
I am using the ADC_SAR in my project and cannot get it to produce samples at the conversion rate that I've set in it. I have set the ADC to run at 1MSPS (the maximum). I have also set the Master Clock in the system wide resources at 72MHZ. However with this setting I am getting samples at around 133kSPS. My ADC resolution is set to 10. I read my ADC register in software as shown below. Is there some setting that I'm missing here?
/* Wait for end of conversion */
voltageRawCount[j] = ADC_SAR_1_GetResult16(); /* Get converted result and store in array voltageRawCount[ ] */