Forum Discussion
Altera_Forum
Honored Contributor
19 years agowhy 3-wire spi have 4-prot ??
Dear ALL I want to use the spi in sopc builder . but I find it have 4 paort . i can connect it to my extern device . I want to know how to do it . thanks!
Altera_Forum
Honored Contributor
19 years agoIt is not very common to have SPI slave connected to a processor and a SPI master on a less intelligent MAX II chip. Usually the roles are inverted.
For instructions on how to use a SPI slave on Nios II, you should stay with the Altera documentation, since this is a rare usage of SPI, probably you will not be able to find someone with experience on the forum. As far as I checked the Altera provided drivers for SPI, they are only for master configurations, where all transfers are initiated by the Nios. IzI