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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/15/08 16:53
Read: times


 
#149476 - SMBus clock stretching
Responding to: ???'s previous message
After another similar project I decided it was preferable to have a bigger interrupt and shorter clock stretch times then to have a smaller interrupt. I have 25ms to stretch. This is the only big calculation. Handling the data in the interrupt give a faster overall response with out having to slice up the main routine in to tiny pieces to insure it can do the math in the time slot.

The SMBus spec notes this will be a slow calculation and recommends stretching. Otherwise I would never take the hit of 32 math in an interupt.

List of 8 messages in thread
TopicAuthorDate
32bit divide and mult Not using the Libraries?            01/01/70 00:00      
   Hm, as far as I can see ...            01/01/70 00:00      
      Yes 24 bits            01/01/70 00:00      
   is there any predictible relationship between...            01/01/70 00:00      
      Math in Interrupt Context            01/01/70 00:00      
         SMBus clock stretching            01/01/70 00:00      
            Slicing Prob Not Necessary            01/01/70 00:00      
               True except for AT RATE            01/01/70 00:00      

Back to Subject List