dsPIC33 Sample ADC synchronous with PWM
-
pmgreene01
- Posts: 36
- http://meble-kuchenne.info.pl
- Joined: Sat Jul 08, 2023 7:39 pm
- Has thanked: 3 times
- Been thanked: 4 times
dsPIC33 Sample ADC synchronous with PWM
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.
-
BenR
- Matrix Staff
- Posts: 2007
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 525 times
- Been thanked: 716 times
Re: dsPIC33 Sample ADC synchronous with PWM
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel