12.07.2015 Views

Configuration Handbook - Kamami.pl

Configuration Handbook - Kamami.pl

Configuration Handbook - Kamami.pl

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring Stratix II & Stratix II GX DevicesINIT_DONE pin is released and pulled high. The microprocessor must beable to detect this low-to-high transition that signals the device hasentered user mode. When initialization is com<strong>pl</strong>ete, the device enters usermode. In user-mode, the user I/O pins no longer have weak pull-upresistors and function as assigned in your design.To ensure DATA[7..0] is not left floating at the end of configuration, themicroprocessor must drive them either high or low, whichever isconvenient on your board. After configuration, the nCS, CS, nRS, nWS,RDYnBSY, and DATA[7..0] pins can be used as user I/O pins. Whenchoosing the PPA scheme in the Quartus II software as a default, theseI/O pins are tri-stated in user mode and should be driven by themicroprocessor. To change this default option in the Quartus II software,select the Dual-Purpose Pins tab of the Device & Pin Options dialog box.If an error occurs during configuration, the device drives its nSTATUS pinlow, resetting itself internally. The low signal on the nSTATUS pin alsoalerts the microprocessor that there is an error. If the Auto-restartconfiguration after error option-available in the Quartus II software fromthe General tab of the Device & Pin Options dialog box-is turned on, thedevice releases nSTATUS after a reset time-out period (maximum of100 µs). After nSTATUS is released and pulled high by a pull-up resistor,the microprocessor can try to reconfigure the target device withoutneeding to pulse nCONFIG low. If this option is turned off, themicroprocessor must generate a low-to-high transition (with a low pulseof at least 2 µs) on nCONFIG to restart the configuration process.The microprocessor can also monitor the CONF_DONE and INIT_DONEpins to ensure successful configuration. To detect errors and determinewhen programming com<strong>pl</strong>etes, monitor the CONF_DONE pin with themicroprocessor. If the microprocessor sends all configuration data butCONF_DONE or INIT_DONE has not gone high, the microprocessor mustreconfigure the target device.1 If you are using the optional CLKUSR pin and nCONFIG is pulledlow to restart configuration during device initialization, ensureCLKUSR continues toggling during the time nSTATUS is low(maximum of 100 µs).When the device is in user-mode, a reconfiguration can be initiated bytransitioning the nCONFIG pin low-to-high. The nCONFIG pin should golow for at least 2 µs. When nCONFIG is pulled low, the device also pullsnSTATUS and CONF_DONE low and all I/O pins are tri-stated. OncenCONFIG returns to a logic high level and nSTATUS is released by thedevice, reconfiguration begins.Altera Corporation 7–77May 2007 Stratix II Device <strong>Handbook</strong>, Volume 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!