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.

Passive Serial <strong>Configuration</strong>pulled high, the microprocessor should <strong>pl</strong>ace the configuration data onebit at a time on the DATA0 pin. The least significant bit (LSB) of each databyte must be sent first.The APEX 20KE or APEX 20KC device receives configuration data on itsDATA0 pin and the clock is received on the DCLK pin. Data is latched intothe FPGA on the rising edge of DCLK. Data is continuously clocked intothe target device until CONF_DONE goes high. After the FPGA hasreceived all configuration data successfully, it releases the open-drainCONF_DONE pin, which is pulled high by an external 10-kΩ pull-upresistor. A low-to-high transition on CONF_DONE indicates configurationis com<strong>pl</strong>ete and initialization of the device can begin.In APEX 20KE and APEX 20KC devices, the initialization clock source iseither the APEX 20KE or APEX 20KC internal oscillator (typically10 MHz) or the optional CLKUSR pin. By default, the internal oscillator isthe clock source for initialization. If the internal oscillator is used, theAPEX 20KE or APEX 20KC device will take care to provide itself withenough clock cycles for proper initialization. Therefore, if the internaloscillator is the initialization clock source, sending the entireconfiguration file to the device is sufficient to configure and initialize thedevice. Driving DCLK to the device after configuration is com<strong>pl</strong>ete doesnot affect device operation.You also have the flexibility to synchronize initialization of multi<strong>pl</strong>edevices by using the CLKUSR option. The Enable user-sup<strong>pl</strong>ied start-up clock(CLKUSR) option can be turned on in the Quartus II software from theGeneral tab of the Device & Pin Options dialog box. Sup<strong>pl</strong>ying a clockon CLKUSR will not affect the configuration process. After allconfiguration data has been accepted and CONF_DONE goes high,APEX 20KE and APEX 20KC devices require 40 clock cycles to initializeproperly.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 10-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. The microprocessormust be able to detect this low-to-high transition which signals the FPGAhas entered user mode. In user-mode, the user I/O pins will no longerhave weak pull-up resistors and will function as assigned in your design.7–22 Altera Corporation<strong>Configuration</strong> <strong>Handbook</strong>, Volume 1 August 2005

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

Saved successfully!

Ooh no, something went wrong!