From 2d0218ab5470e60ebf350c41832297a6f6f1f48d Mon Sep 17 00:00:00 2001 From: Marek128b Date: Sat, 13 Apr 2024 21:42:42 +0200 Subject: [PATCH] added sub commands to the documentation website --- documentation.html | 65 +++++++++++++++++++++++++++++++++++++++++++++- output.html | 22 ---------------- 2 files changed, 64 insertions(+), 23 deletions(-) delete mode 100644 output.html diff --git a/documentation.html b/documentation.html index 64e7ad9..0ece55b 100644 --- a/documentation.html +++ b/documentation.html @@ -61,7 +61,70 @@

Short Description

vehicles, renewable energy storage systems, and portable electronics.

simplified block diagram image + data-src="documents\img\BQ76942-diagram.drawio.svg"> +
+ + + + +
+
+

Functional Block Diagram

+ functional block diagram +
+
+
+ + +
+
+

Voltage Measurement

+

`Technical Reference Manual BQ76942 @ page 19`

+

The BQ76942 device integrates a voltage ADC that is multiplexed between measurements of cell + voltages, an internal temperature sensor, up to nine external thermistors, and also performs + measurements of the voltage at the VC10 pin, the PACK pin, the LD pin, the internal Vref used by the + coulomb counter, and the VSS rail (for diagnostic purposes). The BQ76942 device supports measurement + of individual differential cell voltages in a series configuration, ranging from 3 series cells to + 10 series cells. Each cell + voltage measurement is a differential measurement of the voltage between two adjacent cell input + pins, such as VC1–VC0, VC2–VC1, and so forth. The cell voltage measurements are processed based on + trim and calibration corrections, and + then reported in 16-bit resolution using units of 1 mV. The raw 24-bit digital output of the ADC is + also + available for readout using 32-bit subcommands (the 24-bit data is contained in the lower 3 bytes of + the + 32-bit data, and is sign-extended to create the upper byte). The cell voltage measurements can + support a + recommended voltage range from –0.2 V to 5.5 V. If a cell voltage is applied that exceeds a level of + 5 × + VREF1 (approximately 6.06 V), the device may report a value of –6.06 V (and the cell voltage raw + counts + similarly would report a value of -8388608). For best performance, stay at a maximum input of 5.5 V. + The + 16-bit cell and VC10 (stack), PACK, and LD pin voltage measurements are available by using the + commands + listed below.

+ voltage measurement diagram +
+
+
+ + +
+
+

Direct commands and sub commands

+

`Technical Reference Manual BQ76942 @ page 13`

+

The direct commands are accessed using a 7-bit command address that is sent from a host through the + device + serial communications interface and either triggers an action, provides a data value to be written + to the + device, or instructs the device to report data back to the host.

+

Subcommands are additional commands that are accessed indirectly using the 7-bit command address + space and + provide the capability for block data transfers. When a subcommand is initiated, a 16-bit

+

subcommand address is first written to the 7-bit command addresses 0x3E (lower byte) and 0x3F (upper + byte). +

diff --git a/output.html b/output.html deleted file mode 100644 index b812ffd..0000000 --- a/output.html +++ /dev/null @@ -1,22 +0,0 @@ -
-
-

BQ76942-pcbs-esp32

-

a repo that contains test PCBs and code for the BQ76942 chip.

- Easyeda - Project
- lol -

Buy Me A Coffee -

-
-
-
-
-
-

test123

-

this is very good content lol

- no image -
-
-
\ No newline at end of file