...
What I need:
- My application needs 4 Chip Select signals
- The SPI controller used is the Zynq's in built SPI_PS
- There are 3 Chip Select signals (S0, S1, S2) available
- To extend these 3 to 4, I need to assert 2 slaves simultaneously
What I did:
- I chose "XSPIPS_DECODE_SSELECT_OPTION" in XSpiPs_SetOptions() function
- I tried setting 0x00000110 in XSpiPs_SetSlaveSelect() function
I should have produced a LOW in both S2 and S1 (LOW means chip select is asserted). But, only S2 is asserted and the other 2 lines are high. Am I not doing some additional setting or do I need to pass a different value to XSpiPs_SetSlaveSelect() in order to assert 2 chip select signals?