Page 1 of 1

dsPIC33 Sample ADC synchronous with PWM

Posted: Fri Nov 21, 2025 10:51 pm
by pmgreene01
I read that the dsPIC33EV that I am working with supports sampling an ADC channel synchronous with the PWM output. I want to do this to get accurate current sensing in a motor drive. I wanted to find out if Flowcode supports this configuration before trying to code it with a C-code block.

Re: dsPIC33 Sample ADC synchronous with PWM

Posted: Mon Nov 24, 2025 4:00 pm
by BenR
Hello,

No I'm afraid we don't support that out the box in Flowcode. It should be possible to setup the PWM and ADC and then add in a C code block to add the extra register configuration you require.

Shout if you have any issues and we will do our best to help.