Hi, Im using a PIC16F87 and almost everything is working fine except when i send serial data i get a reply. Ive checked the code and the only way that could happen is if portb.6 changes state. It has a pull up 100K resistor so it should be 1 unless i ground it. The other weird thing is that whenever this same pin is grounded the chip wont receive serial data. Ive checked the code over and over and im 99.99% sure that its not a code problem. Ive looked in the datasheet and the pin im having problems with has some extra features. I think it might have something to do with those but even after readign the datasheet i cant figure it out.
Ive got 3 other pins that work in the same way as this one (porta.3, portb.0 and portb.7). They all work as expected and only portb.6 has this problem



So far there has been a problem with every circuit ive made for it this year. Im still working on the others but i might have to make some other threads soon.


Bookmarks