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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/25/03 16:09
Read: times


 
#40037 - RE: I figured out what was wrong...
Responding to: ???'s previous message
assure that the serial I/O got higher priority
I have seen, I don't know how many, projects where the serial interrupt was set high. The Tx interrupt can, of course be as low as anyone want, the concern is the Rx interrupt. The UART is double buffered, so, if the total processing time of all higher priority interrups that can happen in a 1ms timeframe is less than 1 ms, you can run the UART at 9600 baud at low priority. If tha sum of interrupts in 1ms is more than 1ms, you have real problems. The only case wher you have to up the priority of the serial interrupt is where you have broken the golden rule keep ISRs short and run the UART at a very high speed.

Erik

List of 7 messages in thread
TopicAuthorDate
This has me puzzled. (A/D code problem)            01/01/70 00:00      
   RE: This has me puzzled. (A/D code problem)            01/01/70 00:00      
   RE: This has me puzzled. (A/D code probl            01/01/70 00:00      
      If I set bit 3 of ADCON,            01/01/70 00:00      
         RE: If I set bit 3 of ADCON,            01/01/70 00:00      
            I figured out what was wrong...            01/01/70 00:00      
               RE: I figured out what was wrong...            01/01/70 00:00      

Back to Subject List