Fixed calibration for 3.3V and extended the test pattern