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] Multi UART Communication

Status
Not open for further replies.

TiagoRibeiro

Full Member level 2
Full Member level 2
Joined
Oct 29, 2013
Messages
130
Helped
18
Reputation
36
Reaction score
17
Trophy points
28
Location
São Paulo/Brazil
Visit site
Activity points
765
Hello, I need to develop a project with PIC18F4680. Pic needs to communicate with a GSM module and GPS. But this pic has only one USART. So I have a doubt, it is possible to make 2 or more UART for Software? IF YES, how? Please guide me or provide any app to read.
I'm using MPLABX - C18 Compiler.
Thank you.
 

Hello again,
I managed to make a software UART work, but she is sending garbage.
I think this is happening because the baud rate is not correct. :grin:
Anyone know how to set the baud rate of the UART software?
 

you can find setting baudrate in to registers in the reference manual . Normally everyone does set at 9600 mbps.
 

if u are sending different commands for different devices then u can connect multiple serial port to single port. But condition is different data should be for different devices.
This is not try but u can try and post the resullt.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top