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.

[General] bit timing calculations for UART

Status
Not open for further replies.

Joyhtidas

Member level 4
Joined
Nov 30, 2009
Messages
72
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,288
Location
Bangalore, India
Activity points
1,709
Hello,

Am using UART for an applications, the Peripheral clock is 32Mhz and the
Baudrate is 800000bps.

My doubt is- how to calculate 1 bit time of transfer.
I need to calculate for 256 bytes of data.

Regards
JD
 

hello,

Baudrate is 800 000bps.
it is not the baud rate of an UART ..
itcould be the FOSC for the MCU
I suppose you are using a PIC MCU familly with Q=32Mhz or maybe Q=8Mhz * PLL(') => 32MHz

choose your baud rate :
example 19200 bauds ?
and a classic RS232 data format 19200,8,N,1
1 start + 8 bits data +No Parity+ Stop = 10 moments
Freq= Bauds rate/10 => Hz
Periode T= 1/F => 0.052 mS or 52 µS for each bit
for 1 car => 10x52µS => 520 µS
for 256 cars .. 133mS


What MCU ?
Hardware UART or Software UART ?
FOSC value ?
 

Not completely impossible to operate an UART at 800 kBaud, but more likely that you confused some specifications.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top