Spaces:

arjun.a
commit
b24351f
raw
history blame
7.77 kB
{
"ticketNumber" : "890514",
"reporterName" : "Tejasweeni Zope",
"rankPoints" : "90",
"resolutionStatus" : "TI Thinks Resolved",
"ticketName" : "BQ34110: initial steps to start communication with MCU",
"rankName" : "Prodigy",
"replies" : " 16",
"views" : " 93",
"queryText" : "Part Number: BQ34110 I am using BQ34110 ic for two LI-ion batteries. I am not getting any data for the commands such as DeviceType() , DeviceName() etc registers. Is there any configuration settings to be done before this. It would be helpful if I get complete step by step procedure to interface it as I wanted to have voltage, current , SOH, SOC information regarding my batteries.",
"partNumber" : " BQ34110",
"allResponseList" : [ {
"contentId" : "3292675",
"userName" : "Andy Liu (BMS)",
"rankPoints" : "42410",
"rankName" : "Mastermind",
"date" : "Mar 20, 2020 3:05 PM",
"userId" : "1864278",
"content" : "I would suggest you take a look at the app note below. <secret URL>/lit/an/slua790/slua790.pdf Andy"
}, {
"contentId" : "3293637",
"userName" : "Tejasweeni Zope",
"rankPoints" : "90",
"rankName" : "Prodigy",
"date" : "Mar 23, 2020 5:04 AM",
"userId" : "6306374",
"content" : "Thank you for quick reply. When I am trying to read DeviceType() data,it is showing only 0000 values than 0110. Can you send the implementation function of atleast single control command on stm32 micro controller ?"
}, {
"contentId" : "3294389",
"userName" : "Andy Liu (BMS)",
"rankPoints" : "42410",
"rankName" : "Mastermind",
"date" : "Mar 23, 2020 5:01 PM",
"userId" : "1864278",
"content" : "Sorry, we don't provide the code. I would suggest you use the bqStudio to communicate with the gauge device, capture the sequence using a logic analyzer and implement the same sequence in your microcontroller. Andy"
}, {
"contentId" : "3298261",
"userName" : "Tejasweeni Zope",
"rankPoints" : "90",
"rankName" : "Prodigy",
"date" : "Mar 26, 2020 5:08 PM",
"userId" : "6306374",
"content" : "Can I get the flowchart or any algorithm to get at least DeviceType() or DeviceName()? I had made successful communication with bq34110 ic but when i was trying to get DeviceType() , the responce should be 0x1001 in little endien format, but I don't get response like that. Also, I am confused that when I send 0X01 data to 0x00 control register address and 0x00 data to 0x01 control register address, I should get its respective DeviceType() response at 0x40 /0x41 address. Please correct me if I am wrong. This is the sequence I am following in my implementation."
}, {
"contentId" : "3298481",
"userName" : "Andy Liu (BMS)",
"rankPoints" : "42410",
"rankName" : "Mastermind",
"date" : "Mar 26, 2020 8:36 PM",
"userId" : "1864278",
"content" : "We already provided all the details in the app note I provided before. Make sure you read through that app note and make good of the Advanced Coom tab to test the sequence. To get the right response for the DeviceType() MAC Subcommand, follow the steps below. ENTER: Start Register 3E, Bytes to Write 0100 and PRESS the Write button. The I2C words occur in the following order in the data stream: AA, 3E, 01, 00. ENTER: Start Register 40, Number of Bytes to Read 2 and PRESS the Read button. The I2C words occur in the following order in the data stream: AA, 40, AB, 10, 01"
}, {
"contentId" : "3303799",
"userName" : "Tejasweeni Zope",
"rankPoints" : "90",
"rankName" : "Prodigy",
"date" : "Apr 1, 2020 4:35 PM",
"userId" : "6306374",
"content" : "Hi Andy I followed steps given by you and got response as expected 0x0110 but when I tried for another sub command that is device name response is 00 D4 0B A9 0B FF FF in hex format and C C C C C C C in char format can u tell what is exactly missing here? also I dont have BQstudio with me . I am doing all my interfacing using i2c communication. Can I get default response values when perticular subcommand is used to cross check weather we are getting correct response or not"
}, {
"contentId" : "3304099",
"userName" : "Andy Liu (BMS)",
"rankPoints" : "42410",
"rankName" : "Mastermind",
"date" : "Apr 1, 2020 8:54 PM",
"userId" : "1864278",
"content" : "I can read back the correct device name in the bqStudio, which is the same as the ASCII characters mentioned in the TRM. You would need to check your code."
}, {
"contentId" : "3304530",
"userName" : "Tejasweeni Zope",
"rankPoints" : "90",
"rankName" : "Prodigy",
"date" : "Apr 2, 2020 7:01 AM",
"userId" : "6306374",
"content" : "Hi Andy I will again check it considering your suggestions. I have some basic queries which are not cleared through TRM 1. Can we access consecutive sub commands one after other in a sequence? If yes then is there any delay to be added in between? 2. Is it mandatory to perform factory calibration before accessing any sub command also? I understood that it is important for voltage ,current , temp, SOH etc commands. 3. Without doing any setting what is default state of ic (sealed or unsealed) and mode (normal, snooze, shutdown) ? 4. How to check default configuration status in IC before writing for any command? Thanks in advance."
}, {
"contentId" : "3305154",
"userName" : "Andy Liu (BMS)",
"rankPoints" : "42410",
"rankName" : "Mastermind",
"date" : "Apr 2, 2020 4:37 PM",
"userId" : "1864278",
"content" : "See my comments below. 1. Can we access consecutive sub commands one after other in a sequence? If yes then is there any delay to be added in between? [Andy] Yes. I would suggest you add a short delay (e.g. 3ms). 2. Is it mandatory to perform factory calibration before accessing any sub command also? I understood that it is important for voltage ,current , temp, SOH etc commands. [Andy] No. However, if you want the voltage, current or temperature readings to be accurate. I would suggest you do the calibration first. 3. Without doing any setting what is default state of ic (sealed or unsealed) and mode (normal, snooze, shutdown) ? 4. How to check default configuration status in IC before writing for any command? [Andy] I would suggest you get an EV2400 and use bqStudio to check the default configurations. With the proper tool and software, it is much easier to work the gauge device. Andy"
}, {
"contentId" : "3316538",
"userName" : "Tejasweeni Zope",
"rankPoints" : "90",
"rankName" : "Prodigy",
"date" : "Apr 15, 2020 11:30 AM",
"userId" : "6306374",
"content" : "Hello Andy, Thank you . Your suggestions was very helpful. With that reference, Can you help me more in things as bq34110 I2C note don't have that details: 1. I had evaluated default values of Pin control, Operation config A and design capacity registers as per guidelines. And now I wanted to change its values as per my design. I had followed following sequence: ------- calibration start ------- Data Flash Access Commands to Change the Pin control register as per bq34110 I2C note. ------- calibration end I wanted to check weather the new value is stored accurately or not, What sequence should I follow ? 2. What I learnt from TRM is that factory calibration is necessary to read voltage value, Do I need to set Pin control, Operation config A and design capacity etc before Board Offset, temp, voltage, current calibration? 3. Minimum which registers and parameters required to get at least voltage reading? If possible, please recommend page number of document where all these details are mentioned. Thanks in Advance."
} ],
"tags" : [ "/support/power-management/f/196/tags/BQ34110" ],
"fourmType" : "TI"
}