ST52F513G3M6 STMicroelectronics, ST52F513G3M6 Datasheet - Page 38

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
4.3.2 Random data reading. To read a specified
memory location, the following procedure should
be used:
1.
2.
3.
4.
5.
6.
7.
8.
Figure 4.4 Device Lock Procedure
38/136
Device Lock Procedure
Device Lock and ID Code Writing Procedure
Device Lock Reading Procedure
(*) The most significative bit return the Lock Bit (0=unlocked, 1=locked)
S=Start, P=Stop, A=Acknowledge, NA=Non-acknowledge
..... SetPage
..... SetPage
..... 11111111
..... ReadStatus
The Programming mode is entered with the
sequence described in
The SetPage command is sent, followed to
the page number where the data to be read is
located
The ByteRead command is sent, followed by
an address inside the page
The Master generates a Stop condition fol-
lowed by a Start condition
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 address pointer is
incremented.
The Master device doesn’t send the acknowl-
edge and generates a stop condition.
To send the next command, the Master
should generate a Start condition followed by
the Slave Address with the R/W byte set to 0
(10100000).
From Slave to Master
A
A
A
A
00110000
00110000
ID Code 1
P S 10100001
Section 4.2.1
A
A
A
From Master to Slave
IncBlock
ByteWrite
ID Code 2
A
Status Byte (*) NA P S 10100000
A
A
IncBlock
A
01100000
4.4 Memory Lock
The Program/Data Memory space can be locked to
inhibit the reading of contents and protect the
intellectual property.
To lock the device, the user must set all the bit of
the Lock Byte to ‘1’. The Lock Byte is located on
Page 48 (030h), Block 3, byte 0 inside the block i.e.
byte 96 (060h) inside the page.
After writing 255 (0FFh) into the Lock Byte, with the
procedure described in the
memory is locked and the only command allowed
are the following:
– GlobalErase: this command, writing ‘0’ in all the
– ReadData: the only block that can be read is the
– ReadStatus: this command allows the detection
Remark: the Lock Byte is checked when entering
the Programming Mode. For this reason after
writing the Lock Byte, all the commands can be
carried out until the Programming mode is exited.
..... ID Code 31
memory, also unlock the device.
Block 3 in Page 48 (030h); this allows the read-
ing of the Lock Byte and the ID Code locations
(see
of an error condition in Programming mode op-
eration (see
check if the device is locked. The most significa-
tive bit return the Lock Bit (0=unlocked,
1=locked).
A
Section
A
IncBlock
11111111
Section
4.5).
A
A
Command
A
BlockWrite
4.6). It can also be used to
Command
A
Section
Command .....
.....
A
.....
.....
4.2.3, the

Related parts for ST52F513G3M6