st92f124 STMicroelectronics, st92f124 Datasheet - Page 59

no-image

st92f124

Manufacturer Part Number
st92f124
Description
8/16-bit Single Voltage Flash Mcu Family With Ram, E3 Tmemulated Eeprom, Can 2.0b And J1850 Blpd
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
st92f124R9T6
Manufacturer:
ST
0
Part Number:
st92f124R9TB
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st92f124R9TB
Manufacturer:
ST
0
Part Number:
st92f124V1QB
Manufacturer:
MAXIM
Quantity:
56
Part Number:
st92f124V1QB
Manufacturer:
STMicroelectronics
Quantity:
10 000
Part Number:
st92f124V1QB
Manufacturer:
ST
0
Part Number:
st92f124V1QB
Manufacturer:
ST
Quantity:
20 000
Part Number:
st92f124V1T6
Manufacturer:
MAX
Quantity:
62
Part Number:
st92f124V1T6
Manufacturer:
ST
Quantity:
20 000
Part Number:
st92f124VQB
Manufacturer:
ST
Quantity:
1 831
3.4 WRITE OPERATION EXAMPLE
Each operation (both Flash and
by a sequence of instructions like the following:
OR
LD
LD
..
LD
OR
The first instruction is used to select the desired
operation by setting its corresponding selection bit
in the Control Register (FCR for Flash operations,
ECR for
Table 11. Flash Write Operations
Table 12.
Sector Erase Suspend
ST92F124/F150/F250 - SINGLE VOLTAGE FLASH & E3 TM (EMULATED EEPROM)
FCR, #OPMASK ;Operation selection
ADD1, #DATA1 ;1st Add and Data
ADD2, #DATA2 ;2nd Add and Data
...., ......
ADDn, #DATAn ;nth Add and Data
FCR, #80h
Page Program
Set Protection
Byte Program
Page Update
Sector Erase
Chip Erase
Chip Erase
E
Operation
Operation
3 TM
E
3 TM
operations).
Write Operations
;n range = (1 to 16)
;Operation start
Selection bit
Selection bit
EPAGE
E
FPAGE
FSECT
FSUSP
FBYTE
ECHIP
FCHIP
PROT
3 TM
) is activated
Addresses and Data
Addresses and Data
From 1 to 4 sectors
From 1 to 16 bytes
From 1 to 16 bytes
From 1 to 4 bytes
The load instructions are used to set the address-
es (in the Flash or in the
the data to be modified.
The last instruction is used to start the write oper-
ation, by setting the start bit (FWMS for Flash op-
erations, EWMS for
register.
Once selected, but not yet started, one operation
can be cancelled by resetting the operation selec-
tion bit. Any latched address and data will be reset.
Warning: during the Flash Page Program or the
TM
the page address: only the last page address is ef-
fectively kept and all programming will effect only
that page.
A summary of the available Flash and
operations are shown in the following tables:
1 byte
None
None
None
Page Update operation it is forbidden to change
Start bit
Start bit
EWMS
EWMS
FWMS
FWMS
FWMS
FWMS
FWMS
None
E
3 TM
E
operation) in the Control
3 TM
memory space) and
Typical Duration
Typical Duration
160 s (16 bytes)
1.5 s (1 sector)
40 s (4 bytes)
30 ms
10 s
15 s
3 s
E
3 TM
59/426
write
9
E
3

Related parts for st92f124