A device for contactless communication comprising: - a near field communication, NFC, module being adapted to generate an electromagnetic carrier signal and to modulate the carrier signal according to data to be transmitted, said NFC module including a transmitter and a receiver; - an antenna circuit coupled to said NFC module and driven by said NFC module with the modulated carrier signal; - an RF front end coupled between said NFC module and said antenna circuit; and - a protocol detection circuit for detecting a protocol mode in response to an incoming signal, for the device operating in a card emulation mode, said protocol detection circuit including - a plurality of filters (204, 205, 206, 207) arranged in parallel, each filter being adapted to generate an envelope of the incoming signal, wherein the plurality of filters (204, 205, 206, 207) includes an ISO 14443 Type A filter, an ISO 14443 Type B filter, a FeliCa filter with a data rate of 212kBits/s, and a FeliCa filter with a data rate of 424kBits/s; - a plurality of decoders (208, 209, 210, 211) arranged in parallel, each of the plurality of decoders (208, 209, 210, 211) being coupled to a corresponding one of the plurality of filters (204, 205, 206, 207), each decoder being adapted to generate an output in response to a respective envelope generated by the corresponding one of the plurality of filters (204, 205, 206, 207), wherein each of the plurality of decoders (208, 209, 210, 211) is adapted to detect an error in response to a respective envelope generated by the corresponding one of the plurality of filters (204, 205, 206, 207), wherein said respective decoder and the corresponding filter are disabled in response to the detected error, wherein the plurality of decoders (208, 209, 210, 211) includes an ISO 14443 Type A decoder, an ISO 14443 Type B decoder, a FeliCa decoder with a data rate of 212kBits/s, and a FeliCa decoder with a data rate of 424kBits/s; and - a decision unit coupled to the plurality of decoders (208, 209, 210, 211), said decision unit being adapted to detect a protocol mode based on the output from each of the plurality of decoders (208, 209, 210, 211), wherein the protocol mode is one of ISO 14443 Type A with a data rate of 106kBits / s, ISO 14443 Type B with a data rate of 106kBits / s, FeliCa with a data rate of 212kBitsls, and FeliCa with a data rate of 424kBits / s. - a near field communication, NFC, module being adapted to generate an electromagnetic carrier signal and to modulate the carrier signal according to data to be transmitted, said NFC module including a transmitter and a receiver; - an antenna circuit coupled to said NFC module and driven by said NFC module with the modulated carrier signal; - an RF front end coupled between said NFC module and said antenna circuit; and - a protocol detection circuit for detecting a protocol mode in response to an incoming signal, for the device operating in a card emulation mode, - a plurality of filters (204, 205, 206, 207) arranged in parallel, each filter being adapted to generate an envelope of the incoming signal, wherein the plurality of filters (204, 205, 206, 207) includes an ISO 14443 Type A filter, an ISO 14443 Type B filter, a FeliCa filter with a data rate of 212kBits/s, and a FeliCa filter with a data rate of 424kBits/s; - a plurality of decoders (208, 209, 210, 211) arranged in parallel, each of the plurality of decoders (208, 209, 210, 211) being coupled to a corresponding one of the plurality of filters (204, 205, 206, 207), each decoder being adapted to generate an output in response to a respective envelope generated by the corresponding one of the plurality of filters (204, 205, 206, 207), wherein each of the plurality of decoders (208, 209, 210, 211) is adapted to detect an error in response to a respective envelope generated by the corresponding one of the plurality of filters (204, 205, 206, 207), wherein said respective decoder and the corresponding filter are disabled in response to the detected error, wherein the plurality of decoders (208, 209, 210, 211) includes an ISO 14443 Type A decoder, an ISO 14443 Type B decoder, a FeliCa decoder with a data rate of 212kBits/s, and a FeliCa decoder with a data rate of 424kBits/s; and - a decision unit coupled to the plurality of decoders (208, 209, 210, 211), said decision unit being adapted to detect a protocol mode based on the output from each of the plurality of decoders (208, 209, 210, 211), wherein the protocol mode is one of ISO 14443 Type A with a data rate of 106kBits / s, ISO 14443 Type B with a data rate of 106kBits / s, FeliCa with a data rate of 212kBitsls, and FeliCa with a data rate of 424kBits / s.