DatasheetQ Logo
Electronic component search and free download site.
Transistors,MosFET ,Diode,Integrated circuits

M28W160BB100ZB1T View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
M28W160BB100ZB1T
ST-Microelectronics
STMicroelectronics ST-Microelectronics
M28W160BB100ZB1T Datasheet PDF : 45 Pages
First Prev 41 42 43 44 45
M28W160BT, M28W160BB
Figure 24. Erase Suspend & Resume Flowchart and Pseudo Code
Start
Write B0h
Write 70h
Read Status
Register
NO
b7 = 1
YES
NO
b6 = 1
YES
Write FFh
Read data from
another block
or
Program
Write D0h
Erase Complete
Write FFh
Erase Continues
Read Data
erase_suspend_command ( ) {
writeToFlash (any_address, 0xB0) ;
writeToFlash (any_address, 0x70) ;
/* read status register to check if
erase has already completed */
do {
status_register=readFlash (any_address) ;
/* E or G must be toggled*/
} while (status_register.b7== 0) ;
if (status_register.b6==0) /*erase completed */
{ writeToFlash (any_address, 0xFF) ;
read_data ( ) ;
/*read data from another block*/
/*The device returns to Read Array
(as if program/erase suspend was not issued).*/
}
else
{ writeToFlash (any_address, 0xFF) ;
read_program_data ( );
/*read or program data from another address*/
writeToFlash (any_address, 0xD0) ;
/*write 0xD0 to resume erase*/
}
}
AI03549b
43/45
 

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]