??? 09/15/05 18:15 Read: times |
#101142 - get it going with a PC at one end that g Responding to: ???'s previous message |
get it going with a PC at one end that gives you a chance to see what is happening. I have no idea if SDCChas a simulator, if so use it.
ES=0; //disable serial port interrupt TI=0; //clears TI resetting to the power up state. If you worry, use IP = 0; I would just delete this confusing infprnmation. TH1=0xFD; //19200 Bds TL1=0xFD; //19200 Bds "19200" Bds Could be, who knows DO note, that when you set SM2, NOTHING will happen unless a 9 bit byte with bit 9 set comes down the pipe. I do not know your derivative (will not use Atmel) bot many derivatives have address match registers, if yours fo, make sure that is set right. Erik |
Topic | Author | Date |
Serial communication between 2 at89c52 | 01/01/70 00:00 | |
I had a quick look and since I am not | 01/01/70 00:00 | |
pic? | 01/01/70 00:00 | |
again | 01/01/70 00:00 | |
re your ISR | 01/01/70 00:00 | |
i've modified the ISR | 01/01/70 00:00 | |
get it going with a PC at one end that g | 01/01/70 00:00 | |
i'll try 2 do that | 01/01/70 00:00 | |
transmit | 01/01/70 00:00 | |
sorry | 01/01/70 00:00 | |
No, do it in the interrupt | 01/01/70 00:00 | |
must be like this? | 01/01/70 00:00 | |
should be | 01/01/70 00:00 | |
thanks | 01/01/70 00:00 | |
NO | 01/01/70 00:00 | |
problems again, pls help me | 01/01/70 00:00 | |
still don't get it![]() | 01/01/70 00:00 | |
with only two processors why are you con | 01/01/70 00:00 | |
i've said | 01/01/70 00:00 | |
then this is a bad title. | 01/01/70 00:00 |