Error while establishing SPI communucation between WizFi360 evb pico and Spartan6 FPGA

Hello I am working on a research project. I am trying eshtablish spi communication of wixfi360 evb pico and spartan6 fpga. I am trying to transmit 0xAA but am consistently receiving 0x00 or 0xff. Programmed the pico using micropython and arduino ide as well still facing the same issue. Can anyone help me out?

This is my code