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 23:32
Read: times


 
#78601 - RE: SPI is affected byTime interrupt
Responding to: ???'s previous message
Some SPI devices have a timeout in the secuence.
You can do:

a) Get a derivate with a SPI interface in hard
b) as mr. Karas says put the SPI code in the interrupt routine
c) Use a flag:
When you execute the interrupt code set a flag, the SPI code must clear the flag at the start and if the flag is active at the end then re-execute the SPI code because the data should be corrupted.

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