readig encoder over SPI works