摘要 |
A charger system with a digital interface circuit, wherein the digital interface circuit has an N-bit control register, wherein N is a positive integer no less than 2, and wherein the N-bit register has a primary state machine, at a first portion of addresses of the control register, configured to instruct operation statuses of a system management bus host; and a secondary state machine, at a second portion of addresses of the control register, configured to instruct a data bit of transmission of a corresponding control instruction under each of the operation statuses of the system management bus host. |
主权项 |
1. A charger system, comprising a power supply circuit, a load, a battery, a system management bus (SMBus) host, a control circuit, a first switch and a second switch, wherein the control circuit comprises a digital interface circuit, and wherein the digital interface circuit comprises an N-bit control register, and wherein N is a positive integer no less than 2, and wherein the N-bit control register comprises:
a primary state machine, at a first portion of addresses of the N-bit control register, configured to instruct operation statuses of the SMBus host; a secondary state machine, at a second portion of addresses of the N-bit control register, configured to instruct data bit of transmission of a corresponding control instruction under each of the operation statuses of the SMBus host; wherein the charger system further comprises a data line and a clock line, wherein the power supply circuit is coupled to a first end of the first switch, a second end of the first switch is coupled to a first end of the second switch and the load, a second end of the second switch is coupled to a first end of the battery, the battery is further coupled to the SMBus host through the data line and the clock line, the SMBus host is further configured to provide a battery information signal to the control circuit through the data line and the clock line, and the control circuit is further configured to provide a control signal to control the ON and OFF of the first switch and the second switch; the digital interface circuit further comprises a control bus, a data register and a data bus, wherein the control register is configured to receive information from the clock line and provide the control instruction according to the primary state machine and the secondary state machine; and wherein the control bus is further coupled to the data bus, enabling the control instruction to control data exchange between the data register and the data line through the data bus, and to decide the ON and OFF of the first switch and the second switch. |