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.

[SOLVED] Asynchronous Communication: 2 wire to 1 wire?

Status
Not open for further replies.

jsherman

Junior Member level 3
Junior Member level 3
Joined
Jul 2, 2013
Messages
25
Helped
7
Reputation
14
Reaction score
7
Trophy points
3
Visit site
Activity points
264
Hi all,

Sorry if this is a repeated topic post - I'm new, couldn't find anything that answered my question after a quick search, so I figured I'd throw it out there.

I'm designing a side project where I want to grab some GPS info to open/lock a box. The GPS chip I have, though, has a single pin for asynchronous serial communication for both Rx/Tx:
**broken link removed**

The microcontroller I'm trying to interface with is a PIC, and seems to only support a 2 pin asynchronous serial communication protocol:
**broken link removed**

The GPS chip looks like it works by receiving a command word serially and then sending the information back out the same pin. I figure an easy solution is to add a 2:1 bidirectional mux and trigger it using the "Transmitter Empty" interrupt. Timing shouldn't be an issue there as I'm planning to run my clock on the order of low MHz. However, I'm a little unsure about this solution and was hoping you guys could give me some feedback!

Thanks!
 

It's easier than that, just link the Tx and RX pins of the PIC together and enable the TX and Rx functions as needed. That way the PIC won't respond to it's own output but will be ready to see the reply from the GPS module. No MUX needed!

Brian.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top