??? 04/26/07 23:57 Read: times |
#138064 - Serial interrupt Responding to: ???'s previous message |
whilst I haven't checkedthe aduc848 specs, my experience with other parts in the family suggest that the uart is the same as the standard 8051. You have an interrupt for the receive data - this is also shared with the tx. I would suggest that you make the uart tx interrupt driven also as some weirdness might occur - of TI gets set by the uart, it will interrupt but the ISR doesn't handle tx interrupts, thus the interrupt keeps firing. With the printf in the rx isr, this is guaranteed! I sugggest you get hold of a simulator which should show you exactly what is happening. |
Topic | Author | Date |
Serial ISR and TIC or Timer 2 | 01/01/70 00:00 | |
Calling printf from within an ISR... | 01/01/70 00:00 | |
It is worse than that | 01/01/70 00:00 | |
Cross-Reference | 01/01/70 00:00 | |
Serial interrupt | 01/01/70 00:00 | |
Thanks to you all again | 01/01/70 00:00 | |
why \"somehow\"? | 01/01/70 00:00 | |
Nothing to do with 'C'? | 01/01/70 00:00 | |
why "C" | 01/01/70 00:00 | |
made it a FAQ | 01/01/70 00:00 | |
Nothing wrong with setting TI![]() | 01/01/70 00:00 |