Use UART driver for port 'usart2'.
Encoder test sequence.