Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

AN2014 Datenblatt(PDF) 38 Page - STMicroelectronics

Teilenummer AN2014
Bauteilbeschribung  How a designer can make the most of STMicroelectronics serial EEPROMs
PDF  65 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2014 Datenblatt(HTML) 38 Page - STMicroelectronics

Back Button AN2014 Datasheet HTML 34Page - STMicroelectronics AN2014 Datasheet HTML 35Page - STMicroelectronics AN2014 Datasheet HTML 36Page - STMicroelectronics AN2014 Datasheet HTML 37Page - STMicroelectronics AN2014 Datasheet HTML 38Page - STMicroelectronics AN2014 Datasheet HTML 39Page - STMicroelectronics AN2014 Datasheet HTML 40Page - STMicroelectronics AN2014 Datasheet HTML 41Page - STMicroelectronics AN2014 Datasheet HTML 42Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 65 page
background image
Software considerations
AN2014
38/65
DocID10701 Rev 10
The Write Page mode is used to write a block of data bytes in a single shot. The Write Page
mode sequence consists of a write instruction with the start address and one or more data
bytes directly followed by the internal execution of the operation (tW).
The maximum number of bytes programmed during a Write Page is limited by the page
length of the product.
A data block can be programmed starting at any offset inside the page.
The address of the first data byte to program is given in the instruction, other data bytes
are programmed in consecutive addresses.
If the last location in a page is reached when shifting in the data bytes during a Write
command, the internal address pointer rolls over to the first byte inside the same page.
It is therefore not possible to store data in two different pages with a single Write Page
instruction.
If more data bytes than the page length (for instance 32) are shifted in, only the last
received data bytes (last 32 bytes) are programmed in the page (The 33rd data byte
shifted in will replace the 1st data byte shifted in and so on).
To write to the EEPROM, it is recommended to use the Page mode instead of the byte mode
whenever possible. The programming time (tW) is independent of the number of bytes to
program and the Page mode has two main advantages:
1.
It speeds up the application when storing or updating data.
2.
It minimizes the high-voltage programming stress and naturally extends the cycling
endurance.
5.2.2
Data polling
Data polling is a very safe and optimal way of managing the EEPROM Write time (tW). The
aim is to check the EEPROM status before sending the next instruction, so as to prevent
bad master-slave communications.
Data polling is a software loop used to optimize the write wait time and control the correct
operation of the device. Moreover, software which has data polling will be able to adapt to
different devices regardless of the specified write time.
This data polling algorithm must be coupled to a time-out counter to limit the data polling
time and avoid some endless polling. The timeout limit should be higher than the maximum
write time of all devices used (typically 15 ms should be enough).
I2C products
In I2C products, the device does not respond (NoAck) when a programming operation is in
progress. Data polling thus consists in sending a Device Code in a loop mode and tracking
the EEPROM acknowledgement. It is recommended to poll the device with a Write
instruction.



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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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