modifying interface to accomodate bige endian on spi bus