Patent ID: 8392638
Filing Date: 2013-03-05
Classification: G06F

Abstract:
1. A master-slave communication circuit comprising: a master device; a bus; and a plurality of slave devices, the bus providing communication channels between the master device and the plurality of slave devices, each of the plurality of slave devices comprising: wherein when a new slave device is connected to the bus and all of the communication channels are connected with slave devices, the master device transfers an ID address signal to the ID address setting unit of the new slave device, to set the ID address of the new slave device as “0”; when a new slave device is connected to the bus and not all of the communication channels are connected with slave devices, the master device stops the slave devices, transfers an ID address signal to the ID address setting unit of the new slave device to set the ID address of the new stave device as “0”, and adds “1” to the ID addresses of all of the slave devices which are connected to the bus; the master device restarts the slave devices connected to the bus; when a slave device is disconnected from the bus and the ID address of the disconnected slave device is not “0”, the master device stops the slave devices which are connected to the bus, and transfers ID address signals to the slave devices whose ID addresses are greater than the ID address of disconnected the slave device, to subtract “1” from each of the ID addresses of the slave devices whose ID addresses are greater than the ID address of the disconnected slave device, then the master device restarts the slave devices connected to the bus.