Electronic Components Datasheet Search
  English  ▼

X  

UM1836 Datasheet(PDF) 12 Page - STMicroelectronics

Part # UM1836
Description  STSW-BAT001 open source driver for the STC3115
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1836 Datasheet(HTML) 12 Page - STMicroelectronics

Back Button UM1836 Datasheet HTML 8Page - STMicroelectronics UM1836 Datasheet HTML 9Page - STMicroelectronics UM1836 Datasheet HTML 10Page - STMicroelectronics UM1836 Datasheet HTML 11Page - STMicroelectronics UM1836 Datasheet HTML 12Page - STMicroelectronics UM1836 Datasheet HTML 13Page - STMicroelectronics UM1836 Datasheet HTML 14Page - STMicroelectronics UM1836 Datasheet HTML 15Page - STMicroelectronics UM1836 Datasheet HTML 16Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 12 / 16 page
background image
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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