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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/04/05 06:29
Read: times


 
#101889 - Is there anyway to get it up to 115200?
Responding to: ???'s previous message
Linh Pham said:
Hi,
The XTAL for my 8051 is at 11.059Mhz and I'm able to pump the serial port up to 57600 with

SCON = 0x52
TMOD = 0x20
SMOD = 1
TH1 = 0xFF

Is there anyway to get it up to 115200?

My pcb is working as a bridge between the PC and an external dialup modem. Is there any way to detect what's the connection speed between the PC & modem?

Thanks in advance.


solution 1.
double the clock frequency, if you donot have X2 series ics of 8051 like 89c52x2bn from phillips.

--------------------------------------------------------

solution 2
with the clock frequency of 11.0952MHz.

if you have X2 series of Ics,
with the same settings of

SCON = 0x52
TMOD = 0x20
SMOD = 1 //( SMOD = 1?? Whether can it be set directly?.)
TH1 = 0xFF


You have to set the bit in CKCON# register address 8FH. ( not bt addressable )

– WDX2 PCAX2 SIX2 T2X2 T1X2 T0X2 X2
7 6 5 3 3 2 1 0

Either X2 bit or T1X2 bit, to get the desired baudrate.




krishnaiah.




List of 20 messages in thread
TopicAuthorDate
8051 serial port at 115200?            01/01/70 00:00      
   Baud rate & autobaud            01/01/70 00:00      
   Is there anyway to get it up to 115200?            01/01/70 00:00      
      who know if he can, there is no CKCON in            01/01/70 00:00      
   Thanks, I'll try            01/01/70 00:00      
      Baud rate is not the only issue!            01/01/70 00:00      
   Wait a minute...            01/01/70 00:00      
   57600 is maximum            01/01/70 00:00      
      there are more            01/01/70 00:00      
   89c2051/4051            01/01/70 00:00      
      115200 baudrate            01/01/70 00:00      
      OP            01/01/70 00:00      
      a very sensible approach            01/01/70 00:00      
      22,1184 crystal            01/01/70 00:00      
      57600 not a maximum            01/01/70 00:00      
         Data Compression            01/01/70 00:00      
            on modems, compression and handshake            01/01/70 00:00      
         if using flow control then what is the p            01/01/70 00:00      
            faster modems != faster data transfer            01/01/70 00:00      
   Thanks everyone!            01/01/70 00:00      

Back to Subject List