Actual acquisition time in "configure ADC" for PSoC4100S plus

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YoIs_1298666
Level 5
Level 5
250 sign-ins 100 replies posted 100 sign-ins

Hello,

I have a question about acquisition time in "configure ADC".

In "General" tab, I set "Clock frequency(kHz):" to 16000kHz.

YoIs_1298666_0-1632726013080.png

In "Channels" tab, I set "A cloks:" to 5. So, the acquisition time should be 312.5ns.

Why?

In the case of 281.25ns, the ADC clock frequency will be 17.777MHz.

YoIs_1298666_1-1632726190623.png

The conversion time seems to be correct.

Conversion time = (5+14)/16MHz =  1.1875 us

Conversion time means the total acquisition time and conversion time.

Best regards,

Yocchi

0 Likes
1 Solution
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

The actual sample time is modified by changing the register setting SAMPLE_TIME0/1/2/3

See the register definition. The actual sample time will half cycles less(4.5 times in your case)

Vasanth_0-1633067677183.png

Best Regards,

Vasanth

View solution in original post

0 Likes
3 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi,

The actual sample time is modified by changing the register setting SAMPLE_TIME0/1/2/3

See the register definition. The actual sample time will half cycles less(4.5 times in your case)

Vasanth_0-1633067677183.png

Best Regards,

Vasanth

0 Likes

Hello Vasanth-san,

Thank you very much for your reply.

if the sample time is 4.5cycles, the conversion time is 1.156us[(4.5+14)/16MHz].

The conversion time error will increase.

Best regards,

Yocchi

0 Likes

Hello Vasanth-san,

The conversion time error will increase, right?

Best regards,

Yocchi

0 Likes