Altera_Forum
Honored Contributor
16 years agoSPI Pin Assignments
Hi,
I ran into a problem trying to assign the MOSI_out_from_SPI signal and/or the SCLK_out_from_SPI signal. I looked in the Altera documentation and it does not appear that these signals require anything special (as far as type of pin to use), so I am certainly confused. I had been using some digital pots in my design, and I used two bits from a 16 bit PIO to bit bang the data into the devices. In my latest revision, I used SPI interface digital pots. I had planned to just reassign the spi interface pins to the same pin locations as I used for the individual bits from the PIO, since the layout for these two lines (MOSI AND SCLK) on the PCB did not change. I can remove the connections for the old PIO bits to the FPGA pins, recompile, and the systems accepts the program from the debugger. I can remove the ‘OLD’ assignments for the MOSI_out_from_SPI pin and the SCLK_out_from_SPI pin, leave them blank, recompile, and the systems accepts the program from the debugger. If I try to assign EITHER of these two pins (MOSI or SCLK), the system compiles fine, but when I try to it will not download to the system (via NIOS II Debugger) I receive the following error from the debugger; using cable "usb-blaster [usb-0]", device 1, instance 0x00 pausing target processor: not responding. resetting and trying again: failed leaving target processor paused Any ideas on why this is occurring? Thanks. Fred