参数资料
型号: ST52F513G3B6
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP28
封装: PLASTIC, DIP-28
文件页数: 37/106页
文件大小: 1340K
代理商: ST52F513G3B6
4.3.2 Random data reading. To read a specified
memory location, the following procedure should
be used:
1.
The Programming mode is entered with the
sequence described in Section 4.2.1
2.
The
SetPage command is sent, followed to
the page number where the data to be read is
located
3.
The
ByteRead command is sent, followed by
an address inside the page
4.
The Master generates a Stop condition fol-
lowed by a Start condition
5.
The Slave Address with the R/W byte set to 1
(10100001) is sent. The device receives the
Slave Address and acknowledges it.
6.
The device sends the data to be read in the
serial data line SDA.
7.
The Master device doesn’t send the acknowl-
edge and generates a stop condition.
8.
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).
Figure 4.4 Device Lock Procedure
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 Section 4.2.3, the
memory is locked and the only command allowed
are the following:
GlobalErase: this command, writing ‘0’ in all the
memory, also unlock the device.
ReadData: the only block that can be read is the
Block 3 in Page 48 (030h); this allows the read-
ing of the Lock Byte and the ID Code locations
ReadStatus: this command allows the detection
of an error condition in Programming mode op-
eration (see Section 4.6). It can also be used to
check if the device is locked. The most significa-
tive bit return the Lock Bit (0=unlocked,
1=locked).
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.
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
From Slave to Master
From Master to Slave
.....
SetPage
A
00110000
A
ByteWrite
A
01100000
A
11111111
A
Command
.....
SetPage
A
00110000
A
IncBlock
A
IncBlock
A
IncBlock
A
BlockWrite
A
.....
11111111
A
ID Code 1
A
ID Code 2
A
.....
ID Code 31
A
Command
.....
ReadStatus
A
P
S 10100001
A
Status Byte (*) NA
P
S 10100000
A
Command .....
相关PDF资料
PDF描述
ST52F513Y1B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP16
ST52F513Y2B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP16
ST52F510Y3B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP16
ST52F514Y2B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP16
ST52T430K3B6 8-BIT, OTPROM, 20 MHz, MICROCONTROLLER, PDIP32
相关代理商/技术参数
参数描述
ST52F513GMB6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F513GMM6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F513Y3M6 制造商:STMicroelectronics 功能描述:
ST52F513YMM6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F514 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI