| CPC G06F 13/4291 (2013.01) [G06F 13/4221 (2013.01)] | 15 Claims |

|
1. A reset method of a 2-wire interface, the 2-wire interface comprising a master device and a slave device coupled by a clock line and a serial data out (SDO) line, the reset method comprising:
changing an SDO port of the master device from output to input when the master device identifies an out-of-sync occurring at a first time, and resetting an SDO counter of the master device;
changing an SDO port of the slave device to input when the slave device accomplishes a current transaction at a second time to pull up a voltage on the SDO line to logic high;
invoking reset of the slave device after toggling 16 clocks behind the second time and transferring an acknowledge byte to the master device in a reset_done state of the slave device; and
identifying, by the master device, whether the acknowledge byte is correct,
wherein the master device continuously toggles clocks to the slave device after the first time till the acknowledge byte is over.
|