Method for managing a charge transfer between, on the one hand, accumulation means of an electrical control device for controlling an electric motor of a motor vehicle and, on the other hand, an external electrical circuit outside said motor vehicle, said electrical control device comprising: - a voltage converter (11, 21) connected to the accumulation means, - an H-bridge voltage inverter connected to the voltage converter (11, 21), on the one hand, and to the phases of the electric motor, on the other hand, the windings of the phases of said motor each being accessible independently of one another in order to be connected to the external electrical circuit, each of the windings of the phases of the electric motor comprising a centre tap positioned between two half-coils of the winding in order to balance the current between the two half-coils; the method comprising a step of controlling the voltage converter (11, 21) and the voltage inverter as a function of the charge transfer; the method furthermore comprising, before controlling the converter (11, 21) and the voltage inverter: - connecting the electrical control device to the external electrical circuit outside the vehicle, wherein the centre taps of the windings of the phases are connected to predetermined terminals of the external electrical circuit, - detecting the configuration of the external electrical circuit, comprising establishing a pilot line (46, 77, 89) allowing the vehicle to exchange, with the external electrical circuit, information concerning the configuration of said external electrical circuit, so as to determine whether the external electrical circuit is one of a three-phase AC voltage network, a single-phase AC voltage network, a DC voltage network and a DC current network; - determining the charge transfer on the basis the detection of the configuration of the external electrical circuit to which the electrical control device is connected. - a voltage converter (11, 21) connected to the accumulation means, - an H-bridge voltage inverter connected to the voltage converter (11, 21), on the one hand, and to the phases of the electric motor, on the other hand, the windings of the phases of said motor each being accessible independently of one another in order to be connected to the external electrical circuit, each of the windings of the phases of the electric motor comprising a centre tap positioned between two half-coils of the winding in order to balance the current between the two half-coils; - connecting the electrical control device to the external electrical circuit outside the vehicle, wherein the centre taps of the windings of the phases are connected to predetermined terminals of the external electrical circuit, - detecting the configuration of the external electrical circuit, comprising establishing a pilot line (46, 77, 89) allowing the vehicle to exchange, with the external electrical circuit, information concerning the configuration of said external electrical circuit, so as to determine whether the external electrical circuit is one of a three-phase AC voltage network, a single-phase AC voltage network, a DC voltage network and a DC current network; - determining the charge transfer on the basis the detection of the configuration of the external electrical circuit to which the electrical control device is connected.