disable uart while measurement