test code for SPI communications with any board

Dependencies:   mbed-dev