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.

receive RS232 data at the baud rate 0f 1200

Status
Not open for further replies.

scdoro

Member level 5
Joined
Jan 12, 2005
Messages
87
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,040
Hi all,

Does anyone know how to generate receive RS232 data at baud rate of 1200.How does the calcuation works,can anyone help to explain to me? i have a source project which says it is written in this way.Can anyone help me verify if its correct?

********** Main Program *****************
;receive the data at 1200 baud rate
call Delay3
call Delay3


********** Delay Function *****************

Delay3
movlw .138
movwf count3
dec3 decfsz count3,f
goto dec3
return
************************************

thanks

regards
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top