参数资料
型号: ST52F513F0M6
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDSO20
封装: PLASTIC, SO-20
文件页数: 32/104页
文件大小: 644K
代理商: ST52F513F0M6
ST52F510/F513/F514
33/104
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 I2C protocol,
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.
The Programming mode is entered with the
sequence described in Section 4.2.1
2.
The pointers address the memory location 0
3.
The
ReadData command is sent and the de-
vice acknowledges it.
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. The current absolute ad-
dress is post-incremented.
7.
The Master device doesn’t send the acknowl-
edge and generates a stop condition.
8.
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.
9.
The sequence restarts from point 3 until there
is data to be read.
Remark: for the same reasons explained in
Section 4.2.4 the Option Bytes cannot be read with
this procedure: they can be read with a direct
addressing procedure as the one explained in the
next section.
Fast Reading Procedure
Random Byte Reading Procedure
Byte Erasing Procedure
Block Erasing Procedure
S=Start, P=Stop, A=Acknowledge, NA=Non-acknowledge
From Slave to Master
From Master to Slave
S 10100000
A
00000000
A
ReadData
A
P
S 10100001
A
Data read NA
P
.....
S 10100000
A
ReadData
A
P
S 10100001
A
Data read NA
P
.....
Data read NA
P
.....
SetPage
A
Page Address
A
ByteRead
A
Byte Address
A
P
S 10100001
A
.....
Data read NA
P
S 10100000
A
Command
.....
SetPage
A
Page Address
A
ByteErase
A
Byte Address
A
Command
.....
SetPage
A
Page Address
A
IncBlock
A
.....
IncBlock
A
BlockErase
A
Command .....
相关PDF资料
PDF描述
ST52F513F1B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP20
ST52F513G1M6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDSO28
ST52F513G1B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP28
ST52F510G2B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP28
ST52F510G3B6 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP28
相关代理商/技术参数
参数描述
ST52F513FMB6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F513FMM6 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
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 功能描述: