Tag added ...
Your picture didn't make it through to me for some reason.
Have you checked out the errata for your chip? I know there were some chips where doing things with one pin did funny things with another pin, but I thought they were all recent PIC24 chips.
{Quote hidden}> as the attached picture, I have disabled the UART2's RX/TX, and the config of CM3CON
> is the default value. the TRIAG are input, where should be the mistake?
>
> On Wed, 2 May 2012 14:15:38 +0800
> Zona <
spam_OUTzanoTakeThisOuT
tom.com> wrote:
>
> > Dear all:
> >
> > I got a problem when i use the pin6/7 of PIC18F87K90.
> > I have set the pin in digital input mode. when i put the pin 6(RG1)
> > to high, the bit 1 of PORTG is 1, it is ok. but when i put the pin 7
> > (RG2)to high in circuit, the bit1&2 of portG are both 1. At this time
> > the bit 1 of portG should not be 0. there are no components on the
> > pin 6 & 7. and also i have set the registry as the attached picture.
> >
> > any advice will be helpful. thanks.
> >
> > --
> > BR.
> > ----
> > Zona <
.....zanoKILLspam
@spam@tom.com>
>
>
> --
> BR.
> ----
> Zona <
zano
KILLspamtom.com>
>