[peripherals] data invalid if d1/d1 is zero, back to idle