An isolated converter comprising: an input adapted to receive an input supply; an output (Vbus); and a transformer which comprises a primary winding connected to the input and a secondary winding magnetically coupled to the primary winding and connected to the output, the primary winding being connected in series with a primary side circuit (M1, R1); a first Y-capacitor electrically connected between the primary side circuit and the secondary winding, wherein the converter further comprises: a detection circuit for detecting information at the primary side, wherein the detection circuit includes the first Y-capacitor, characterized in that the detection circuit comprises a capacitor divider comprising the first Y-capacitor, and further comprising a second impedance and a third capacitor connected in series with the first Y-capacitor, with the first Y-capacitor, the second impedance and the third capacitor connected in series between a primary side ground (PGND) and the input, wherein the detection circuit is configured to detect a voltage across the second impedance to obtain a signal indicating the information at the primary side, wherein the second impedance comprises a second capacitor, wherein a first interconnection of the first Y-capacitor and the second capacitor is connected to a secondary side ground, and a second interconnection of the second capacitor and the third capacitor with respect to the secondary side ground is adapted to provide a signal indicating whether the input receives an alternating current supply or a direct current supply. an input adapted to receive an input supply; an output (Vbus); and a transformer which comprises a primary winding connected to the input and a secondary winding magnetically coupled to the primary winding and connected to the output, the primary winding being connected in series with a primary side circuit (M1, R1); a first Y-capacitor electrically connected between the primary side circuit and the secondary winding, wherein the converter further comprises: a detection circuit for detecting information at the primary side, wherein the detection circuit includes the first Y-capacitor, characterized in that the detection circuit comprises a capacitor divider comprising the first Y-capacitor, and further comprising a second impedance and a third capacitor connected in series with the first Y-capacitor, with the first Y-capacitor, the second impedance and the third capacitor connected in series between a primary side ground (PGND) and the input, wherein the detection circuit is configured to detect a voltage across the second impedance to obtain a signal indicating the information at the primary side, wherein the second impedance comprises a second capacitor, wherein a first interconnection of the first Y-capacitor and the second capacitor is connected to a secondary side ground, and a second interconnection of the second capacitor and the third capacitor with respect to the secondary side ground is adapted to provide a signal indicating whether the input receives an alternating current supply or a direct current supply. a detection circuit for detecting information at the primary side, wherein the detection circuit includes the first Y-capacitor, characterized in that the detection circuit comprises a capacitor divider comprising the first Y-capacitor, and further comprising a second impedance and a third capacitor connected in series with the first Y-capacitor, with the first Y-capacitor, the second impedance and the third capacitor connected in series between a primary side ground (PGND) and the input, wherein the detection circuit is configured to detect a voltage across the second impedance to obtain a signal indicating the information at the primary side, wherein the second impedance comprises a second capacitor, wherein a first interconnection of the first Y-capacitor and the second capacitor is connected to a secondary side ground, and a second interconnection of the second capacitor and the third capacitor with respect to the secondary side ground is adapted to provide a signal indicating whether the input receives an alternating current supply or a direct current supply.