BenzT
Junior Member level 3
Hi,
I am switching the port D of the PIC microcontroller at 50KHz.
while(1)
{
LATD = 0xFF
DelayUs(10);
LATD = 0x00
DelayUs(10);
}
But the PORT D pins are not connected in circuit. They are free only.
But i am getting some high frequency, high amplitude noise in other part of the circuit ( analog amplifier ). If i commented the above program, there is no noise in the analog section.
I tried the above program for PORT E also, there too heavy switching noise presents on analog amplifier.
Why the microcontroller pin switching affects my other circuit?
I am switching the port D of the PIC microcontroller at 50KHz.
while(1)
{
LATD = 0xFF
DelayUs(10);
LATD = 0x00
DelayUs(10);
}
But the PORT D pins are not connected in circuit. They are free only.
But i am getting some high frequency, high amplitude noise in other part of the circuit ( analog amplifier ). If i commented the above program, there is no noise in the analog section.
I tried the above program for PORT E also, there too heavy switching noise presents on analog amplifier.
Why the microcontroller pin switching affects my other circuit?