Discussion Forum

about serial communication

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
MANOJ KUMAR
Posted
12-Jan-2007 09:10 GMT
Toolset
C51
New! about serial communication

this is manoj im using 89c52 microcontroller .im unable to transmit the data serilally for 115200 baud rate .
but im able to transmit thro 9600 baud rate configuration.

i tried using X2 mode by configuring
baud rate control register
baud reload register
pcon register
clock control register

can anyone give the example for configuring the registers in x2 mode for baud rate of 115200

Read-Only
Author
Andy Neil
Posted
12-Jan-2007 09:12 GMT
Toolset
C51
New! Use the Baud Rate Calculator

http://www.keil.com/support/docs/1905.htm

Read-Only
Author
MANOJ KUMAR
Posted
12-Jan-2007 09:41 GMT
Toolset
C51
New! RE: Use the Baud Rate Calculator

sir
i want the data to transmit the in x2 mode for 115200
it is not possible in x1 mode
i wantan example to configure the registers in x2 mode for 115200 baud rate.

Read-Only
Author
Andy Neil
Posted
12-Jan-2007 10:29 GMT
Toolset
C51
New! RE: Use the Baud Rate Calculator

The Baud Rate Calculator gives you everything you need:

http://www.keil.com/c51/baudrate.asp

Read-Only
Author
erik malund
Posted
12-Jan-2007 13:52 GMT
Toolset
C51
New! RE: about serial communication

can anyone give the example for configuring the registers in x2 mode for baud rate of 115200

NO, not till you state
1) specificly which derivtive (89C52 is a general name, e.g. AT89C52 is a specific name)
2) what your clock speed is

Erik

Read-Only
Author
MANOJ KUMAR
Posted
14-Jan-2007 07:47 GMT
Toolset
C51
New! RE: about serial communication

AT89c52 ,24MHZ clock speed

i stucked up in another problem tat im not able to receive data serially when i use max 485 bus
thro hyperterminal .i have used convertor to convert rs232 to 485 in between the pc and my target board im not able to receive the data .can u guide me

Read-Only
Author
erik malund
Posted
16-Jan-2007 00:22 GMT
Toolset
C51
New! RE: about serial communication

can u guide me
I have no Idea if micro (u) can guide you, but haow are you handling receieve and transmit eanable on your 485 tranmsciever.

Erik

Next Thread | Thread List | Previous Thread Start a Thread | Settings