| 数据搜索系统,热门电子元器件搜索 |
|
M35B32 数据表(PDF) 25 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
M35B32 数据表(HTML) 25 Page - STMicroelectronics |
|
25 / 44 page ![]() DocID18391 Rev 4 25/44 M35B32 Instructions 43 6.8 Page Program (PP) The Page Program instruction has be used when addressing erased bytes (see Note: below). The Page Program (PP) instruction allows bytes to be programmed in the memory (changing bits from 1 to 0, only). Before it can be accepted, a Write Enable (WREN) instruction must have been previously executed. (This sets the Write Enable Latch (WEL) bit). The Page Program (PP) instruction is entered by driving Chip Select (S) low, followed by the instruction code, two address bytes and at least one data byte on Serial Data Input (D). The transmitted data must NOT exceed the addressed page boundary as a wrap round would corrupt the data from the start address of the same page. Chip Select (S) must be driven low for the entire duration of the sequence. The instruction sequence is shown in Figure 14. Chip Select (S) must be driven high after the eighth bit of the last data byte has been latched in, otherwise the Page Program (PP) instruction is not executed. As soon as Chip Select (S) is driven high, the self-timed Page Program cycle is initiated. The Page Program cycle lasts tPP when the Data sector is addressed, or tFP when the Event sector is addressed. While the Page Program cycle is in progress, the Status Register may be read to check the value of the Write In Progress (WIP) bit. The Write In Progress (WIP) bit is at 1 during the self-timed Page Program cycle, and it is at 0 when the cycle is completed. The Write Enable Latch (WEL) bit is also reset (or not) once the self-timed Page Program cycle is complete, depending on the logical level applied on the W input pin and the value of the decoded address, as shown in Table 4. A Page Program (PP) instruction applied to a page that is Hardware Protected is not executed. Any Page Program (PP) instruction, while an Erase, Program or Write cycle is in progress, is rejected without having any effects on the cycle that is in progress. Note: The Program instruction does not include an Erase cycle (unlike the Page Write instruction, which includes two cycles: Erase+ Program). As a consequence, the Page Program instruction has to be used only when pointing to locations which were previously erased. In addition, as the M35B32 offers the ECC feature (see Section 6.9), it is important to check, before programming data with the Page Program instruction, that the addressed bytes are inside an erased area defined as a multiple of four bytes. Example: to program data inside locations [003h-011h], the minimum erased area has to be [000h-013h], because location 003h belongs to the four bytes [000h-003h] and location 011h belongs to the four bytes [010h-013h]. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |