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.

variable baud rate in 8051

Status
Not open for further replies.

dinesh401

Advanced Member level 4
Joined
Aug 21, 2010
Messages
104
Helped
3
Reputation
4
Reaction score
2
Trophy points
1,298
Location
BANGALORE
Activity points
2,077
what is the use of variable baud rate in 8051. where this varibale baud rate is used ?

in 8051 mode 3 is used for variable baud rate. i didnt find any application for this. can anyone tell me regarding this variable baud rate.

thankyou
 

hi dinesh,

if we want to communicate between two systems, in that it'll not communicate with other system we can use variable baud rate.
 

can you explain me further with an example....
 

hi dinesh,

if you want to communication between PC & uC then the baud rate is fixed as 9600 for PC.

if you want to communication between 2 uC, you set baud rate variable when the both baud rate are same it'll communicate. it won't communicate with other baud rate.
 

Dinesh, nearly all 8051 communication is using "variable" baud rate mode 1 and 3, e.g. all PC communication. Variable baud rate means that the baud rate is programmed by a timer, popular baud rates like 9600 can be only implemented this way. You'll most likely chose mode 1 (for standard 8,N,1 frame). Mode 3 can be used to emulate parity or two stop bits.
 

this variable baud rate can also be used to communicate between the devices with unknown baud rate. by using this first we can know the baud of other device and next set device baud to that rate and then communicate. it would be crazy and fun when i use this function to communicate with arm processor i gives funny results at higher baud rates as 8051 or atmega32 does not support much in higher frequencies.
 

there will be problem while communicate with 8051 & arm controller.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top