I would like to know the SPI command initialization sequence (Code)

I would like to know the SPI command initialization sequence (Code) in order to perform read/write the SPI registers in LMS6002. Basically I am stuck at initial settings that would be required before we start read/write of configuration registers. Please Help me in this regard