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.

how to use 2 different baud rate in pic microcontroller

Status
Not open for further replies.

td micro

Member level 5
Joined
Jun 26, 2012
Messages
86
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,929
hi,
in our projet, we are using pic 18f,gsm modem and RF receiver.
in that, we have connected modem to tx and rx pin of pic with a baud rate of 9600.
now we have to interface Rf module to pic.can i connect that RF receiver to any port of pic?bcoz in our pic, only one usart is present.
and the baud rate of RF is 2400.so in pic, i have to use 9600 for modem and 2400 for RF.
which baud rate i have to set while initialising usart of pic? how can i combine these 2 baud rate?
please guide me..
 

Since there are only one hardware UART and you have two devices to interface at same time; You have to use a software UART for one of connection. Some programming languages have built in software UART (eg MikroC) library.
 
Last edited:

thank you for reply
can i connect this RF receiver to any one port of pic?
 

Yes, You have to confirm with your programing language.
 

then how can i set the baud rate?9600 or 2400?
how i know if any bit comes?whether i have to set the width of the bit?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top