UART version of MPU code