Exact ADC sample point?

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

cross mob
lock attach
Attachments are accessible only for community members.
HuEl_264296
Level 5
Level 5
First like given 25 sign-ins First solution authored

Hi,

   

I want to use a PSoC3 to measure the average current through an inductor, which is being driven by a center-aligned PWM from the PSoC. Therefore I need to make sure the sample point of the ADC coincides exactly with the center of the PWM pulse.

   

Is it enough simply to wire the PWM tc output to the ADC soc input? Does the sample and hold happen on the rising edge of soc?

   

 

   

Many thanks

   

Hugo Elias  -  Shadow Robot Co Ltd

0 Likes
7 Replies