Tool/software:
Hi, I’m Luis.
I
I’m trying to read the Device ID (0x0001) from the BQ34Z100-R2 using the HDQ interface on STM32.
The control register address is 0x00.
However, I can’t find a clear explanation of the 2-byte write/read protocol in TI’s HDQ documentation.
Could you please confirm the correct sequence?
-
To read the Device ID value, should I write the following sequence?
-
Write Control register (0x00 | 0x80)
-
Write lower byte of Device ID (0x01 | 0x80)
-
Write upper byte of Device ID (0x00 | 0x80)
-
-
What is the correct 2-byte read sequence for this operation?
Should it be:
Write address → break → write(?) → read(?) → break → write(?) → read(?) ?