made SPI_MasterWishbone more robust