In my system, there are multiple SPI slaves there.
i'd like to use a single SPI master (cx3 in this case) controlling multiple SPI slaves.. is there any reference design? like typical connection and reference code for that..
i was wondering how to get additional ss1 pin and ss2 pin as a slave select for those additional spi slaves?
can i select unused gpios as slave select pins, is there any reference code for allocating those GPIOs as a SS1 pin and a SS1 pin?
have a nice day.
Please refer to the following community thread: CYUSB3014 and Lattice ECP5 Flash selection
The above thread explains about the way to configure GPIO as SSN pins for multiple slaves and the firmware that is to be used inorder to get the required functionality.
There is also, a reference design attached.