Using the EMS22A encoder with SPI interface, sending it's data to PC through serial port with STM32F103RC microcontroller