Hi, thank you for the answer. I checked the folder you indicate but, apart of the usual hello word examples, I was not able to find anything that uses the SPI I/F
Unfortunately there isn't available a simple SPI c code, the available information can be found in the u-boot spi drivers or the linux driver according to the LSDKUG.