数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST52F510 数据表(PDF) 33 Page - STMicroelectronics

部件名 ST52F510
功能描述  8-BIT INTELLIGENT CONTROLLER UNIT ICU Two Timer/PWMs, ADC, I2C, SPI, SCI
PDF  106 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST52F510 数据表(HTML) 33 Page - STMicroelectronics

Back Button ST52F510 Datasheet HTML 29Page - STMicroelectronics ST52F510 Datasheet HTML 30Page - STMicroelectronics ST52F510 Datasheet HTML 31Page - STMicroelectronics ST52F510 Datasheet HTML 32Page - STMicroelectronics ST52F510 Datasheet HTML 33Page - STMicroelectronics ST52F510 Datasheet HTML 34Page - STMicroelectronics ST52F510 Datasheet HTML 35Page - STMicroelectronics ST52F510 Datasheet HTML 36Page - STMicroelectronics ST52F510 Datasheet HTML 37Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 106 page
background image
ST52F510/F513/F514
33/106
Figure 4.1 Commands and Data Communication Sequences
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
list
of
the
available
commands
in
Programming Mode is showed in Table 4.2
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)
6.
The Block Pointer is incremented by sending
the
IncBlock command
7.
The procedure is repeated from point 3 until
there is data to be sent to the memory
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)
Programming mode start sequence
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 10100000
A
00000000
A
Command
A
Data1
A
.....
DataN
AP
Command
A
Data1
A
.....
DataN
A
Command
A
Data1
A
.....
DataN
AP
Command
A
Address
A
P
S 10100001
A
Data read NA
P



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com