Vikram, I still have no resolution or lead on this topic. You mention that the CS is used for another task but through the same SPI bus, however I am more concerned that the CS was inadvertently applied before the transmission was completed and this somehow prevent the transmission of the last byte and consequently the IFG being checked is not set because the transmission was not completed. Are you in any position to analyze or monitor the SPI bus activity to make sure that the first transaction completed accurately before the second where you see the device getting stuck in the while loop. Can you also share some more details of the SD card that you are reading from? Is this from the SD boosterpack? doc.43oh.com/The_Card_Reader_SDCard_BoosterPack Thanks, Chris
↧