File size: 7,065 Bytes
b24351f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
  "ticketNumber" : "886270",
  "reporterName" : "Iurii Hlotov",
  "rankPoints" : "190",
  "resolutionStatus" : "TI Thinks Resolved",
  "ticketName" : "BQ35100: BQ35100",
  "rankName" : "Prodigy",
  "replies" : " 31",
  "views" : " 176",
  "queryText" : "Part Number: BQ35100 Hi, There is a customed board with BQ35100 and MCU. I setup BQ35100 in EOS mode (reg. 0x41b1), and modified R Data Seconds (reg. 0x4255) setup 1 second. To get data (voltage, current, temperature) the following sequence is used: 1. Enable BQ; 2. Start BQ (send start command); 3. Read data(voltage or current or temperature); 4. Stop BQ (send stop command); 5. wait for timeout specified in R Data Seconds (expected 1 s) wait until G_DONE bit is set; 6. Disable BQ; The problem is that actually it takes about 4 min (instead of expected 1 s) to wait G_DONE is set. Do I need to send some other command to activate the setting? thanks",
  "partNumber" : " BQ35100",
  "allResponseList" : [ {
    "contentId" : "3277783",
    "userName" : "Kang Kang",
    "rankPoints" : "17055",
    "rankName" : "Genius",
    "date" : "Mar 6, 2020 3:20 AM",
    "userId" : "3528441",
    "content" : "I've pinged the device expert, please expect a response within two business days."
  }, {
    "contentId" : "3277834",
    "userName" : "Eric Vos24",
    "rankPoints" : "3585",
    "rankName" : "Expert",
    "date" : "Mar 6, 2020 4:15 AM",
    "userId" : "3440231",
    "content" : "Lurii, I have not seen this and programmed a value of 1 myself to test. Are you sure the gauge is receiving the [Gauge Stop] command? The [GA] bit should clear if so. I also don't recommend a value of 1 second. the gauge needs time to fill in the voltage sampling buffer to accurately calculate the measuredZ. Thanks, Eric Vos"
  }, {
    "contentId" : "3277982",
    "userName" : "Iurii Hlotov",
    "rankPoints" : "190",
    "rankName" : "Prodigy",
    "date" : "Mar 6, 2020 8:10 AM",
    "userId" : "6278035",
    "content" : "Thanks for reply. Regarding \"the gauge is receiving Stop command\" i'm not sure, i need to verify this with logic analyzer. 1. As far as, I get it the GA bit should be cleared after Stop command is received properly (correct me if I'm wrong). So, should I check GA bit instead of G_DONE in the Control_Status? What is the purpose of G_DONE bit? 2. What is the minimum value of R data seconds reg. to get accurate value of voltage, current and temperature? This is quite weird behavior, because at the first i used the default value of R Data Seconds (15 sec) and the following sequence: - enable BQ; - start BQ (send command and wait until bit GA is set); - stop BQ (send command and wait until bit G_DONE is set); - read data form BQ; - disable BQ; In this case it takes around 15 sec. to read data from BQ (as expected according to datasheet). Then I tried to reduce R Data Seconds to less value (1 sec, 5 sec, 10 sec), but instead of reducing response time it takes unexpected ~4 min to read data (to wait until G_DONE is set). Perhaps the right sequence should be the following: - enable BQ; - start BQ (send command and wait until bit GA is set); - stop BQ (send command and wait until bit GA is clear); - read data (); - disable BQ; Please, provide me a feedback. Thanks."
  }, {
    "contentId" : "3278409",
    "userName" : "Eric Vos24",
    "rankPoints" : "3585",
    "rankName" : "Expert",
    "date" : "Mar 6, 2020 3:16 PM",
    "userId" : "3440231",
    "content" : "1) yes sending Gauge_Stop should set GA =0 if it was received properly by the gauge. 2) The minimum we recommend is 15Sec which is why it is our default. If it needs to be lower testing should be done on your side to make sure results are consistent. Both procedures should work, but since measuredZ and SOH are updated after GDone. I would follow - enable BQ; - start BQ (send command and wait until bit GA is set); - stop BQ (send command and verify bit GA is clear); -Wait until GDONE = 1 - read data (); - disable BQ;"
  }, {
    "contentId" : "3278864",
    "userName" : "Iurii Hlotov",
    "rankPoints" : "190",
    "rankName" : "Prodigy",
    "date" : "Mar 6, 2020 9:26 PM",
    "userId" : "6278035",
    "content" : "hi, followed the recommendation of Eric Vos24 and figured out that after sending STOP command the [GA] bit is still set and furthermore waiting for bit [G_DONE] to be set never happens (it is 0 for a very long time). It seems that there is a problem with STOP command. I tried to set R Data Seconds reg. to different values (1 sec, 5 sec, 15 sec), but the result is the same (wait bit [G_DONE] set for a very long time). What might be the problem with STOP command (other command seems to work properly)?"
  }, {
    "contentId" : "3280588",
    "userName" : "Kang Kang",
    "rankPoints" : "17055",
    "rankName" : "Genius",
    "date" : "Mar 9, 2020 9:44 PM",
    "userId" : "3528441",
    "content" : "Hello Iurii, Can you wait for a while longer prior to sending STOP? Say 2 more seconds?"
  }, {
    "contentId" : "3281096",
    "userName" : "Iurii Hlotov",
    "rankPoints" : "190",
    "rankName" : "Prodigy",
    "date" : "Mar 10, 2020 9:45 AM",
    "userId" : "6278035",
    "content" : "Hi, yes I tried this, but result is the same (bit GA is still set after STOP command has been sent). After START has been sent MCU waits for [GA] bit is set (first line on the Logic analyzer log: 0x81) then MCU wait for 2000 ms and sends STOP command (0x12 line 5), then MCU check [GA] bit, but it is still 1 (last but one line 0x81)"
  }, {
    "contentId" : "3281098",
    "userName" : "Iurii Hlotov",
    "rankPoints" : "190",
    "rankName" : "Prodigy",
    "date" : "Mar 10, 2020 9:45 AM",
    "userId" : "6278035",
    "content" : "Hi, yes I tried this, but result is the same (bit GA is still set after STOP command has been sent). After START has been sent MCU waits for [GA] bit is set (first line on the Logic analyzer log: 0x81) then MCU wait for 2000 ms and sends STOP command (0x12 line 5), then MCU check [GA] bit, but it is still 1 (last but one line 0x81)"
  }, {
    "contentId" : "3281101",
    "userName" : "Iurii Hlotov",
    "rankPoints" : "190",
    "rankName" : "Prodigy",
    "date" : "Mar 10, 2020 9:49 AM",
    "userId" : "6278035",
    "content" : "Hi, yes I tried this, but result is the same (bit GA is still set after STOP command has been sent). After START has been sent MCU waits for [GA] bit is set (first line on the Logic analyzer log: 0x81) then MCU wait for 2000 ms and sends STOP command (0x12 line 5), then MCU check [GA] bit, but it is still 1 (last but one line 0x81)"
  }, {
    "contentId" : "3282079",
    "userName" : "Kang Kang",
    "rankPoints" : "17055",
    "rankName" : "Genius",
    "date" : "Mar 11, 2020 1:06 AM",
    "userId" : "3528441",
    "content" : "It most likely might be that your voltage is not stable yet. Can you provide us a bqStudio log file?"
  } ],
  "tags" : [ "/support/power-management/f/196/tags/BQ35100", "/support/power-management/f/196/tags/BQ35100%2bEOS%2bmode%2bR%2bData%2bSeconds" ],
  "fourmType" : "TI"
}