cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC™ 4

sera_pani
New Contributor II

Dear all,

I am new to the CYPRESS microcontrollers. I am using the CY8CKIT-043 and  I want to utilize the ADC peripheral. I used the example CE195275 – Sequencing SAR ADC and Die Temperature Sensor with PSoC 4. In my application , I want to measure a current through a current sense amplifier and convert it to a digital signal. My problem relates to the fact that the adc of the example project has a maximum  sample rate of 390, while in my application I would like a sample rate of 10000 samples/second. Could you help me, how to achieve that ?  

0 Likes
1 Solution
Vasanth
Moderator
Moderator

Hi,

You can select the sample rate option directly and give the sample rate between the permissible limits or configure the clock in such a way that actual sample rate is within the expected values. See that in the example averaging is enabled for channels and 256 samples are taken, additionally acquisition time is also higher. These values affect the sample rate achieved finally.

Best Regards,
Vasanth

View solution in original post

0 Likes
2 Replies
Vasanth
Moderator
Moderator

Hi,

You can select the sample rate option directly and give the sample rate between the permissible limits or configure the clock in such a way that actual sample rate is within the expected values. See that in the example averaging is enabled for channels and 256 samples are taken, additionally acquisition time is also higher. These values affect the sample rate achieved finally.

Best Regards,
Vasanth

View solution in original post

0 Likes
sera_pani
New Contributor II

Thank you very much for your reply. Indeed, I changed the alternate resolution to 10 bits and also the samples average to 8.  

Thank you again.

0 Likes