Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

SPI Mode

ASidd16
Beginner
326 Views

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
Moderator
295 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
278 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