I want to know how can i change SPI mode in NIOS software.
For example i have two chips, one chip has SPI mode 3 and the other has 1,
i want to use only one block in Qsys with 2 chip select pins.
If i configure it with mode 3 , the other chip is not working.
If anyone has an idea then please share.
It is always recommended for you to start with sample design. You can find very good references about how to use SPI communication, here is a good example of how to use SPI slave to AVALON memory mapped.