Patent attributes
In one embodiment, a stylus includes one or more electrodes included in a tip, and a computer-readable non-transitory storage medium embodying logic that is configured when executed to receive, by the one or more electrodes and an analog front end, signals transmitted from a touch sensor coupled to a touch-sensor controller, and convert the signals into sequences of digital signals. The logic is further configured when executed to feed the sequences of digital signals received in different periods into a memory; correlate each of the sequences of digital signals with a digital data defined by a wide-band code to generate multiple correlations; and transmit a transmission signal to the touch-sensor controller according to a synchronization timing determined based at least in part on one or more of the multiple correlations.