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

Back to Subject List

Thread Closed: Issue successfully resolved

???
03/22/04 07:32
Read: times


 
#67174 - RE: UART0 Interrupt Service Routine
Responding to: ???'s previous message
Thanks for the reply. I figured I needed to provide more information than I did. :) Sorry about that.

For now, I am JUST trying to transmit...really simple. I have some of my code and some other person's code so things might be hairy because of that...

I am setting the Transmit Interrupt bit in the serial port initialization. As far as I understand, that takes me to the ISR right away, which clears the Interrupt Flag and then sets a TXFlag (another variable). When I call the actual senddata function, it checks whether TXFlag is set (it should be) and then writes a byte (0xff) to the SBUF0 register.

But for some reason, it isn't even going into the ISR when I set T1 myself the first time during initialization. Makes me wonder if there is a way to ENABLE the serial interrupt, or a different way to call the ISR than I did.

Please let me know what you think.

List of 17 messages in thread
TopicAuthorDate
UART0 Interrupt Service Routine            01/01/70 00:00      
   RE: UART0 Interrupt Service Routine            01/01/70 00:00      
      RE: UART0 Interrupt Service Routine            01/01/70 00:00      
         RE: UART0 Interrupt Service Routine            01/01/70 00:00      
            RE: UART0 Interrupt Service Routine            01/01/70 00:00      
               RE: UART0 Interrupt Service Routine            01/01/70 00:00      
                  RE: UART0 Interrupt Service Routine            01/01/70 00:00      
            RE: UART0 Interrupt Service Routine            01/01/70 00:00      
   RE: UART0 Interrupt Service Routine            01/01/70 00:00      
   Confused?            01/01/70 00:00      
   RE: UART0 Interrupt Service Routine            01/01/70 00:00      
      RE: UART0 Interrupt(s)            01/01/70 00:00      
         RE: UART0 Interrupt(s)            01/01/70 00:00      
      RE: UART0 Interrupt Service Routine            01/01/70 00:00      
         RE: Correction time.....            01/01/70 00:00      
   RE: UART0 Interrupt Service Routine            01/01/70 00:00      
      RE: UART0 Interrupt Service Routine            01/01/70 00:00      

Back to Subject List