MKR1010 with AMT232A-V using SSI protocol

I am beginner to the encoder and MKR1010 module. I am trying to use SSi protocol to get data from the encoder(AMT232A-V) using MKR1010.

I am using the test code attached along with the email

The attached program is suited only for UNO, referring to the code

digitalWrite(SSI_CS, LOW);

for (i = 0; i < 5; i++) NOP;

I have changed value from 5 to 15.

digitalWrite(SSI_SCK, LOW);

for (i = 0; i < 10; i++) NOP;

and here from 10 to 30.

In order to adjust for the frequency of the MKR1010, I have made these changes. I am still not able to get the expected output. Is this approach correct or what else needs to be done in order to make the code to run with MKR1010. Please share your suggest/inputs on this.

The test code and the datasheet can be found here