Altera_Forum
Honored Contributor
12 years agoPassive Serial Tri-state
I am designing a Cyclone IV based board with an SPI interface that we would like to use to configure the FPGA with an MCU. We will configure the pins to toggle like Figure 8-16 (Device Handbook Vol 1).
The idea is to connect 5 GPIO pins to the 5 SPI Pins (CS, MOSI, MISO, CLK, and DRDY). And also connect: DATA to MOSI, DCLK to CLK, and nCONFIG to a 6th Line And optionally connect: CONF_DONE to MISO, nSTATUS to DRDY maybe with some HW tricks (like resistors and such) The question is whether DATA and DCLK can be driven after configuration? When in AS mode, the manual says that the pins go into tri-state after configuration. Can I force tri-state on those pins by changing MSEL from 0x8 to 0x9 at runtime (Table 8-4)?