??? 05/21/06 00:21 Read: times |
#116749 - My guess Responding to: ???'s previous message |
From my 8051 book (my translation from Vietnamese to English):
Serial interrupt is different from timer interrupts. The flag causing the serial interrupt is not cleared by the hardware when the CPU point to the ISR. Because there are two reasons causing the serial interrupt: TI and RI, the reason must be determined in the ISR and the flag (causing the interrupt) must be cleared by software. I think he did not handle TI appropriately. @Jon: have you try Keil's ISR driven serial IO? http://www.keil.com/download/docs/200.asp PS: off to play soccer. I'm sorry if i made any mistake in a rush :) |
Topic | Author | Date |
8051 UART trouble.... | 01/01/70 00:00 | |
of course you don't | 01/01/70 00:00 | |
Sorry | 01/01/70 00:00 | |
what? | 01/01/70 00:00 | |
He's not being facetious ... | 01/01/70 00:00 | |
I understand | 01/01/70 00:00 | |
Post the other code you tried | 01/01/70 00:00 | |
me stupid too | 01/01/70 00:00 | |
My guess | 01/01/70 00:00 | |
Introduction | 01/01/70 00:00 | |
Another link | 01/01/70 00:00 | |
Jon, some small errors/oversights | 01/01/70 00:00 | |
Note taken | 01/01/70 00:00 | |
A Suggestion | 01/01/70 00:00 | |
Even eaiser | 01/01/70 00:00 | |
try this | 01/01/70 00:00 | |
location, location, location | 01/01/70 00:00 | |
I saw you logged in a few minutes ago![]() | 01/01/70 00:00 |