Altera_Forum
Honored Contributor
9 years agoCyclone III not configuring, using AS.
I'm currently using Cyclone III (EP3C5F256C8) and I'm trying to configure it and it's not happening. I'm using AS connected to a FLASH chip (M25P16). nCONFIG, nSTATUS, CONF_DONE and INIT_DONE are pull-up to 3.3V through a 10K resistor.
Using a logic analyzer, I looked at the Serial data and the configuration signals from the FPGA(nCONFIG, nSTATUS, etc.) The First part of the SPI transaction which is requesting to read the FLASH is done correctly; nSTATUS is high and nCONFIG is high during this. Then the second part of the SPI transaction which is supposed to read the data stored in the FLASH starts, but I'm seeing that CS comes up before all the data stored in the FLASH is read; This leaves nSTATUS high and CONF_DONE low. After a while nSTATUS goes low and then the the CYCLONE III tries again to reconfigure, but the same thing happens over and over again. Any ideas why the CYCLONE III might be giving up before reading the whole data in the flash? The size of the data in the FLASH is: 368.0 KBytes CS is down for 93uS. DCLK rate is 36.23MHz. This numbers indicate that the CYCLONE III is only reading ~430.5 Bytes