Posting your code might help. Do you have a SD card or any other SPI device connected to your device?