ST52F513G3M6 STMicroelectronics, ST52F513G3M6 Datasheet - Page 37

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
Figure 4.3 Reading and Erasing Procedures
4.3 Memory Verify
To verify the memory contents or just to read part
of data stored in memory, the ByteRead and the
ReadData command can be used. The first
instruction needs the specification of the address;
the second one allows the sequential reading of
consecutive memory locations.
Since the device is “Slave” for the I
after receiving a command for reading, it must be
configured as Slave Transmitter to send the data.
In order to do so, the Slave Address (1010000)
must be sent again with the R/W byte set to 1, as
stated by the communication protocol.
4.3.1 Fast read procedure. The memory can be
read sequentially by using the following procedure:
1.
2.
3.
4.
Fast Reading Procedure
Random Byte Reading Procedure
Byte Erasing Procedure
Block Erasing Procedure
(*) Block address is specified by the 3 most significative bits of the whole given address (less significative bits are don’t care)
S=Start, P=Stop, A=Acknowledge, NA=Non-acknowledge
S 10100000
..... S 10100000
..... SetPage
..... Data read NA P S 10100000
..... SetPage
..... SetPage
The Programming mode is entered with the
sequence described in
The pointers address the memory location 0
The ReadData command is sent and the de-
vice acknowledges it.
The Master generates a Stop condition fol-
lowed by a Start condition
From Slave to Master
A
A
A
A
00000000
Page Address
Page Address
Page Address
A
ReadData
Section 4.2.1
A
ReadData
A
A
A
A
From Master to Slave
2
C protocol,
ByteRead
ByteErase
BlockErase
A
P S 10100001
Command
A
P S 10100001
A
A
A
5.
6.
7.
8.
9.
Remark: for the same reasons explained in
Section 4.2.4
this procedure: they can be read with a direct
addressing procedure as the one explained in the
next section.
Byte Address
Byte Address
.....
Block Address (*)
A
The Slave Address with the R/W byte set to 1
(10100001) is sent. The device receives the
Slave Address and acknowledges it.
The device sends the data to be read in the
serial data line SDA. The current absolute ad-
dress is post-incremented.
The Master device doesn’t send the acknowl-
edge and generates a stop condition.
To read the next data, the Master generates a
Start condition followed by the Slave Address
with the R/W byte set to 0 (10100000). The
device receives the Slave Address and ac-
knowledges it.
The sequence restarts from point 3 until there
is data to be read.
Data read NA P
the Option Bytes cannot be read with
A
A
A
Data read NA P
Command
P S 10100001
A
Command .....
ST52510xx ST52513xx
..... Data read NA P
.....
.....
A
.....
37/136

Related parts for ST52F513G3M6