| CPC G06F 13/4282 (2013.01) [G06F 2213/0016 (2013.01)] | 17 Claims |

|
1. A controlling circuit for communication-link switching, wherein the controlling circuit is applied to a communication link, and the communication link comprises a serial bus, an improved inter integrated circuit (I3C) master device, a plurality of I3C slave devices, a system management bus (SMBUS) master device and a plurality of SMBUS slave devices; and
the controlling circuit comprises:
a plurality of analogue switches that are provided in the serial bus and are connected to the I3C slave devices and the SMBUS slave devices correspondingly one to one; and
a controlling module having an input terminal connected to the serial bus and an output terminal connected to the analogue switches, wherein the controlling module is configured for, when a master device of the serial bus is the I3C master device, controlling the analogue switches corresponding to I3C slave devices that are selected by a user to be switched on, so that the I3C master device and the I3C slave devices that are selected by the user perform data interaction via the serial bus; and when the master device of the serial bus is the SMBUS master device, controlling the analogue switches corresponding to SMBUS slave devices that are selected by the user to be switched on, so that the SMBUS master device and the SMBUS slave devices that are selected by the user perform data interaction via the serial bus;
wherein the controlling module is configured for, when the master device of the serial bus is one of the I3C slave devices, performing data interaction between the I3C slave devices; and, the controlling module is configured for, when the master device of the serial bus is one of the SMBUS slave devices, performing data interaction between the SMBUS slave devices; and
the controlling module is further configured for collecting data information of the serial bus, and determining a master-device type of the serial bus, wherein the master-device type of the serial bus comprises the I3C master device and the SMBUS master device.
|