HDQ, SDQ, Battery Management, Qi and UFCS

A battery pack talks to its host over a small bus: SMBus on laptops, and single-wire buses such as TI's HDQ and SDQ on phones and small packs, so the host can read charge, temperature and identity. Chargers talk too: Qi pads exchange packets with the phone, and wired fast-charging schemes negotiate voltage over the cable. A logic analyser that decodes these links shows why a pack is not recognised or a charger will not raise its voltage.

HDQTI single-wire fuel gauge bus
SDQTI single-wire bus for ID and gauges
QiWireless charging, load modulation
UFCSUniversal fast charging, China
BMSCell monitoring and balancing ICs
Single wireOpen drain with pull-up

HDQ and SDQ

HDQ is a single-wire, open-drain bus used by many Texas Instruments bq-series fuel gauges. The host starts each transaction with a break (a long low pulse), then sends a command byte with a 7-bit register address and a read or write bit, least significant bit first. Each bit is defined by when the line returns high within a fixed bit time, and the gauge answers a read in the same way. Register values give state of charge, voltage, current and temperature.

SDQ is a related TI single-wire bus with a reset and presence pulse, similar in style to 1-Wire, used by battery authentication and identification devices and some gauges. Both are slow, so any logic analyser has enough sample rate; what the decoder adds is the register map.

Battery Management Links

Multi-cell packs use cell monitoring ICs that measure each cell and balance them, and report to a host controller over SPI, I2C or a daisy-chained serial link. ZeroPlus lists a BMS decoder, Acute lists BSD (bit serial device) and Richtek single-wire (RT_SWI) decoders used with battery and power management parts. Ask us which device each decoder targets before you rely on it.

Qi Wireless Charging

A Qi receiver tells the transmitter what it needs by load modulation: it switches a load on its coil so the transmitter sees changes in coil current or voltage. The packets are differential biphase coded at 2 kbit/s, each byte sent as an 11-bit character with start, parity and stop bits, and cover signal strength, configuration, control error (more or less power) and end power transfer. To decode Qi with a logic analyser, connect to the demodulated packet signal inside the transmitter or receiver, not to the coil.

UFCS Fast Charging

UFCS (Universal Fast Charging Specification) is a Chinese industry fast-charging protocol intended to unify phone makers' proprietary schemes. Charger and phone negotiate voltage and current over the USB cable's data lines. Acute lists a UFCS decoder on request. For USB Power Delivery, see our USB PD guide.

Common Faults and How to Find Them

SymptomLikely CauseWhat to Check
Pack shows 0% or unknownHost cannot read the gauge over HDQ or SMBusDecode the transactions and check the gauge answers each read
HDQ reads return garbageBreak too short or bit timing outside the gauge specMeasure the break and bit times against the gauge datasheet
Phone charges slowly on a Qi padControl error packets asking for less power, or poor coil alignmentDecode the packets and look at control error values over time
Fast charging never startsNegotiation fails and charger stays at 5 VDecode the negotiation on the data lines and find the failed step

Tools for Decoding Battery and Charging Links

Watch tools capture the single-wire or packet signals and decode registers and messages.

ProductRoleCapabilityPrice ex VAT
Acute TravelLogic 34-ChannelWatchAcute decoders for Qi, BSD and RT_SWI; SDQ and UFCS on request; HDQ listed without a download, so ask us to confirm availability£1,260
ZeroPlus LAP-C Pro SeriesWatchZeroPlus decoders for HDQ, SDQ, BMS and Qi£925

Designing a battery-powered product? Tell us the gauge and charger ICs and we will check decoder support.

Frequently Asked Questions

Is HDQ the Same as 1-Wire?

No. Both use one wire with a pull-up, but HDQ uses a break and command byte with its own bit timing. SDQ is closer to 1-Wire in style.

Can I Decode Qi From the Charging Coil?

Not directly with a logic analyser. Decode the demodulated packet signal inside the transmitter or receiver.

What Does a Fuel Gauge Decoder Show?

Register reads and writes by address, so you can see state of charge, voltage, current and temperature as the host reads them.

Is UFCS Related to USB Power Delivery?

They do the same job, negotiating higher charging power over USB, but UFCS is a separate Chinese industry standard with its own signalling.

More Protocols

By John Legg CEng, Director, Debug Store. Updated 24 November 2026.