Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ASidd16
Beginner
188 Views

SPI Mode

Hello Everyone.

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.

Thank you

0 Kudos
2 Replies
SyafieqS_Intel
Moderator
157 Views

Hi Ali,


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.


https://www.intel.com/content/www/us/en/programmable/support/support-resources/design-examples/intel...


Thanks,

Regards


ASidd16
Beginner
140 Views

Thank you for your help.

but this is not the answer of my Question.

SPI is working properly. I want to change SPI mode using NIOS.

Thank you

Reply