Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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,347
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?
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
15,729
Helped
5,068
Reputation
10,161
Reaction score
4,924
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
133,205
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top