參數(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和脊髓損傷
文件頁數(shù): 32/106頁
文件大?。?/td> 1340K
代理商: ST52F514
ST52F510/F513/F514
32/106
4.2 Memory Programming
The Programming procedure writes the user
program and data into the Flash Memory,
EEPROM and Option Bytes. The programming
procedures are entered by setting the V
pp
pin
equal to V
dd
and releasing the Reset signal. The
following pins are used in Programming mode:
I
V
PP
used to switch to programming mode
I
V
DD
device supply
I
V
SS
device ground
I
RESET
device reset
I
SCL
I
2
C serial clock
I
SDA
I
2
C serial data
During the device programming, the internal clock
is used, so the OSCin and OSCout pins don’t have
to be considered.
4.2.1 Programming Mode start.
The
sequence starts the Programming Mode:
following
1.
2.
3.
4.
5.
6.
7.
V
PP
is set to V
DD
The device is Reset (RESET=V
SS
)
The Reset is released (RESET=V
DD
)
The internal oscillator starts at 10 MHz
The memory is turned on
The I
2
C Interface and Ports are initialized
The I
2
C Interface is configured to work as
Slave, Receiver, 7-bit address and waits for
data
The Start signal is sent to the chip followed by
the Slave Address 1010000 and the direction
bit set to 0 (the addressed slave waits for da-
ta). The device sends the acknowledge
The Programming Mode code 00000000 is
sent and acknowledged
10. A command code is sent to the device
11. The procedure related to the command is ex-
ecuted
8.
9.
Table 4.2 Programming Mode Commands
Command
Code
Data in
Data out
Erase
Description
BlockWrite
00000001
32
-
Yes
Write the currently addressed block with the 32 bytes
following the command. The Block locations are erased
before being written.
ByteWrite
00000010
2
-
Yes
Write the byte addressed by the next data sent in the
currently addressed page.
BlockErase
00000011
1
Yes
Erase the block addressed by 3 MSB of the next data sent
and inside the currently addressed page.
ByteErase
00000100
1
Yes
Erase the byte addressed by the next data sent and inside
the currently addressed page.
ByteRead
00000101
1
1
-
Read the byte addressed by the next data sent and inside
the current page. The read data is sent by the device after
the re-send of the Slave Address with the R/W bit changed.
GlobalErase
00001001
-
-
Yes
All the memory is erased.
FastBlockWrite 00001011
32
-
No
Write the currently addressed block with the 32 bytes
following the command. The Block locations aren’t erased.
SetPage
00001100
1
-
-
The currently addressed page is set with the next data sent.
ReadData
00001101
-
1
-
Read the memory location currently addressed. The read
data is sent by the device after the command is
acknowledged. The current memory absolute address is
post-incremented.
IncBlock
00001111
-
-
-
The current block address is incremented modulo 8
(address 0 follows after address 7 and the Page is post-
incremented)
ReadStatus
00010011
-
1
-
This command is followed by a status data byte. Mostly
used in error condition and to check if the device is locked
相關(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