Discussion Forum

80c552 TIMER 2 baud rate generator

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

DetailsMessage
Read-Only
Author
Mark Fifler
Posted
31-Mar-2005 16:23 GMT
Toolset
None
New! 80c552 TIMER 2 baud rate generator
Im using the 80c552 and i can't found how i can use timer 2 for generate the baud rate. (actually im using timer 1, but i must change for timer 2). It's possible?

PD: sorry for my english isn't enought good

Thx in advanced.
Read-Only
Author
Mark Hickman
Posted
1-Apr-2005 00:08 GMT
Toolset
C51
New! RE: 80c552 TIMER 2 baud rate generator
Hi,
I assume the 80c552 is much the same as the 80c52 so if you go here:-

http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3420

then atmel have an example in c and asm as to how to use timer 2 as the baud rate generator which i am sure you should be able to modify to suit your XTAL and BAUD RATE requirements.

Mark.
Read-Only
Author
Dan Henry
Posted
1-Apr-2005 00:15 GMT
Toolset
None
New! RE: 80c552 TIMER 2 baud rate generator
Some 8052 derivatives allow Timer 2 to be used for serial baud rate generation. Alas, a quick skim of an ancient '552 datasheet suggests that might not be the case for the '552.
Read-Only
Author
erik malund
Posted
1-Apr-2005 13:42 GMT
Toolset
None
New! RE: 80c552 TIMER 2 baud rate generator
if it has a T2, the "standard" require it useable as a baud rate generator.

Erik

The P89C51Rx2 datasheet at Philips has a full T2 description that AFAIK apply to ANY T2. A section is "T2 as baudrate generator"

With the "a datasheet shall only show what is not in "the bible"" principle there are some divergences re T2 since some issues of "the bible" include T2 and some do not.

Erik
Read-Only
Author
Dan Henry
Posted
1-Apr-2005 14:54 GMT
Toolset
None
New! RE: 80c552 TIMER 2 baud rate generator
It has a T2.

It is not standard.

See for yourself: http://www.keil.com/dd/docs/datashts/philips/8xc5x2_ov.pdf
Read-Only
Author
Stefan Duncanson
Posted
1-Apr-2005 15:09 GMT
Toolset
None
New! RE: 80c552 TIMER 2 baud rate generator
"It has a T2.

It is not standard."

Surely the world wouldn't dare deviate from Erik's view of it?
Read-Only
Author
erik malund
Posted
1-Apr-2005 16:05 GMT
Toolset
None
New! RE: 80c552 TIMER 2 baud rate generator
It is not standard.

Well, that's the first time I have seen that --- and on April 1.

Erik

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