欢迎访问ic37.com |
会员登录 免费注册
发布采购

EPM240T100C5 参数 Datasheet PDF下载

EPM240T100C5图片预览
型号: EPM240T100C5
PDF下载: 下载PDF文件 查看货源
内容描述: [最大II器件]
分类和应用: 可编程逻辑器件输入元件PC
文件页数/大小: 295 页 / 3815 K
品牌: ALTERA [ ALTERA CORPORATION ]
 浏览型号EPM240T100C5的Datasheet PDF文件第142页浏览型号EPM240T100C5的Datasheet PDF文件第143页浏览型号EPM240T100C5的Datasheet PDF文件第144页浏览型号EPM240T100C5的Datasheet PDF文件第145页浏览型号EPM240T100C5的Datasheet PDF文件第147页浏览型号EPM240T100C5的Datasheet PDF文件第148页浏览型号EPM240T100C5的Datasheet PDF文件第149页浏览型号EPM240T100C5的Datasheet PDF文件第150页  
9–14  
Chapter 9: Using User Flash Memory in MAX II Devices  
Software Support for UFM Block  
Inter-Integrated Circuit  
2
Inter-Integrated Circuit (I C) is a bidirectional two-wire interface protocol, requiring  
only two bus lines; a serial data/address line (SDA), and a serial clock line (SCL).  
2
Each device connected to the I C bus is software addressable by a unique address. The  
2
I C bus is a multi-master bus where more than one integrated circuit (IC) capable of  
initiating a data transfer can be connected to it, which allows masters to function as  
transmitters or receivers.  
The altufm_i2c megafunction features a serial, 8-bit bidirectional data transfer up to  
100 Kbits per second. With the altufm_i2c megafunction, the MAX II UFM and logic  
2
2
can be configured as a slave device for the I C bus. The altufm megafunction’s I C  
2
interface is designed to function similar to I C serial EEPROMs.  
The Quartus II software supports three different memory sizes:  
(128 × 8) 1 Kbits  
(256 × 8) 2 Kbits  
(512 × 8) 4 Kbits  
(1,024 × 8) 8 Kbits  
2
I C Protocol  
2
The following defines the characteristics of the I C bus protocol:  
Only two bus lines are required: SDA and SCL. Both SDA and SCL are  
bidirectional lines which remain high when the bus is free.  
Data transfer can be initiated only when the bus is free.  
The data on the SDA line must be stable during the high period of the clock. The  
high or low state of the data line can only change when the clock signal on the SCL  
line is low.  
Any transition on the SDA line while the SCL is high is one such unique case  
which indicates a start or stop condition.  
Table 9–5 summarizes the altufm_i2c megafunction input and output interface  
signals.  
Table 9–5. altufm_i2c Interface Signals  
Pin  
SDA  
Description  
Function  
Serial Data/Address Line  
The bidirectional SDA port is used to transmit and receive serial data from the  
UFM. The output stage of the SDA port is configured as an open drain pin to  
perform the wired-ANDfunction.  
SCL  
Serial Clock Line  
Write Protect  
The bidirectional SCL port is used to synchronize the serial data transfer to and  
from the UFM. The output stage of the SCL port is configured as an open drain  
pin to perform a wired-ANDfunction.  
WP  
Optional active high signal that disables the erase and write function for  
read/write mode. The altufm_i2c megafunction gives you an option to protect  
the entire UFM memory or only the upper half of memory.  
A2, A1, A0  
Slave Address Input  
These inputs set the UFM slave address. The A6, A5, A4, A3 slave address bits  
are programmable, set internally to 1010by default.  
MAX II Device Handbook  
© October 2008 Altera Corporation  
 复制成功!