ADS1118evm SPI trouble

Hello I am currently using an ADS1118evm hooked up to a Beagleboard

I just need to make sure I can get voltage readings from the ADC to the beagleboard.

For thw interface I am using SpiMode1 and connecting the ADS1118evm chip select, clck, mosi and miso to the appropriate ports (or at least I hope so)

Here is the code I am using


I am doing a one shot mode read so that I can see how to interpret my raw voltage.

But I don't think I am doing it correctly, is there anything wrong with my code?

Thank you,