PIC Internal DAC output pin

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Maverick
Posts: 69
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:58 am
Has thanked: 27 times
Been thanked: 8 times

PIC Internal DAC output pin

Post by Maverick »

Most PIC micros have 1 DAC which has an output on pin A2 which is what the flowcode component is setup for.
the dac output can also be set to output on B7 instead of A2. see attached text from datasheet
is it possible to change the internal dac component to allow selection of A2 or B7 as I use port A as inputs
Attachments
dac1.jpg
dac1.jpg (20.87 KiB) Viewed 3622 times

BenR
Matrix Staff
Posts: 1956
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 511 times
Been thanked: 700 times

Re: PIC Internal DAC output pin

Post by BenR »

Hello,

What device are you using and I'll investigate for you.

Maverick
Posts: 69
Joined: Wed Dec 02, 2020 10:58 am
Has thanked: 27 times
Been thanked: 8 times

Re: PIC Internal DAC output pin

Post by Maverick »

Hi Ben

Typically PIC16F1789 OR PIC16F18877

Maverick
Posts: 69
Joined: Wed Dec 02, 2020 10:58 am
Has thanked: 27 times
Been thanked: 8 times

Re: PIC Internal DAC output pin

Post by Maverick »

also pic16F1786, generally it appears to be RB7 as alternate pin

BenR
Matrix Staff
Posts: 1956
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 511 times
Been thanked: 700 times

Re: PIC Internal DAC output pin

Post by BenR »

Hello,

I've now added the alt DAC pins on the devices you mentioned. Updates should now be available via the library update system.

Please let me know how you get on and if you spot any further devices that need this mod.

Maverick
Posts: 69
Joined: Wed Dec 02, 2020 10:58 am
Has thanked: 27 times
Been thanked: 8 times

Re: PIC Internal DAC output pin

Post by Maverick »

Hi Ben

could you add ALT DAC pin RB7 TO DEVICE PIC16F1717 please

Gavin

BenR
Matrix Staff
Posts: 1956
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 511 times
Been thanked: 700 times

Re: PIC Internal DAC output pin

Post by BenR »

Hi Gavin,

That's been done for you now, thanks for letting us know.

Post Reply