??? 06/27/08 14:04 Read: times |
#156258 - AT89S8253 and serial port |
hi,
This is the first time i am working with AT89S8253 (@11.0592MHz) and max3232. The circuit runs on a 3.7v battery. I am unable to communicate over the serial port at a baud rate of 115200. My code for programming the serial port is as below. MOV TMOD,#00010001B MOV T2CON,#034H MOV RCAP2H,#0FFH MOV RCAP2L,#0FDH MOV SCON,#01010000b MOV IE,#10010010B I simply get junk data at 115200. I have tried above code with RACP2H=0FFH and RCAP2L=0DCH for baud rate of 9600. It works flawlessly. I have tried putting a small delay in the transmit routine but that doesn't help either. I have been using this code without any problems with microcontrollers such as AT89C55WD and AT89S52 running at 11.0592MHz and max232s with the boards running at 5v dc and baud rates 115200bps. What am i missing? Any pointers, hints, workarounds would be appreciated. many thanks Punit Neb |
Topic | Author | Date |
AT89S8253 and serial port | 01/01/70 00:00 | |
which Rs232 transceiver do you use? | 01/01/70 00:00 | |
AT89S8253 and serial port | 01/01/70 00:00 | |
what is "transmit loop"? | 01/01/70 00:00 | |
Scope Time | 01/01/70 00:00 |