Comment #3 on issue 171 by robhamerling: ADC group change for several 18Fxxk22 PICs
http://code.google.com/p/jallib/issues/detail?id=171

While checking for other changes/errors/omissions related to ADC I encountered something 'suspicious'. Some PICs use ANCONx registers to control the analog/digital setting of pins. Up till now I found only one type of setting:
for analog bit = 0, for digital bit = 1.
However in the datasheet of the 18f87K22 family (39960D page 358) I read the reverse: for analog bit=1, for digital bit=0. When that is correct the device files would have to be revised on this point (enable_digital_io), but probably also the ADC libraries need revision. BTW. While searching the Microchip forums I found an discussion about problems with ADC and the 18f87k22 and mcc18. Maybe this is the same issue.
It seems this needs further investigation!


--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to