??? 06/03/09 09:19 Read: times |
#165788 - Few Questions Responding to: ???'s previous message |
Dear Suryo,
First of all I would like to know few things. Suryo Wijoyo said:
but the problem is,i can't use serial interupt along with timer 2.i don't know what's the problem.
Why? Why cant you use serial interrupt along with timer 2. If you dont know the exact problem, Can you tell the symptoms? Which derivative are you using? Also how are you using serial interrupt? What are you using for Baudrate Generation? Suryo Wijoyo said:
after that,i try to disable the serial interupt and finally i can send my data to my pc.but there's another problem.now my 8052 can't receive the data my pc trying to send because i dissable the serial interupt.from what i know,if i activate the serial interupt,i can receive data from my pc automatically.
thx a lot! Enabling or Disabling of Interrupt has nothing to do with actual transmission or reception. Have you set REN bit? You are not using interrupt for Tx, then are you polling TI flag, or just (dangerous) timeout method? Why dont you poll RI flag ? Regards, Mahesh |
Topic | Author | Date |
receive data from serial without enabling interupt serial | 01/01/70 00:00 | |
we can't tell anything... | 01/01/70 00:00 | |
Few Questions![]() | 01/01/70 00:00 |