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.

Using multiple Software UARTS using different bitrates in PIC18F452

Status
Not open for further replies.

adwnis123

Full Member level 4
Joined
Jun 19, 2014
Messages
214
Helped
0
Reputation
0
Reaction score
1
Trophy points
18
Activity points
1,737
Hello,

Is it possible to use multiple Software UARTs with different bitrates in each SoftUART in PIC18F452 on mikroC (mikroelektronika)?

Thank you!
 

I doubt it if you use the library routines provided. Note the receive warning about it being a blocking routine, that means it sits inside the routine until all the bits of a byte have been received, this implies it cannot simultaneously be checking another pin for data.

It is possible to do it if you write your own routines though. One sofware UART is easy, it can get quite complicated to run several at once, especially at different speeds but I have done it in the past with 8 software UARTS running concurently so it can be done.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top