Abstract: The invention relates to an electronic circuit (3) for interconnecting a smartcard chip with a peripheral device, comprising:—a dedicated communication interface (31) adapted to communicate with a smartcard chip;—a configurable communication interface (33,34,35) adapted to communicate with a peripheral device;—a configuration module (32) adapted to receive on said dedicated communication interface a request for configuring the configurable communication interface, adapted to configure the communication protocol of the configurable communication interface with the peripheral device based on the received request;—a bridging module (32) adapted for converting data exchanged between the peripheral device and the smartcard chip through the dedicated communication interface and the configurable communication interface.