參數(shù)資料
型號: ST52501LF2
英文描述: MAX 7000 CPLD 128 MC 100-TQFP
中文描述: 8位紅外驅動重癥監(jiān)護病房。定時器/脈寬調制。 I2C總線。的SPI。脊髓損傷。低電壓
文件頁數(shù): 31/106頁
文件大?。?/td> 1355K
代理商: ST52501LF2
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 Vpp pin
equal to Vdd and releasing the Reset signal. The
following pins are used in Programming mode:
s
VPP
used to switch to programming mode
s
VDD
device supply
s
VSS
device ground
s
RESET
device reset
s
SCL
I2C serial clock
s
SDA
I2C 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
following
sequence starts the Programming Mode:
1.
VPP is set to VDD
2.
The device is Reset (RESET=VSS)
3.
The Reset is released (RESET=VDD)
4.
The internal oscillator starts at 10 MHz
5.
The memory is turned on
6.
The I2C Interface and Ports are initialized
7.
The I2C Interface is configured to work as
Slave, Receiver, 7-bit address and waits for
data
8.
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
9.
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
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
-
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
-
N
-
Read N consecutive bytes starting from 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
相關PDF資料
PDF描述
ST52501LF3 MAX 7000 CPLD 128 MC 100-PQFP
ST52501LG1 MAX 7000 CPLD 128 MC 160-PQFP
ST52501LG2 MAX 7000 CPLD 128 MC 100-TQFP
ST52501LG3 MAX 7000 CPLD 128 MC 100-TQFP
ST52501LK1 MAX 7000 CPLD 160 MC 84-PLCC
相關代理商/技術參數(shù)
參數(shù)描述
ST52501LF3 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52501LG1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52501LG2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52501LG3 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE
ST52501LK1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT ICU WITH IR DRIVER. TIMER/PWM. I2C. SPI. SCI. LOW VOLTAGE