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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/02/04 22:19
Read: times


 
#78595 - RE: SPI is affected byTime interrupt
Responding to: ???'s previous message
When you use software bit banging to run a serial prototcol on some port pins ... of course a timer interrupt that is allowed to happen is going to disrupt the bit banging. If you cannot live with that behavior then you have several options.

1 - Disable the timer interrupt during the SPI communications.

2 - Disable the timer interrupt at selected times during the bit bang routines when data loss is likely to occur.

3 - Use a 2nd microcontroller dedicated to the SCI communications task.

4 - Get a separate RTC chip to be used for your clock function.

Michael Karas


List of 9 messages in thread
TopicAuthorDate
SPI is affected byTime interrupt            01/01/70 00:00      
   RE: SPI is affected byTime interrupt            01/01/70 00:00      
   RE: SPI is affected byTime interrupt            01/01/70 00:00      
   RE: SPI is affected byTime interrupt            01/01/70 00:00      
   RE: SPI is affected byTime interrupt            01/01/70 00:00      
   RE: SPI is affected byTime interrupt            01/01/70 00:00      
   RE: SPI is affected byTime interrupt            01/01/70 00:00      
   RE: SPI is affected byTime interrupt            01/01/70 00:00      
      RE: SPI is affected byTime interrupt            01/01/70 00:00      

Back to Subject List