Hi Vasi,
On 2010/11/19 10:09, funlw65(Vasi) wrote:
On SVN 18F2550 device, the value for disabling comparator is 0!
It should be 7 as in datasheet?
In datasheet it say that CMCON must be 7 to be prepared for digital
input...
You are right! Thanks for reporting. I think I've changed this
accidentally with the move to mplab 8.60. I'll fix this ASAP.
But don't believe everything in the datasheets!
On page 129 of DS 39931C for the 18f25j50 you see the same code as on
page 113 of DS 39632E of the 18F2550. But when you look at oparator
control registers you'll see completely different meaning of their bits
and the code for the 18f25j50 is definitely wrong.
I have seen numerous errors of this kind and this is one of the most
time consuming tasks of creating workable (I wouldn't dare to say
'correct') device files!
Regards, Rob.
--
R. Hamerling, Netherlands --- http://www.robh.nl
--
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.