Linkit one SPI ADC ADS1256

I have been trying to read data from ADS1256 using linkit one but all i can read is FF FF FF
the same code runs perfectly on Arduino UNO

There's some good help for you here.

Anyway, let's start with the basics. What code on what board and how is it all wired together?