| CPC G06F 3/04162 (2019.05) [G06F 3/03545 (2013.01); G06F 3/0412 (2013.01); G06F 3/0442 (2019.05)] | 20 Claims |

|
1. An electronic device comprising:
a touch sensor configured to sequentially transmit a plurality of first electromagnetic signals to a stylus pen, and to receive a plurality of second electromagnetic signals corresponding to the plurality of first electromagnetic signals from the stylus pen, wherein each of the plurality of first electromagnetic signals has different frequencies; and
a touch controller configured to determine a frequency of one of the plurality of first electromagnetic signals as a frequency of a third electromagnetic signal based on a change in magnitude or phase of the plurality of second electromagnetic signals and control the touch sensor to transmit the third electromagnetic signal.
|