??? 09/15/05 14:17 Read: times |
#101130 - pic? Responding to: ???'s previous message |
8051 is not a pic.
Apart from the fact that only a few people can read spanish(?) comments (I can not) and this is an english forum... Here's what looks wrong: SBUF=direccion; while(TI==1); You should clear TI before you send anything and you should wait as long as it's zero. Be sure that interrupt is OFF while you're doing this or remove the clearing of TI there. There are probably more errors in your code, and this may help finding them. Once this works, you can move on to sending the data through the interrupt. |
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 |