Oculus2: Inside the Battery...
The battery connector is the most annoying thing in my test setup - constantly having to plug and unplug a small connector for each modification is not only frustrating but also time-consuming, as there’s always a fear of damaging it. So, I had an idea to come up with some solution for a while and finally decided to see what was inside the battery.
Unfortunately, I already disconnected the extra flex cable in this photo, which goes into the battery pack. The cable is connected like this:
This tiny flex cable is ended up by the flex PCB with test/contact pads:
The purpose of pads is unknown to me - pads are not connected to pins on the connector. Let’s take the battery out of the case and look closer. The controller is on top of the battery and protected by a small plastic cover.
The controller looks like this:
I did the following modification - cut off the controller from the battery bank and soldered wires with connectors to separate parts.
The controller is covered by compounds that are very hard to remove (even with hot air), but I removed some compounds from the top of the elements and read the names of some of the ICs in the microscope.
Controller w/o top compounds in the microscopeICs in the microscope
# | Description |
---|---|
1 | Panasonic 7F0207 |
2 | Unknown |
3 | Unknown |
4 | Panasonic 7F0207 |
5 | 9N1H |
6 | Unknown |
7 | P1GV |
Unfortunately, IC #6 has just a gleaming surface on top without any name on it - I tried different angles with different lights but could not see any symbols in the microscope. I was not able to find datasheets for ICs :(
Battery test pins on the main PCB:
# | Description |
---|---|
1 | ID |
2 | VP+ |
3 | GND |
4 | P+ |
5 | TH |
6 | RB |
7 | C |
8 | D |
I soldered wires to test points on the main board and put them together into a small 8-pin connector for easy access to the battery lines.
# | Description |
---|---|
1 | P+ |
2 | P- |
3 | RB |
4 | VP+ |
5 | C |
6 | D |
7 | ID |
8 | TH |
I have zero experience with batteries in modern embedded devices, so the meaning of all these lines (except P+ and P-) is unclear to me. So I messed around with all these lines in the logic analyzer.
Some screenshots from Logic Analyzer, where I did some experiments.
Capture 1: USB cable is connected, battery controller is also connected, but the battery element is not: Dxx - digital lines; Axx - analog lines.
Capture 2: USB cable is connected, and the battery element is connected, but the battery controller is not:
Capture 3: USB cable is connected, and the battery element and controller are also connected (normal situation):
Capture 4: The battery is connected typically, and the Power button is pressed in the middle:
So, the system works only if the controller and the battery are both connected.
Also, based on observation, the RB(SMBCLK)/TH(SMBDAT) and C(SMBCLK)/D(SMBDAT) wires are SMBus/I2C lines.
The purpose of the pair RB/TH is unclear to me - “Byte 0x00 ACK” is the only thing transmitted via these lines. Is it something like “PING”? I do not know, and I would love to know more from someone familiar with it.
The pair C/D is Smart Battery protocol with some extra commands. More details can be found in “Smart Battery Data Specification” from http://sbs-forum.org/specs/ .
Smart Battery logs from Logic Analyzer
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
Write address 0x55 ACK Protocol=Read word
Command Current 0x0A
Read address 0x55 ACK Protocol=Read word
Word 0x8000 ACK
Write address 0x55 ACK Protocol=Read word
Command AtRateTimeToEmpty 0x06
Read address 0x55 ACK Protocol=Read word
Word 0x990B ACK
Write address 0x55 ACK Protocol=Read word
Command BatteryStatus 0x16
Read address 0x55 ACK Protocol=Read word
BatteryStatus 0xFFFF OVER CHARGED ALARM=1, TERMINATE CHARGE ALARM=1, OVER TEMP ALARM=1, TERMINATE DISCHARGE ALARM=1, REMAINING CAPACITY ALARM=1, REMAINING TIME ALARM=1, INITIALIZED=1, DISCHARGING=1, FULLY CHARGED=1, FULLY DISCHARGED=1, ErrorCode=UnknownError
Write address 0x55 ACK Protocol=Read word
Command DesignCapacity 0x18
Read address 0x55 ACK Protocol=Read word
Word 0x0905 ACK
Write address 0x55 ACK Protocol=Read word
Command AverageTimeToEmpty 0x12
Read address 0x55 ACK Protocol=Read word
Word 0x260E ACK
Write address 0x55 ACK Protocol=Read word
Command 0x2C
Read address 0x55 ACK Protocol=Read word
Word 0x0B00 ACK
Write address 0x55 ACK Protocol=Read word
Command Current 0x0A
Read address 0x55 ACK Protocol=Read word
Word 0x8000 ACK
Write address 0x55 ACK Protocol=Read word
Command 0x2A
Read address 0x55 ACK Protocol=Read word
Word 0x5400 ACK
Write address 0x55 ACK Protocol=Read word
Command DeviceChemistry 0x22
Read address 0x55 ACK Protocol=Read word
Word 0x3800 ACK
Write address 0x55 ACK Protocol=Read word
Command OptionalMfgFunction4 0x3C
Read address 0x55 ACK Protocol=Read word
Word 0x2E0E ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x60 ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x40 ACK
Byte 0x11 ACK
Byte 0x1A ACK
Byte 0x09 ACK
Byte 0xDF ACK
Byte 0x07 ACK
Byte 0x33 ACK
Byte 0xF5 ACK
Byte 0x72 ACK
Byte 0xF6 ACK
Byte 0x5C ACK
Byte 0xFC ACK
Byte 0x39 ACK
Byte 0xFA ACK
Byte 0x37 ACK
Byte 0xF9 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
0 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
Byte 0xFA NACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x62 ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0xFE ACK
Byte 0xAD ACK
Byte 0xC2 ACK
Byte 0x03 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
Byte 0x2D NACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x63 ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x3C ACK
Byte 0x00 ACK
Byte 0x53 ACK
Byte 0x00 ACK
Byte 0x36 ACK
Byte 0x00 ACK
Byte 0x54 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x11 ACK
Byte 0x08 ACK
Byte 0x00 ACK
Byte 0xFE ACK
Byte 0xAD ACK
Byte 0xC2 ACK
Byte 0x03 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
0 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
Byte 0xFA NACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x65 ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x2F ACK
Byte 0x5B ACK
Byte 0x02 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
0 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
Byte 0x0E NACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x66 ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x68 ACK
Byte 0xA6 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x28 ACK
Byte 0x7C ACK
Byte 0x08 ACK
Byte 0x00 ACK
Byte 0x7B ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x1E ACK
Byte 0x19 ACK
Byte 0x19 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
0 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
4 NACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x67 ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x06 ACK
Byte 0xD7 ACK
Byte 0xFE ACK
Byte 0x00 ACK
Byte 0xDF ACK
Byte 0x99 ACK
Byte 0x24 ACK
Byte 0x00 ACK
Byte 0x0D ACK
Byte 0x95 ACK
Byte 0x86 ACK
Byte 0x00 ACK
Byte 0x5C ACK
Byte 0xC8 ACK
Byte 0x24 ACK
Byte 0x01 ACK
Byte 0x08 ACK
Byte 0x45 ACK
Byte 0x35 ACK
Byte 0x00 ACK
Byte 0x22 ACK
Byte 0x7E ACK
Byte 0x1D ACK
Byte 0x00 ACK
Byte 0xB6 ACK
Byte 0xAE ACK
Byte 0x19 ACK
Byte 0x00 ACK
Byte 0x72 ACK
Byte 0xCF ACK
Byte 0x52 ACK
Byte 0x00 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
Byte 0x61 NACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x68 ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
0 ACK
Read address 0x55 ACK
Byte 0x19 ACK
Byte 0x0E ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0xF3 ACK
Byte 0x59 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x99 ACK
Byte 0xB7 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x1E ACK
Byte 0x00 ACK
Byte 0x01 ACK
Byte 0x00 ACK
Byte 0x7E ACK
Byte 0xFB ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x68 ACK
Byte 0x2F ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x86 ACK
Byte 0x26 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x49 ACK
Byte 0x1C ACK
Byte 0x00 ACK
Byte 0x00 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
Byte 0x94 NACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x69 ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x92 ACK
Byte 0x02 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x27 ACK
Byte 0x12 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x74 ACK
Byte 0xAD ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x2B ACK
Byte 0x7C ACK
Byte 0x01 ACK
Byte 0x00 ACK
Byte 0xF5 ACK
Byte 0x0F ACK
Byte 0x02 ACK
Byte 0x00 ACK
Byte 0x6B ACK
Byte 0x86 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x5C ACK
Byte 0x32 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0xCA ACK
Byte 0x1D ACK
Byte 0x00 ACK
0 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
Byte 0x94 NACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x6A ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0xCF ACK
Byte 0x04 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x97 ACK
Byte 0x0B ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0xDA ACK
Byte 0x26 ACK
Byte 0x01 ACK
Byte 0x00 ACK
Byte 0x07 ACK
Byte 0xC0 ACK
Byte 0x02 ACK
Byte 0x00 ACK
Byte 0x9A ACK
Byte 0x50 ACK
Byte 0x01 ACK
Byte 0x00 ACK
Byte 0xC8 ACK
Byte 0x6F ACK
Byte 0x01 ACK
Byte 0x00 ACK
Byte 0xFF ACK
Byte 0x9C ACK
Byte 0x00 ACK
0 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
Byte 0x98 NACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction2 0x3E
Byte 0x6B ACK
Write address 0x55 ACK Protocol=Write byte
Command OptionalMfgFunction1 0x3F
Byte 0x00 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 ACK
Byte 0x00 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x60
Read address 0x55 ACK Protocol=Read byte
Byte 0x94 NACK
Write address 0x55 ACK Protocol=Read word
Command Temperature 0x08
Read address 0x55 ACK Protocol=Read word
Word 0x7F0E ACK
Write address 0x55 ACK Protocol=Read word
Command MaxError 0x0C
Read address 0x55 ACK Protocol=Read word
Word 0xD9FF ACK
Write address 0x55 ACK Protocol=Read word
Command MaxError 0x0C
Read address 0x55 ACK Protocol=Read word
Word 0xD9FF ACK
Write address 0x55 ACK Protocol=Read word
Command 0x2E
Read address 0x55 ACK Protocol=Read word
Word 0x6200 ACK
Write address 0x55 ACK Protocol=Read word
Command 0x28
Read address 0x55 ACK Protocol=Read word
Word 0x8B0B ACK
Write address 0x55 ACK Protocol=Read word
Command FullChargeCapacity 0x10
Read address 0x55 ACK Protocol=Read word
Word 0x7B01 ACK
Write address 0x55 ACK Protocol=Write word
Command OptionalMfgFunction2 0x3E
Word 0x7000 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x31 ACK
Byte 0x30 ACK
Byte 0x30 ACK
Byte 0x31 ACK
Byte 0x43 ACK
Byte 0x5A ACK
Byte 0x30 ACK
Byte 0x34 ACK
Byte 0x39 ACK
Byte 0x37 ACK
Byte 0x59 ACK
Byte 0x30 ACK
Byte 0x33 ACK
Byte 0x30 ACK
Byte 0x36 ACK
Byte 0x37 ACK
Byte 0x33 ACK
Byte 0x44 ACK
Byte 0x53 ACK
Byte 0x30 ACK
Byte 0x30 ACK
Byte 0x33 ACK
Byte 0x30 ACK
Byte 0x35 ACK
Byte 0x31 ACK
Byte 0x31 ACK
Byte 0x30 ACK
Byte 0x47 ACK
Byte 0x4D ACK
Byte 0x51 ACK
Byte 0x41 ACK
5 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x61
Read address 0x55 ACK Protocol=Read byte
4 NACK
Write address 0x55 ACK Protocol=Read word
Command Temperature 0x08
Read address 0x55 ACK Protocol=Read word
Word 0x7F0E ACK
Write address 0x55 ACK Protocol=Read word
Command MaxError 0x0C
Read address 0x55 ACK Protocol=Read word
Word 0xD9FF ACK
Write address 0x55 ACK Protocol=Read word
Command MaxError 0x0C
Read address 0x55 ACK Protocol=Read word
Word 0xD9FF ACK
Write address 0x55 ACK Protocol=Read word
Command 0x2E
Read address 0x55 ACK Protocol=Read word
Word 0x6200 ACK
Write address 0x55 ACK Protocol=Read word
Command 0x28
Read address 0x55 ACK Protocol=Read word
Word 0x8B0B ACK
Write address 0x55 ACK Protocol=Read word
Command FullChargeCapacity 0x10
Read address 0x55 ACK Protocol=Read word
Word 0x7B01 ACK
Write address 0x55 ACK Protocol=Write word
Command OptionalMfgFunction2 0x3E
Word 0x7000 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x31 ACK
Byte 0x30 ACK
Byte 0x30 ACK
Byte 0x31 ACK
Byte 0x43 ACK
Byte 0x5A ACK
Byte 0x30 ACK
Byte 0x34 ACK
Byte 0x39 ACK
Byte 0x37 ACK
Byte 0x59 ACK
Byte 0x30 ACK
Byte 0x33 ACK
Byte 0x30 ACK
Byte 0x36 ACK
Byte 0x37 ACK
Byte 0x33 ACK
Byte 0x44 ACK
Byte 0x53 ACK
Byte 0x30 ACK
Byte 0x30 ACK
Byte 0x33 ACK
Byte 0x30 ACK
Byte 0x35 ACK
Byte 0x31 ACK
Byte 0x31 ACK
Byte 0x30 ACK
Byte 0x47 ACK
Byte 0x4D ACK
Byte 0x51 ACK
Byte 0x41 ACK
5 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x61
Read address 0x55 ACK Protocol=Read byte
4 NACK
Write address 0x55 ACK Protocol=Read word
Command Temperature 0x08
Read address 0x55 ACK Protocol=Read word
Word 0x830E ACK
Write address 0x55 ACK Protocol=Read word
Command MaxError 0x0C
Read address 0x55 ACK Protocol=Read word
Word 0xACFE ACK
Write address 0x55 ACK Protocol=Read word
Command MaxError 0x0C
Read address 0x55 ACK Protocol=Read word
Word 0xACFE ACK
Write address 0x55 ACK Protocol=Read word
Command 0x2E
Read address 0x55 ACK Protocol=Read word
Word 0x6200 ACK
Write address 0x55 ACK Protocol=Read word
Command 0x28
Read address 0x55 ACK Protocol=Read word
Word 0x8B0B ACK
Write address 0x55 ACK Protocol=Read word
Command FullChargeCapacity 0x10
Read address 0x55 ACK Protocol=Read word
Word 0x7B01 ACK
Write address 0x55 ACK Protocol=Write word
Command OptionalMfgFunction2 0x3E
Word 0x7000 ACK
Write address 0x55 ACK
Byte 0x40 ACK
Read address 0x55 ACK
Byte 0x31 ACK
Byte 0x30 ACK
Byte 0x30 ACK
Byte 0x31 ACK
Byte 0x43 ACK
Byte 0x5A ACK
Byte 0x30 ACK
Byte 0x34 ACK
Byte 0x39 ACK
Byte 0x37 ACK
Byte 0x59 ACK
Byte 0x30 ACK
Byte 0x33 ACK
Byte 0x30 ACK
Byte 0x36 ACK
Byte 0x37 ACK
Byte 0x33 ACK
Byte 0x44 ACK
Byte 0x53 ACK
Byte 0x30 ACK
Byte 0x30 ACK
Byte 0x33 ACK
Byte 0x30 ACK
Byte 0x35 ACK
Byte 0x31 ACK
Byte 0x31 ACK
Byte 0x30 ACK
Byte 0x47 ACK
Byte 0x4D ACK
Byte 0x51 ACK
Byte 0x41 ACK
Byte 0x35 NACK
Write address 0x55 ACK Protocol=Read byte
Command 0x61
Read address 0x55 ACK Protocol=Read byte
Byte 0x24 NACK
Summary of the Battery pins
Name | Description |
---|---|
P+ | Battery Positive |
P- | Battery Negative |
RB | SMBCLK |
VP+ | |
C | SMBCLK (Smart Battery) |
D | SMBDAT (Smart Battery)ID???THSMBDAT |
TODO
The idea for a future project:
- write/create a fake(emulator) battery for Oculus. The most interesting part is the “Smart Battery” communication because it looks like readings are made after bootloaders, and it would be interesting to do some fuzzing(why not :) ), or in general, it can be interesting.
- Dive into the battery firmware. Min goal - get more info about it.