Configuring UART ports