Jak naprogramovat jeste jednu RS232 u AT89C2051

Snail Instruments snail at iol.cz
Thu May 10 21:27:00 CEST 2001


>Trochu jsem nad tim premyslel. Myslim ze by to slo. Pri rychlosti 9.6 kbit
>trva jedem bit cca 104us, takze dost casu. Problem je, ze to urcite sezere
>druhy casovac a jedno externi preruseni, takze toho z 2051 moc nezbyde.

Alternativou je pravidelne preruseni nekolikrat rychleji, nezli jdou data. V podstate napodobeni cinnosti HW uartu. Samozrejme je to narocnejsi na vypocetni vykon, ale to same preruseni muze obsluhovat TX i RX "soucasne".

J. Hanzal


=======================================================================
Electronical devices for chemical laboratory, custom electronics design
-----------------------------------------------------------------------
Snail Instruments                      Josef Hanzal, M. S.
Vojanova 615                           phone/fax: +420-311-624433
266 01 Beroun                          e-mail: snail at iol.cz
Czech Republic                         URL: http://www.vitrum.cz/snail/
GPS: 49deg58'28" North, 14deg 4'35" East
=======================================================================






More information about the HW-list mailing list