Utilizing Arduino Digital Pins (0-13)


I have successfully established SPI communication using MicroBlaze on GPIO pins 13, 12, 11, and 10, as illustrated in the code below. However, when I attempt to connect the slave select pin (10) to a different pin with a number below 8 (any pin from 0 to 7), I observe that I receive a signal of 0 at the output and works only when I connect the slave select pin to GPIO pins 8, 9, or 10.

The reason for this change is my need to connect multiple slaves. I would appreciate any insights or advice you may have regarding this behavior.