AnsweredAssumed Answered

IMX issues with HDQ driver (bad battery readings)

Question asked by Manoel Ramon on Sep 29, 2016
Latest reply on Oct 6, 2016 by Manoel Ramon

Hi

 

   We are using HDQ I/O to communicate with our battery. What we noticed is the IMX sometimes reads a lot of bad values from the battery informing wrong capacity and temperature which makes our device to power down.

 

   We are using HDQ I/O, in other words, using a GPIO, and when we have WiFi ON, the performance is significantly worst, in other words, the incidence of wrongs readings is higher.

 

   I was taking a look in the driver, and the implementation has a bunch of microsecond delays. Is this an issue because Linux is not RTOS and we cannot guarantee the performance of GPIOs ? I was thinking the microdelays which has dependencies of jiffies, actually might be impacted when the power govern is changed (interactive, conservative, etc).

 

   Please let me know what you guys think, and of course, thank you very much!

Outcomes