Page 1 of 1

PIC16F1788 DAC

PostPosted: Fri Dec 04, 2015 1:06 pm
by CrawleyMicro
Hi. In the datasheet the 1.0 DEVICE OVERVIEW TABLE 1-1 DEVICE PERIPHERAL SUMMARY indicates that the PIC16F1788 has only th e single 8 bit DAC.
But elsewhere - Family Type Table and 28 Pin Table - indicates that it also has the 3 x 5 Bit DACs.
Can anyone confirm or advise ?
Thanks in advance.
Robert

Re: PIC16F1788 DAC

PostPosted: Fri Dec 04, 2015 1:49 pm
by Ian.M
Microchip have a long tradition of copy/paste goofs when writing new datasheets and their marketing parametric part database is badly borked with many parts having incorrect data in their records. Fortunately the software development tools part support data is much more accurate so if in doubt GREP the MPASM headers for key SFR and bit names to determine which 8 bit parts have which peripherals, and once you've identified a small handful of candidate devices, <SHOCK><HORROR>RTFM in full</HORROR></SHOCK> (in this case datasheet sections 19 & 20).

N.B. *ALWAYS* check the errata *BEFORE* designing a part in.

Re: PIC16F1788 DAC

PostPosted: Fri Dec 04, 2015 3:01 pm
by CrawleyMicro
Thanks. Yes - I'll take a look at the MPASM etc headers. Part of what makes the datasheet side of things not so clear is that it also covers the PIC16F1789 (40 / 44 pin device) that has the additional 5 bit DACs.
There is indeed an errata for this device but it doesn't cover this.
I have a ticket in with Microchip support but I know that can take a bit of time.

Re: PIC16F1788 DAC

PostPosted: Wed Dec 09, 2015 10:58 am
by CrawleyMicro
Well it seems that the datasheet was updated to version 'C' a week ago and it now shows the 1788 part as having the 5 bit DACs in that table.
Had some input over on the Microchip forum.