??? 10/06/05 14:09 Read: times |
#102031 - explanation Responding to: ???'s previous message |
hi,
Jan Waclawek said:
Well, I think they don't wait until end of stopbit as that's not defined, but that's only a detail (or maybe I just misunderstood the "2/4/6/stop" - I would write "0/2/4/6").
I just explain my sentence: autobaud: ; autobaud with timer 2 MOV T2CON,#00h jb P3.0,$ ; wait for start bit jnb P3.0,$ ; wait for data bit 0 'H' mov TL2,#00h mov TH2,#00h SETB TR2 ; start timer MOV R0,#03h auto_bit: jb P3.0,$ ; wait for data bit 1/3/5 Low jnb P3.0,$ ; wait for data bit 2/4/6 High djnz R0,auto_bit jb P3.0,$ ; wait for data bit 7 Low jnb P3.0,$ ; wait for stop bit High clr TR2 ; stop timer They do wait not for end of stop bit but for start of stop bit. Regards, Oleg |
Topic | Author | Date |
Other crystals? | 01/01/70 00:00 | |
my experience | 01/01/70 00:00 | |
dallas | 01/01/70 00:00 | |
RTFM | 01/01/70 00:00 | |
the speedy '450 | 01/01/70 00:00 | |
why 8MHz? | 01/01/70 00:00 | |
crystals | 01/01/70 00:00 | |
'420 | 01/01/70 00:00 | |
errata? | 01/01/70 00:00 | |
22.1184MHz | 01/01/70 00:00 | |
since when? | 01/01/70 00:00 | |
the tiny asterisk... | 01/01/70 00:00 | |
Baud rates | 01/01/70 00:00 | |
crystals, but problem fixed.... sorta :) | 01/01/70 00:00 | |
10472 baud | 01/01/70 00:00 | |
but Atmel | 01/01/70 00:00 | |
8 bits autobaud | 01/01/70 00:00 | |
explanation | 01/01/70 00:00 | |
dallas | 01/01/70 00:00 | |
7.3728MHz | 01/01/70 00:00 | |
Lower clock frquency | 01/01/70 00:00 | |
backslashes | 01/01/70 00:00 | |
New Server Problems? | 01/01/70 00:00 | |
lol | 01/01/70 00:00 | |
Go on laughing... | 01/01/70 00:00 | |
rise/fall time? | 01/01/70 00:00 | |
that is absolutely correct, but what mak | 01/01/70 00:00 | |
jetplanes | 01/01/70 00:00 | |
It's a combination of both | 01/01/70 00:00 | |
thread | 01/01/70 00:00 | |
This is for the XA which has a UART that![]() | 01/01/70 00:00 |