PDA

View Full Version : An4 in 18f87k22 family - doco incorrect



longpole001
- 18th August 2014, 10:45
Hi guys , this has taken some time for microchip to comeback to me to confirm the doco is wrong in this family for table 12.2 on port A RA4 , bit4 ,
is shown as an analog port in the doco on this table , but should be RA5 ANSEL4

the update may take time to be done in the errata for this family




Problem Description:
datasheet PIC18F87K22

page 171 -
table 12.2 - summery of registers with port A
TABLE SHOWS THE FOLLOWING

ANCON0 , BIT 4 = ANSEL4

however bit4 of port A is NOT an analog port

Problem Resolution:
Hi Sheldon,

Good Day.

Thank you for writing to us and pointing out this inconsistency in the datasheet.
Looking at Table 12-2, I think the ANSEL4 should be for port RA5 since this port is multiplexed with AN4 which is an analog signal(See Table 12-1).
I have already reported this inconsistency to our documentation team and this should be corrected for the future version of datasheet.

Best Regards,