DAC Issue PIC12F683 / PIC16F690 FCV9

For general Flowcode discussion that does not belong in the other sections.
Post Reply
DavidBotha_1
Posts: 12
http://meble-kuchenne.info.pl
Joined: Fri Dec 18, 2020 8:35 am
Been thanked: 1 time

Flowcode v9 DAC Issue PIC12F683 / PIC16F690 FCV9

Post 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.

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Post 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.
Martin

DavidBotha_1
Posts: 12
Joined: Fri Dec 18, 2020 8:35 am
Been thanked: 1 time

Flowcode v9 Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Post 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.
Attachments
PWM 12f683 test.fcfx
(9.99 KiB) Downloaded 431 times

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Post 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?
Martin

DavidBotha_1
Posts: 12
Joined: Fri Dec 18, 2020 8:35 am
Been thanked: 1 time

Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Post 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.

medelec35
Matrix Staff
Posts: 1913
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 619 times
Been thanked: 644 times

Re: DAC Issue PIC12F683 / PIC16F690 FCV9

Post by medelec35 »

Hi David you're welcome.
I'm glad it's all working for you now.
Thanks for letting us know.
Martin

Post Reply