This invention discloses a bidirectional power supply circuit, control method, and electronic device for a
multimedia interface, including a first power supply detection circuit, a port connection status detection circuit, a power path management circuit, a switching circuit, and a bidirectional
voltage conversion circuit. The first power supply detection circuit detects the device's own power supply status, while the port connection status detection circuit detects the external device's connection status. Based on the dual detection results, the power path management circuit intelligently controls the switching circuit and the bidirectional
voltage conversion circuit. This enables the device to supply power to external devices via the
multimedia interface and also to draw power from external devices via the
multimedia interface, meeting the bidirectional power supply requirements of the new
multimedia interface. Through the coordinated control of the switching circuit and the bidirectional
voltage conversion circuit, the correct conduction or shutdown of the power path is ensured when switching between the two power supply
modes, avoiding the risk of
backflow or short circuits and improving
system safety.