Hitesh, Do you have a slave device connected? If the MISO line is floating instead of being actively pulled low by the slave then the input could be erroneously read as 0xFF. You can also test this by manually grounding the MISO line. Regards, Ryan
↧