English
Language : 

5M80ZE64I5N Datasheet, PDF (139/166 Pages) Altera Corporation – MAX V Device Handbook
Chapter 7: User Flash Memory in MAX V Devices
Software Support for UFM Block
7–35
ALTUFM SPI Timing Specification
Figure 7–32 shows the timing specification needed for the SPI Extended mode
(read/write). These nCS timing specifications do not apply to the SPI Extended
read-only mode nor to any of the SPI Base modes. However, for the SPI Extended
mode (read only) and the SPI Base mode (both read only and read/write), the nCS
signal and SCK are not allowed to toggle at the same time. Table 7–14 lists the timing
parameters that only apply to the SPI Extended mode (read/write).
Figure 7–32. SPI Timing Waveform
tHNCSHIGH
nCS
tSCK2NCS
tNCS2SCK
SCK
Table 7–14. SPI Timing Parameters for Extended Mode
Symbol
Description
tSCK2NCS
tHNCSHIGH
tNCS2SCK
The time required for the SCK signal falling edge to nCS signal rising edge
The time that the nCS signal must be held high
The time required for the nCS signal falling edge to SCK signal rising edge
Minimum (ns) Maximum (ns)
50
—
600
—
750
—
Instantiating SPI Using Quartus II ALTUFM_SPI Megafunction
Figure 7–33 shows the ALTUFM_SPI megafunction symbol for SPI instantiation in the
Quartus II software.
Figure 7–33. ALTUFM_SPI Megafunction Symbol for SPI Instantiation
ALTUFM_SPI megafunction is under the Memory Compiler folder on page 2a of the
MegaWizard Plug-In Manager. On page 3, you can choose whether to implement the
Read/Write or Read Only mode as the access mode for the UFM. You can also select
the configuration mode (Base or Extended) for SPI on this page. You can specify the
initial content of the UFM block on page of the ALTUFM MegaWizard Plug-In
Manager as discussed in “Creating Memory Content File” on page 7–39.
1 The UFM block’s internal oscillator is always running when the ALTUFM_SPI
megafunction is instantiated for read/write interface. The UFM block’s internal
oscillator is disabled when the ALTUFM_SPI megafunction is instantiated for read
only interface.
January 2011 Altera Corporation
MAX V Device Handbook