Electronic Components Datasheet Search
  English  ▼

X  

AN4324 Datasheet(PDF) 21 Page - STMicroelectronics

Part # AN4324
Description  STC3115 system integration
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4324 Datasheet(HTML) 21 Page - STMicroelectronics

Back Button AN4324 Datasheet HTML 17Page - STMicroelectronics AN4324 Datasheet HTML 18Page - STMicroelectronics AN4324 Datasheet HTML 19Page - STMicroelectronics AN4324 Datasheet HTML 20Page - STMicroelectronics AN4324 Datasheet HTML 21Page - STMicroelectronics AN4324 Datasheet HTML 22Page - STMicroelectronics AN4324 Datasheet HTML 23Page - STMicroelectronics AN4324 Datasheet HTML 24Page - STMicroelectronics AN4324 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 31 page
background image
AN4324
Software
DocID024963 Rev 2.0
21/31
6.1
STC3115 RAM memory organization proposal
The STC3115 device embeds a 16-byte RAM memory area.The registers of this area can
be used to periodically save the battery status. This allows battery information to be
recovered when the application is stopped but the battery is not unplugged.
The STC3115 registers can be initialized with memorized data (see Section 6.2) which is
called "restoration". The choice of whether to use a default initialization or a restoration is
based on the STC3115 CTRL_REG and on the RAM memory content.
A RAM organisation is proposed in Table 6 below. The RAM test word is a fixed word but,
the cyclic redundancy check (CRC) word has to be calculated after each RAM write
operation. The CRC calculation can be made using any standard algorithm.
Before checking if the STC3115 can be restored or not, chcek to see if the RAM data can
be used to initialize the STC3115 registers or not i.e. check if the test and CRC words
located in the RAM memory are used to secure and check the validity of the RAM content.
Table 6: STC3115 RAM stack example, 16 bytes @0x20
RAM register
Content proposal
REG_RAM0
RAM test word
REG_RAM1
Battery SOC_LOW
REG_RAM2
Battery SOC_HIGH
REG_RAM3
Battery CC_CNF_LOW
REG_RAM4
Battery CC_CNF_HIGH
REG_RAM5
Battery VM_CNF_LOW
REG_RAM6
Battery VM_CNF_HIGH
...
...
REG_RAM15
CRC
16 RAM bytes can be used to save other information/events



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


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