I am working on Raspberry Pi 3 board to communicate with a PIC microcontroller through UART pins but the RX is shorted to ground and TX is shorted to 3.3V supply. How to make the TX and RX pins to communicate with the micro controller through UART?
I assume you mean their logic states don't change rather than they are shorted.
If the PIC runs from 3.3V supply:
First link the ground (VSS) of the PIC to the Ground pins on the Pi.
Connect Pi TX (pin 8) to the PIC RX pin.
Connect Pi RX (pin 10) to the PIC TX pin.
Enable both UARTs and make sure they are configured for the same number of bits and same Baud rate.
They should then talk to each other.
If the PIC runs from > 3.3V, use a resistive dropper to reduce the TX voltage from the PIC to the Pi. You shouldn't need one in the other direction.