vladimir_orl 0 4 марта, 2015 Опубликовано 4 марта, 2015 · Жалоба Здравствуйте. Разбираюсь с микросхемой контроля заряда BQ34Z100. Она общается с МК по I2C. В даташите на неё написано следующее: STANDARD DATA COMMANDS The bq34z100 uses a series of 2-byte standard commands to enable host reading and writing of battery information. Each standard command has an associated command-code pair, as indicated in Table 2. Because each command consists of two bytes of data, two consecutive HDQ/I 2 C transmissions must be executed both to initiate the command function and to read or write the corresponding two bytes of data. Standard commands are accessible in NORMAL operation. Also, two block commands are available to read Manufacturer Name and Device Chemistry. Read/Write permissions depend on the active access mode. Пока что смог посмотреть только текущее напряжение. И то командой 0х0809 выдаётся напряжение в сотнях мВ. Командой 0х0707 выдаются милливольты (младший байт). Если кто работал с ней, подскажите. На инофорумах как-то всё расплывчато. STANDARD DATA COMMANDS The bq34z100 uses a series of 2-byte standard commands to enable host reading and writing of battery information. Each standard command has an associated command-code pair, as indicated in Table 2. Because each command consists of two bytes of data, two consecutive HDQ/I2C transmissions must be executed both to initiate the command function and to read or write the corresponding two bytes of data. Standard commands are accessible in NORMAL operation. Also, two block commands are available to read Manufacturer Name and Device Chemistry. Read/Write permissions depend on the active access mode. Цитата Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты Поделиться