inphase: basic phase measurement and clean exit to continue operation