12.07.2015 Views

Configuration Handbook - Kamami.pl

Configuration Handbook - Kamami.pl

Configuration Handbook - Kamami.pl

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring APEX II DevicesAfter the FPGA has received all configuration data successfully it releasesthe open-drain CONF_DONE pin, which is pulled high by a pull-upresistor. Since CONF_DONE is tied to the configuration device’s nCS pin,the configuration device is disabled when CONF_DONE goes high.Enhanced configuration devices have an optional internal pull-up on thenCS pin. This option is available in the Quartus II software from theGeneral tab of the Device & Pin Options dialog box. If this internal pullupis not used, an external 1kΩ pull-up on the nCS/CONF_DONE line isrequired. A low to high transition on CONF_DONE indicates configurationis com<strong>pl</strong>ete and initialization of the device can begin.In APEX II devices, the initialization clock source is either the APEX IIinternal oscillator (typically 10 MHz) or the optional CLKUSR pin. Bydefault, the internal oscillator is the clock source for initialization. If theinternal oscillator is used, the APEX II device will take care to provideitself with enough clock cycles for proper initialization. You also have theflexibility to synchronize initialization of multi<strong>pl</strong>e devices by using theCLKUSR option. The Enable user-sup<strong>pl</strong>ied start-up clock (CLKUSR) optioncan be turned on in the Quartus II software from the General tab of theDevice & Pin Options dialog box. Sup<strong>pl</strong>ying a clock on CLKUSR will notaffect the configuration process. After all configuration data has beenaccepted and CONF_DONE goes high, APEX II devices require 40 clockcycles to initialize properly.An optional INIT_DONE pin is available, which signals the end ofinitialization and the start of user-mode with a low-to-high transition.The Enable INIT_DONE output option is available in the Quartus IIsoftware from the General tab of the Device & Pin Options dialog box.If the INIT_DONE pin is used it will be high due to an external 1-kΩ pullupresistor when nCONFIG is low and during the beginning ofconfiguration. Once the option bit to enable INIT_DONE is programmedinto the device (during the first frame of configuration data), theINIT_DONE pin will go low. When initialization is com<strong>pl</strong>ete, theINIT_DONE pin will be released and pulled high. In user-mode, the userI/O pins will no longer have weak pull-ups and will function as assignedin your design. The enhanced configuration device will drive DCLK lowand DATA[7..0] high at the end of configuration.If an error occurs during configuration, the FPGA drives its nSTATUS pinlow, resetting itself internally. Since the nSTATUS pin is tied to OE, theconfiguration device will also be reset. If the Auto-Restart <strong>Configuration</strong>After Error option-available in the Quartus II software from the Generaltab of the Device & Pin Options dialog box-is turned on, the FPGA willautomatically initiate reconfiguration if an error occurs. The APEX IIdevice will release its nSTATUS pin after a reset time-out period(maximum of 40 µs). When the nSTATUS pin is released and pulled highby a pull-up resistor, the configuration device reconfigures the chain. IfAltera Corporation 6–33August 2005 <strong>Configuration</strong> <strong>Handbook</strong>, Volume 1

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

Saved successfully!

Ooh no, something went wrong!