??? 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. |
Topic | Author | Date |
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 |