Forum Discussion
Hi Eugeny,
Glad that you could make some progress.
To your earlier question,
>It can be used as user I/O after configuration.
Do I understand it properly - if I use AS configuration mode, the ASDO pin will only be an output in user mode? Or can I configure it do be bi-directional?
ASDO pin can be used as a normal I/O once configuration is over. During config in AS mode, it is by default an output only.
Let us know if the case can be closed. You may reopen it in case you still face the issue.
Regards.
- EugenyB5 years ago
Occasional Contributor
It worked in general, but I still have intermittent problems. Working at 37.6 MHz, some builds do not read data bits properly. Not completely (so that I can recognize data by the eye), but some bits are invalid. I have tried Quartus options for the pins:
// serial flash chip interface(* altera_attribute = "-name FAST_OUTPUT_REGISTER ON" *)output wire SF_DCLK,(* altera_attribute = "-name FAST_OUTPUT_REGISTER ON" *)output wire SF_NCS,(* altera_attribute = "-name FAST_OUTPUT_REGISTER ON; -name FAST_INPUT_REGISTER ON" *)inout wire SF_IO0,(* chip_pin = "13", altera_attribute = "-name FAST_OUTPUT_REGISTER ON; -name FAST_INPUT_REGISTER ON; -name io_maximum_toggle_rate 0" *)inout wire SF_IO1it helps somehow, but not always. I can not release unreliable project, and can not lower the operating frequency. I will have to drop using this chip for this project if will not find suitable solution or mitigate the problem.Unfortunately there're ignored assignments in the Fitter section:Fast Input Register -- SF_IO0 -- ON -- Compiler or HDL AssignmentFast Input Register -- SF_IO1 -- ON -- Compiler or HDL Assignmenthowever I feed registers with this bidir input:r_serial_flash_output_data[31:0] <= { r_serial_flash_output_data[29:0], SF_IO1, SF_IO0 };As I understand with the current setup Quartus fits output register to the nearby cell, but input register may appear at distance causing timing problem.What can I do not force Quartus putting input registers into the cell nearby to the pin? What is wrong in my setup forcing Quartus ignoring fast input register assignment?Please help me.
- EugenyB5 years ago
Occasional Contributor
I have solved the problem. The W25Q128 is properly working at 56 MHz, even with additional load attached (scope / download cable).
Thank you for your support.