Raspberry Pi communicate with a PIC microcontroller

Status
Not open for further replies.

kanchana 29

Newbie level 4
Joined
Sep 14, 2015
Messages
6
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,352
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?
 

but the RX is shorted to ground and TX is shorted to 3.3V supply.
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.

Brian.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…