EMC detection