Forum Discussion
Altera_Forum
Honored Contributor
12 years agoNios SPI Master and interrupt from slave
Hello forum !! I have another issue i can't solve.. I have a nios2 processor running and I use a SPI protocol (in which I am the master) to communicate with a slave hardware. The slave, un...
Altera_Forum
Honored Contributor
12 years agoAttach the error pin to a pio register instead of an interrupt.
Actually, do both and add logic to disable the interrupt request. Then the software can read the 'error' flag and then request the SPI read when an error is indicated. I have seen spi-like hardware where the default state of the master was to poll-read one slave register.