參數(shù)資料
型號(hào): ST52F514
廠商: 意法半導(dǎo)體
英文描述: 8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
中文描述: 8位重癥監(jiān)護(hù)病房智能控制單元兩個(gè)定時(shí)器/的PWM,模數(shù)轉(zhuǎn)換器,I2C,SPI和脊髓損傷
文件頁(yè)數(shù): 33/106頁(yè)
文件大小: 1340K
代理商: ST52F514
ST52F510/F513/F514
33/106
Figure 4.1 Commands and Data Communication Sequences
Programming mode start sequence
The generic procedure of commands execution,
with the data communication in both directions is
displayed in Figure 4.1.
Remark:
the Slave Address 1010000 must be sent
after a Stop (i.e. each time the data direction
changes, to specify the R/W bit). For example: if a
command to send data to the device has been
executed, a command for receiving data must be
followed by the slave address and the R/W bit must
be set to 1. The Programming Mode code doesn’t
need to be specified again .
Warning:
After entering the Programming Mode,
the currently pointed address is the Page 48, Block
3, byte 0 (Lock Byte).
The
Programming Mode is showed in Table 4.2
list
of
the
available
commands
in
4.2.2 Fast Programming procedure.
The
fastest way to program the device memory is the
use of the
FastBlockWrite
command. The following
procedure can be used to write the memory with a
new program and new data, starting from the first
memory location:
1.
The Programming Mode is entered with the
sequence described above
2.
The memory is erased (all bits are put to 0)
with the
GlobalErase
command. The device
holds the SCL line low, releasing it after the
command is completed (about 2 ms). This
command also unlocks the device if locked.
3.
The
FastBlockWrite
command is sent and the
device acknowledges it
4.
The 32 bytes of data to be written in the first
memory Block are sent in a sequence. The
device acknowledges each of them
5.
After the device acknowledges the 32nd byte,
it holds the SCL line until the parallel writing of
the 32 byte is completed (about 2.5 ms)
The Block Pointer is incremented by sending
the
IncBlock
command
The procedure is repeated from point 3 until
there is data to be sent to the memory
6.
7.
Note:
the Block Pointer assumes values between
0 to 7 (there are 8 blocks in a page). When the
Block Pointer is equal to 7, the IncBlock command
puts this pointer to 0 and increments the Page
Pointer. The Page Pointer, after page writing is
completed, does’t have to be incremented in the
procedure above described.
4.2.3 Random data writing.
A single byte can be
written in a specified memory location by using the
following procedure:
1.
The Programming Mode is entered with the
sequence described in Section 4.2.1
2.
The
SetPage
command is sent, followed by
the page number where the data should be
written
3.
The
ByteWrite
command is sent followed by
two bytes
4.
The first bytes that follows the ByteWrite com-
mand is the address inside the pointed page
where the data must be written.
5.
The second byte is the data to be written
6.
The device held the SCL line low until the data
is not stored in the memory (about 4.5 ms: 2
ms for erasing and 2.5 for writing)
Execution of commands for writing data:
Execution of commands for reading data:
S=Start, P=Stop, A=Acknowledge, NA=Non-acknowledge
From Slave to Master From Master to Slave
S
1010000
0
A
00000000
A
Command
A
Data1
A
.....
DataN
A
P
Command
A
Data1
A
.....
DataN
A
Command
A
Data1
A
.....
DataN
A
P
Command
A
Address
A
P
S
1010000
1
A
Data read NA
P
相關(guān)PDF資料
PDF描述
ST52F514FmM6 8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F510GmM6 8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F510FmB6 8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F510GmB6 8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
ST52F513YmM6 USB A/B MLE TO MLE GENDER CHANGER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST52F514F0B6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
ST52F514F0M6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
ST52F514F1B6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
ST52F514F1M6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
ST52F514F3B6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller