Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/31/07 14:56
Read: times


 
#142551 - No TX interrupt servicing
Responding to: ???'s previous message
1. it is worth formatting your code for the forum.

2. either post the complete code or at least stick to one language. I can see nothing in your assembly code that the C compiler would have written any worse. "while (TI == 0) ;" or "RI = 0;" seem pretty straightforward to a C compiler.

3. you appear to have a UART ISR for receiving and not using interrupts for transmitting. I would suggest that you either have TX and RX interrupt driven or not at all. So every time you transmit a character the ISR is called but you never service a TX interrupt.

David.

List of 6 messages in thread
TopicAuthorDate
Performance slows down when enabling serial ints.            01/01/70 00:00      
   clr TI            01/01/70 00:00      
   comments            01/01/70 00:00      
   No TX interrupt servicing            01/01/70 00:00      
   this is why we have FAQs here            01/01/70 00:00      
   replies to all            01/01/70 00:00      

Back to Subject List