9–22
Chapter 9: Using User Flash Memory in MAX II Devices
Software Support for UFM Block
2
ALTUFM I C Interface Timing Specification
Figure 9–21 shows the timing waveform for the altufm_i2c megafunction read/write
mode.
Figure 9–21. Timing Waveform for the altufm_i2c Megafunction
SDA
t
t
SU:DAT
HD:DAT
t
t
t
HD:STA
SU:STO
SU:STA
t
BUF
t
SCLSDA
t
SCL
HIGH
t
LOW
Table 9–6 through Table 9–8 list the timing specification needed for the altufm_i2c
megafunction read/write mode.
Table 9–6. I2C Interface Timing Specification
Symbol Parameter
Min
—
—
4.7
4
Max
100
15
Unit
kHz
ns
FSCL
tSCL:SDA
tBUF
SCL clock frequency
SCL going low to SDA data out
Bus free time between a stop and start condition
(Repeated) start condition hold time
(Repeated) start condition setup time
SCL clock low period
—
µs
tHD:STA
tSU:STA
tLOW
—
µs
4.7
4.7
4
—
µs
—
µs
tHIGH
SCL clock high period
—
µs
tHD:DAT
tSU:DAT
tSU:STO
SDA data in hold time
0
—
ns
SDA data in setup time
20
4
—
ns
STOP condition setup time
—
ns
Table 9–7. UFM Write Cycle Time
Parameter
Min
Max
Unit
Write Cycle Time
—
110
µs
Table 9–8. UFM Erase Cycle Time
Parameter
Min
Max
Unit
Sector Erase
Cycle Time
—
501
ms
Full Erase Cycle
Time
—
1,002
ms
Instantiating the I2C Interface Using the Quartus II altufm Megafunction
2
Figure 9–22 shows the altufm megafunction symbol for a I C interface instantiation in
the Quartus II software.
MAX II Device Handbook
© October 2008 Altera Corporation