EMS22A spi encoder using with STM32F103 MCU