| ??? 05/02/01 10:53 Read: times |
#11275 - Serial setup question... |
I am using an ADuC812 board and am trying to send data to the PC throught the serial port. Problem is that when I am sending data from the board all I am recieving on the other end is garbage like [B@19c082 is this because I have initialised the serial port incorrectly?
;set up timer/counter 1 to drive 9600 baudrate MOV TMOD, #00100000B ; timer/counter 1 is set for mode 2, 8-bit TIMER MOV TH1, #0FDh ; timer/counter 1 is timed for 9600 baud SETB TR1 ; timer/counter 1 is enabled and will free run ; initialise serial port for mode 3: operation MOV SCON, #11000000B any help greatly appreciated.. CB |
| Topic | Author | Date |
| Serial setup question... | 01/01/70 00:00 | |
| RE: Serial setup question... | 01/01/70 00:00 | |
| RE: Serial setup question... | 01/01/70 00:00 | |
| RE: Serial setup question... | 01/01/70 00:00 | |
| RE: Serial setup question... | 01/01/70 00:00 | |
| RE: Serial setup question... | 01/01/70 00:00 | |
RE: Serial setup question... | 01/01/70 00:00 |



