DAC Issue PIC12F683 / PIC16F690 FCV9
-
- Posts: 12
- http://meble-kuchenne.info.pl
- Joined: Fri Dec 18, 2020 8:35 am
- Been thanked: 1 time
DAC Issue PIC12F683 / PIC16F690 FCV9
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.
-
- 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
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.
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
-
- Posts: 12
- Joined: Fri Dec 18, 2020 8:35 am
- Been thanked: 1 time
Re: DAC Issue PIC12F683 / PIC16F690 FCV9
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
-
- 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
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?
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
-
- Posts: 12
- Joined: Fri Dec 18, 2020 8:35 am
- Been thanked: 1 time
Re: DAC Issue PIC12F683 / PIC16F690 FCV9
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.