Not sure, I ran your app on my Edison with only Logic Analyzer hooked up to pins 10-13... It shows the 0x55 going out MOSI, but shows garbage on MISO...
Image may be NSFW.
Clik here to view.
I showed some of the Analog samplings also on the two IO lines...