CPC G06F 3/0418 (2013.01) [G06F 3/0446 (2019.05)] | 24 Claims |
1. A method for operating an electronic device, the method comprising:
displaying, on a display of the electronic device, an image by sequentially displaying a plurality of frames of the image, the plurality of frames comprising a first frame and second frame;
performing, on the display, a first noise sampling scan at a first time location within a first frame of the plurality of frames, the first noise sampling scan being performed at a plurality of frequencies, wherein performing the first noise sampling scan comprises sampling capacitances of pixels of a portion of the display, wherein sub-portions of the portion of the display are each sampled at a different sampling frequency, and determining a noise level for each sampling frequency based on the capacitances sampled in each corresponding sub-portion;
determining a first frequency from the plurality of frequencies with the lowest noise based on the first noise sampling scan;
performing, on a touchscreen of the electronic device, a first mutual sensing scan at the first frequency;
performing, on the display, a second noise sampling scan at a second time location within a second frame of the plurality of frames, the second noise sampling scan being performed at the plurality of frequencies, the second time location being a different frame location than the first time location;
determining a second frequency from the plurality of frequencies with the lowest noise based on the second noise sampling scan, the second frequency being different from the first frequency; and
performing, on the touchscreen, a second mutual sensing scan at the second frequency.
|