ST52F513G3M6 STMicroelectronics, ST52F513G3M6 Datasheet - Page 36

ST52F513G3M6

Manufacturer Part Number
ST52F513G3M6
Description
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST52F513G3M6

Cpu Family
ST52
Device Core Size
8b
Frequency (max)
20MHz
Interface Type
I2C/SCI/SPI
Program Memory Type
Flash
Program Memory Size
8KB
Total Internal Ram Size
256Byte
# I/os (max)
22
Number Of Timers - General Purpose
2
Operating Supply Voltage (typ)
3.3/5V
Operating Supply Voltage (max)
5.5V
Operating Supply Voltage (min)
2.7V
On-chip Adc
8-chx10-bit
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
28
Package Type
SO
Lead Free Status / Rohs Status
Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST52F513G3M6
Manufacturer:
ST
0
Part Number:
ST52F513G3M6
Manufacturer:
ST
Quantity:
20 000
Part Number:
ST52F513G3M6TR
Manufacturer:
ST
Quantity:
20 000
ST52510xx ST52513xx
A similar procedure can be used to write a single
block:
1.
2.
3.
4.
The procedures described previously can be
repeated as many time as needed, without exiting
from Programming Mode or re-sending the Slave
Address again.
Figure 4.2 Programming Procedures
36/136
Fast Programming Procedure
Random Byte Writing Procedure
Random Block Writing Procedure
Option Byte Writing Procedure
S=Start, P=Stop, A=Acknowledge, NA=Non-acknowledge
S 10100000
.....
..... SetPage
..... SetPage
..... Data31
..... SetPage
.....
The SetPage command is sent, followed by
the page number where the data should be
written
The IncBlock command is sent as many times
as the block number inside the page (for ex-
ample: to address the block 3 the IncBlock
must be sent 3 times)
The BlockWrite command is sent followed by
the 32 data bytes to be written.
After the 32th byte is sent, the device holds
the SCL line low until all the data are not
stored in the memory (about 4.5 ms: 2 ms for
erasing and 2.5 for writing: the same time for
a single byte)
From Slave to Master
Data31
Dummy 0
A
A
A
A
A
A
Command
A
00000000
Page Address
Page Address
00110000
IncBlock
.....
Dummy 23
.....
A
GlobalErase
A
A
A
A
From Master to Slave
FastBlockWrite
IncBlock
BlockWrite
ByteWrite
A
P
A
A
A
A
FastBlockWrite
..... IncBlock
The commands ByteErase and BlockErase, used
instead of ByteWrite and BlockWrite, erase (put all
bit to 0) the specified memory location or block.
4.2.4 Option Bytes Programming. The
Byte addresses cannot be accessed with a
sequential procedure like the one described in
Section
automatically incremented up to the last block or
address in page 31. A further increment sets all the
pointers to 0.
The Option Byte addresses (located at page 48,
block 0, addresses 0-7) must be accessed with a
direct addressing procedure as the one described
in
If the Fast Programming procedure is used, it must
be followed by a Random Block Writing procedure
to program the Option Bytes. The other 24 bytes of
the block can be written with dummy or user
values. The blocks 0, 1, 2 and 3 of Page 48 can be
used for writing data as well (see
for locking the device (see
Byte Address
Option Byte 0
A
Section
.....
4.2.2.
4.2.3.
Data31
A
A
A
A
BlockWrite
Data0
Actually,
..... Option Byte 7
Data
A
.....
Section
A
A
.....
A
the
Command
.....
Data0
Section
Data31
4.4).
pointers
A
A
.....
4.5) and
.....
A
Option
.....
P
are

Related parts for ST52F513G3M6