Hi,
Thank you for your answer and wiling to help.
Do you know if I can control these four pins (MISO,MOSI,SCK_SCL and CSn) through FPGA ?
Another question is, when I set the pins as LoanIO, and use the inout wire to link to them in top design file, I got the following error:
Error (169026): Pin hps_gpio_loan57 with I/O standard assignment 2.5 V is incompatible with I/O bank 7A. I/O standard 2.5 V, has a VCCIO requirement of 2.5V, which incompatible with the I/O bank's VCCIO setting or with other output or bidirectional pins in the I/O bank using a VCCIO requirement of 3.3V. Assign output and bidirectional pins with different VCCIO requirements to different I/O banks, or change the I/O standard assignment for the specified pin to a compatible I/O standard. The Intel FPGA Knowledge Database contains many articles with specific details on how to resolve this error. Visit the Knowledge Database at https://www.altera.com/support/support-resources/knowledge-base/search.html and search for this specific error message number.
The default setting of these loan IO is 2.5 V BTW.
Reguards.