How to use SPI? Can you tell me brief steps?

Have a reference to below link.