Aras Vaichas wrote: > Unfortunately the simple coulomb counting chips have the disadvantage > that the CPU has to be running to accumulate the pulses. Of course, > the pulses could wake the CPU from a suspend mode, but I'd rather not > do that just to add "one" to a counter ... >
Could you have the coulomb-counting chip connected to a tiny microcontroller, or even a dedicated hardware counter? Then the main CPU wouldn't need to wake as often, it could just ask the microcontroller over I2C, or read/reset the hardware counter. b.g. -- Bill Gatliff b...@billgatliff.com -- To unsubscribe from this list: send the line "unsubscribe linux-embedded" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html