This application relates to the field of
electronic circuit technology, and in particular to a
wireless charging and discharging circuit,
chip, and electronic device. The
wireless charging and discharging circuit includes: a charging receiving coil, a charging transmitting coil, a first resonant compensation circuit, a second resonant compensation circuit, a first isolating switch, a second isolating switch, a first bootstrap circuit, a second bootstrap circuit, and a charging control
chip. The first end of the charging transmitting coil is connected to the first control pin of the charging control
chip, and the first end of the charging receiving coil is also connected to the first control pin of the charging control chip. The
wireless charging and discharging circuit provided in this application replaces the two wireless charging chips in related technologies with a structure consisting of a charging receiving coil, a charging transmitting coil, and a charging control chip, enabling wireless charging of electronic devices and reverse wireless charging of styluses, thus saving on hardware costs.