US 11,658,649 B2
Pin state configuration circuit and configuration method, and electronic device
Ken Chin, Shenzhen (CN); Yuanjun Liu, Shenzhen (CN); Guiping Zhang, Dongguan (CN); and Shanglin Mo, Dongguan (CN)
Assigned to HUAWEI DIGITAL POWER TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by HUAWEI DIGITAL POWER TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed on Apr. 11, 2022, as Appl. No. 17/717,265.
Claims priority of application No. 202110558493.0 (CN), filed on May 21, 2021.
Prior Publication US 2022/0376686 A1, Nov. 24, 2022
Int. Cl. H03K 5/24 (2006.01)
CPC H03K 5/24 (2013.01) 15 Claims
OG exemplary drawing
 
1. A pin state configuration circuit, comprising: a configured resistor load, a voltage sampling unit, and a comparator, wherein
the configured resistor load is configured to connect to a first configuration pin and a second configuration pin of a chip;
the voltage sampling unit is configured to supply a first reference voltage to the configured resistor load by using the first configuration pin or the second configuration pin, and respectively sample a voltage of the first configuration pin and a voltage of the second configuration pin; and
the comparator is configured to calculate a first voltage ratio based on the voltage of the first configuration pin and the voltage of the second configuration pin that are sampled by the voltage sampling unit when the first reference voltage is supplied to the configured resistor load by using the first configuration pin, calculate a second voltage ratio based on the voltage of the first configuration pin and the voltage of the second configuration pin that are sampled by the voltage sampling unit when the first reference voltage is supplied to the configured resistor load by using the second configuration pin, and determine a corresponding pin configuration state based on the first voltage ratio and the second voltage ratio.