Page 1 of 1

DAC Issue PIC12F683 / PIC16F690 FCV9

Posted: Wed May 24, 2023 1:06 pm
by DavidBotha_1
Hi all. I have picked up an issue with the DAC / PWM output on the PIC12F683 and the PIC16F690 in FCV9. The simulation works perfectly however when testing on the hardware, I get no output on the designated PWM outputs. Please may you look into this.

Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Posted: Wed May 24, 2023 2:29 pm
by medelec35
Hello.
I have just looked into this on the 12F683 and my hardware is working as expected.
Can you please post your fcfx and .hex files for the 12F683.

Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Posted: Thu May 25, 2023 7:13 am
by DavidBotha_1
Hi medelec. I have tried a basic flowchart once again with the 12F683 and still get no output on the MCU. Have tried a new 12F683 as well.

Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Posted: Thu May 25, 2023 8:37 am
by medelec35
Hi David.
The issue with your project is you have not selected Timer2 for PWM Timer properties.
If you leave it blank, the PWM will not work.
Can you do that for both 12F683 and 16F690 and let me know how you get on, please?

Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Posted: Thu May 25, 2023 10:11 am
by DavidBotha_1
Hi medelec. That did the trick. PWM works on both the 12F683 and the 16F690. I missed that entirely. Thank you very much for your help.

Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Posted: Thu May 25, 2023 10:31 am
by medelec35
Hi David you're welcome.
I'm glad it's all working for you now.
Thanks for letting us know.