Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/24/08 07:23
Read: times


 
#156143 - 115K
Responding to: ???'s previous message
Hi,

Assuming you have a 24Mhz AT89C2051 you can use:



	MOV	SCON,#01010010b ;8 bit uart,  rcv enabled,TI set, RI clear
	ORL	PCON,#10000000b	;SMOD=1 (not bit addressable)
	MOV     TMOD,#00100001b ;T0=16 bit timer, T1=8bit auto reload timer
	MOV	TH1,#0FFH	;115.2K BAUD with 22.118MHz Xtal




Cheers,

Bert


List of 8 messages in thread
TopicAuthorDate
setting baud rate 115200            01/01/70 00:00      
   115K            01/01/70 00:00      
   RE: I need that speed            01/01/70 00:00      
      Why not let him do what he wants?            01/01/70 00:00      
         It is perfectly valid...            01/01/70 00:00      
   setting baudrates            01/01/70 00:00      
      Setting baud rate 115200            01/01/70 00:00      
         Are you sure?            01/01/70 00:00      

Back to Subject List