add rtc/usb crystal test; fix some usb test issues; fix test delay timing; disable analog inputs when not in use