数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

UM1836 数据表(PDF) 5 Page - STMicroelectronics

部件名 UM1836
功能描述  STSW-BAT001 open source driver for the STC3115
PDF  16 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

UM1836 数据表(HTML) 5 Page - STMicroelectronics

  UM1836 Datasheet HTML 1Page - STMicroelectronics UM1836 Datasheet HTML 2Page - STMicroelectronics UM1836 Datasheet HTML 3Page - STMicroelectronics UM1836 Datasheet HTML 4Page - STMicroelectronics UM1836 Datasheet HTML 5Page - STMicroelectronics UM1836 Datasheet HTML 6Page - STMicroelectronics UM1836 Datasheet HTML 7Page - STMicroelectronics UM1836 Datasheet HTML 8Page - STMicroelectronics UM1836 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 16 page
background image
UM1836
Software configuration
DocID027146 Rev 1
5/16
2
Software configuration
Configuration of the STC3115 open source driver is done using the stc3115_Battery.h file.
This file allows the battery and application parameters to be configured with the minimum
variable set.
2.1
Battery parameters configuration
An extract of the stc3115_Battery.h file where battery parameters are defined is shown
below. A detailed explanation of the terms used in this code (CAPACITY, RINT, and
OCV_OFFSET_TAB) is also available below.
/*Battery parameters define ----------------------------------------*/
#define CAPACITY 1500 /* battery nominal capacity in mAh
*/
#define RINT 200 /* Internal battery impedance in mOhms,0 if unknown*/
#define OCV_OFFSET_TAB {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
/* OCVTAB */
The CAPACITY parameter describes the typical battery capacity in mAh.
The RINT parameter describes the internal battery impedance in mOhm. The value has to
include battery cell impedance and battery security IC impedance. If the battery is
connected to the STC3115 by long and/or small wires, the wire impedance has also to be
included in this parameter. If this parameter is unknown, it can be declared as zero. In this
case, a default value of 200 mOhms is used for the RINT.
The OCV_OFFSET_TAB is the REG_OCVTAB register described in the STC3115
datasheet. This register can be filled by using the battery open circuit voltage (OCV) curve
(see AN4324). If the OCV adjustment table is set up at 0, the OCV curve used to monitor
the battery is the default OCV programmed in the STC3115 internal registers (see
STC3115 datasheet). This default configuration is adequate to maintain a functional
system. The OCV adjustment table must not be filled with any value below -127 or above
127.



Html Pages

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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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