An electronic device comprising: a display (201, 460, 1010, 1020); a printed circuit board, PCB; a communication module (190, 420, 524) comprising communication circuitry disposed to the PCB; an electromagnetic interference, EMI, detection module (440, 540, 840, 1160) comprising EMI detecting circuitry disposed to the PCB, and configured to detect an EMI signal generated from an external device; at least one antenna (430, 913, 1021) electrically coupled to the communication module and the EMI detection module; and a processor (120, 410, 550, 850, 1170); wherein the processor is configured to: output an image using the display; control a communication configuration of the electronic device with the external electronic device using the communication module; detect the EMI signal generated from the external device using the at least one antenna and the EMI detection module; identify the external device based on the detected EMI signal; and perform a designated operation based on the identification, wherein the EMI detection module is electrically coupled to the at least one antenna via a second electrical path branched from a first electrical path, the first electrical path coupling the at least one antenna and the communication module, wherein a filtering member comprising a filter is disposed in the second electrical path and is configured to filter the EMI signal from among signals which are input via the first electrical path. a display (201, 460, 1010, 1020); a printed circuit board, PCB; a communication module (190, 420, 524) comprising communication circuitry disposed to the PCB; an electromagnetic interference, EMI, detection module (440, 540, 840, 1160) comprising EMI detecting circuitry disposed to the PCB, and configured to detect an EMI signal generated from an external device; at least one antenna (430, 913, 1021) electrically coupled to the communication module and the EMI detection module; and a processor (120, 410, 550, 850, 1170); wherein the processor is configured to: output an image using the display; control a communication configuration of the electronic device with the external electronic device using the communication module; detect the EMI signal generated from the external device using the at least one antenna and the EMI detection module; identify the external device based on the detected EMI signal; and perform a designated operation based on the identification, output an image using the display; control a communication configuration of the electronic device with the external electronic device using the communication module; detect the EMI signal generated from the external device using the at least one antenna and the EMI detection module; identify the external device based on the detected EMI signal; and perform a designated operation based on the identification, wherein the EMI detection module is electrically coupled to the at least one antenna via a second electrical path branched from a first electrical path, the first electrical path coupling the at least one antenna and the communication module, wherein a filtering member comprising a filter is disposed in the second electrical path and is configured to filter the EMI signal from among signals which are input via the first electrical path.