??? 03/30/05 08:37 Read: times |
#90663 - Baud config Winbond W78E52B |
Hi There,
I am trying to configure the serial port Baud rate of my Winbond W78E52B. I use the code below. mov SCON, #01010000b mov PCON, #10000000b mov TMOD, #00100000b mov TL1, #-3 mov TH1, #-3 If I do not set PCON.7, the serial port runs at 9600 Baud perfectly. However if I set PCON.7 (like in the code above), the port should run at 19200 Baud. This however doesn't seem to be the case. Furtermore, trying to configure other rates (e.g. 1200 or 2400 Baud ) fails. I send data to the processor using a LAWN radio data link, which should be capable of sending data with a rate up to 19200 Baud. Do I overlook something? Jeroen |
Topic | Author | Date |
Baud config Winbond W78E52B | 01/01/70 00:00 | |
Xtal? | 01/01/70 00:00 | |
XTAL | 01/01/70 00:00 | |
Calculations? | 01/01/70 00:00 | |
Yes | 01/01/70 00:00 | |
Guessing?? | 01/01/70 00:00 | |
overlooked | 01/01/70 00:00 | |
LAWN config | 01/01/70 00:00 | |
autobaud is rare | 01/01/70 00:00 | |
One step at a time | 01/01/70 00:00 | |
Winbond 8051 Serial | 01/01/70 00:00 | |
How did you get on? | 01/01/70 00:00 | |
It was the LAWN module![]() | 01/01/70 00:00 |