| Electronic Components Datasheet Search |
|
UM1836 Datasheet(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1836 Datasheet(HTML) 12 Page - STMicroelectronics |
|
12 / 16 page ![]() How to use the driver UM1836 12/16 DocID027146 Rev 1 4.3 Periodic update of the battery state Call the GasGauge_Task function when battery information is needed. Normally this is every 1 to 30 seconds (no frequency accuracy is needed). Transfer the STC3115_ConfigData_TypeDef structure and the STC3115_BatteryData_TypeDef structure to the GasGauge_Task function. The GasGauge_Task function: • Uses the STC3115_ConfigData_TypeDef structure in case the STC3115 has to be initialized again. • Fills the STC3115_BatteryData_TypeDef structure with the STC3115 algorithm results (which returns the battery state to the application). GasGauge_Task function • Check the state of the STC3115, the battery, and the application • If the battery is ok, update the current battery data • Battery state information is returned GasGauge_Task returns • (-1) indicates that the STC3115 cannot be assessed. In other words, the I 2C bus is busy, the STC3115 is not power supplied, or the BATD/CD pin is in high level state. • (0) indicates that only the battery SOC, voltage, and OCV data are available • (1) indicates that all STC3115_BatteryData_typeDef data are available 4.4 Stopping and resetting the STC3115 1. Call the GasGauge_Stop function during the application switch off sequence. This stops the STC3115 and saves energy which, in turn, helps recover the battery context during the next GasGauge_Initialization function. 2. Do not use the GasGauge_Reset function by default. This function should only be called in abnormal use cases. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |