This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ79616-Q1: VCB_DONE_THRESH

Part Number: BQ79616-Q1
Other Parts Discussed in Thread: BQ79616, USB2ANY

I am using auto cell balancing. I have a 11 cell battery module as the cell voltage source. All cells measure about the same voltage, in the ballpark of 3.37V. I have a BQ79600 EVM and a custom BQ79616, and a BQ GUI/USB2ANY.

I have attached the BQ GUI settings in the two pictures. I first run the OVUV protector. I have set UV as 2.7V, OV as 4.2V. I can click on VCBDONE but where do I enter a threshold for VCBDONE? I am able to set balance timers and auto cell balancing finishes based on the timers.

In the BQ firmware, I am following the sequence recommended by the datasheet to start cell balancing. I find that cell balancing runs (using a real battery module) only if I don't program the VCB_DONE threshold register. If I have this programmed, cell balancing comes to an stop right away, balstat reads 0x01. Why is this? 

Previously, I was manually checking cell balancing with a cell simulator. I set one cell to 3.6V, the rest to 3.5V. I set VCB_DONE_THRESH= 3.5V. Manually I reduced the voltage of 3.6V to 3.5V and confirmed that a breakpoint halts in the firmware to show cell balancing is complete.

I need to understand if it is possible to use VCB_DONE_THRESH with auto cell balancing.

          vcbDoneThresh = findVcbThresh(voltageBalanceTarget);
            //SET BALANCING TIMERS TO 10 s
            SpiWriteReg(0, CB_CELL16_CTRL, balTimers16, 8, FRMWRT_ALL_W);   //cell 16-9 (8 byte max write)
            SpiWriteReg(0, CB_CELL8_CTRL, balTimers8, 8, FRMWRT_ALL_W);    //cell 8-1

            //SET DUTY CYCLE TO 5 s
            SpiWriteReg(0, BAL_CTRL1, CELL_BALANCE_DUTY_CYCLE, 1, FRMWRT_ALL_W);                      //5s duty cycle

//            SpiWriteReg(0, VCB_DONE_THRESH, vcbDoneThresh, 1, FRMWRT_ALL_W);       //For APM2 Murata cell, BMS will not send cell balancing command if min cell voltage measures below 3.25V
                                                                                   //what is the equivalent CB start voltage for CATL?
            SpiWriteReg(0, OTCB_THRESH, OTCB_THRESH_VAL, 1, FRMWRT_ALL_W);         //pause CB threshold, for Vishay this is 72C; cooloff 4%, CB resumes; for Vishay, this is 69C

            SpiWriteReg(0, OVUV_CTRL, OVUV_CTRL_VAL, 1, FRMWRT_ALL_W);                      //round-robin and OVUV_GO
            SpiWriteReg(0, OTUT_CTRL, OTUT_CTRL_VAL, 1, FRMWRT_ALL_W);                      //round-robin and OTUT_GO

            //START BALANCING
            SpiWriteReg(0, BAL_CTRL2, BAL_CTRL2_VAL, 1, FRMWRT_ALL_W);                      //OTCB_EN, auto balance and BAL_GO

  • Hi Priya,

    We will get back to you shortly.

    Regards,

    Taylor

  • Hi Priya,

    You can configure the VCB_DONE_THRESH in 'Register map' page in GUI.

    In the firmware you shared, I don't see you are configuring OV_THRESH or UV_THRESH registers, can you please try writing these threshold values from your firmware, also can you please share what value u are writing to VCB_DONE_THRESH. If you can share the logic analyzer logs with the sequence of commands you are sending ( including cell voltages values before and after cell balancing ), it will be helpful.

    Thanks,

    Ravi

  • The registers are being setup as programmed. I am setting values for UV/OV thresh soon after auto addressing. Logs, pictures are attached. I don't yet understand why cell balancing halts right away if I use the VCB_DONE_THRESH in my BQ firmware. I will go back to the GUI to see what I find.

    Id,Time[ns],0:SPI: MOSI data
    0,56393300.00000000000000000000,90
    1,56404050.00000000000000000000,00
    2,56414550.00000000000000000000,03
    3,56425050.00000000000000000000,09
    4,56435800.00000000000000000000,20
    5,56446300.00000000000000000000,13
    6,56456800.00000000000000000000,95
    7,79798650.00000000000000000000,B0
    8,79809400.00000000000000000000,03
    9,79820150.00000000000000000000,43
    10,79830650.00000000000000000000,00
    11,79841150.00000000000000000000,E7
    12,79851900.00000000000000000000,D4
    13,79992650.00000000000000000000,B0
    14,80003400.00000000000000000000,03
    15,80013900.00000000000000000000,44
    16,80024400.00000000000000000000,00
    17,80035150.00000000000000000000,E5
    18,80045650.00000000000000000000,E4
    19,80186150.00000000000000000000,B0
    20,80196650.00000000000000000000,03
    21,80207400.00000000000000000000,45
    22,80217900.00000000000000000000,00
    23,80228400.00000000000000000000,E4
    24,80239150.00000000000000000000,74
    25,80379900.00000000000000000000,B0
    26,80390650.00000000000000000000,03
    27,80401150.00000000000000000000,46
    28,80411650.00000000000000000000,00
    29,80422400.00000000000000000000,E4
    30,80432900.00000000000000000000,84
    31,80573400.00000000000000000000,B0
    32,80583900.00000000000000000000,03
    33,80594650.00000000000000000000,47
    34,80605150.00000000000000000000,00
    35,80615650.00000000000000000000,E5
    36,80626400.00000000000000000000,14
    37,80767150.00000000000000000000,B0
    38,80777900.00000000000000000000,03
    39,80788400.00000000000000000000,48
    40,80798900.00000000000000000000,00
    41,80809650.00000000000000000000,E0
    42,80820150.00000000000000000000,E4
    43,80960650.00000000000000000000,B0
    44,80971150.00000000000000000000,03
    45,80981900.00000000000000000000,49
    46,80992400.00000000000000000000,00
    47,81002900.00000000000000000000,E1
    48,81013650.00000000000000000000,74
    49,81154400.00000000000000000000,B0
    50,81165150.00000000000000000000,03
    51,81175650.00000000000000000000,4A
    52,81186150.00000000000000000000,00
    53,81196900.00000000000000000000,E1
    54,81207400.00000000000000000000,84
    55,81347900.00000000000000000000,D0
    56,81358400.00000000000000000000,03
    57,81369150.00000000000000000000,09
    58,81379650.00000000000000000000,01
    59,81390150.00000000000000000000,0F
    60,81400900.00000000000000000000,74
    61,81542900.00000000000000000000,D0
    62,81553400.00000000000000000000,03
    63,81563900.00000000000000000000,06
    64,81574650.00000000000000000000,00
    65,81585150.00000000000000000000,CB
    66,81595650.00000000000000000000,44
    67,81737400.00000000000000000000,D0
    68,81747900.00000000000000000000,03
    69,81758700.00000000000000000000,06
    70,81769200.00000000000000000000,01
    71,81779700.00000000000000000000,0A
    72,81790400.00000000000000000000,84
    73,81931950.00000000000000000000,D0
    74,81942700.00000000000000000000,03
    75,81953450.00000000000000000000,08
    76,81963950.00000000000000000000,02
    77,81974450.00000000000000000000,4E
    78,81985200.00000000000000000000,E5
    79,82132950.00000000000000000000,90
    80,82143700.00000000000000000000,01
    81,82154200.00000000000000000000,03
    82,82164700.00000000000000000000,08
    83,82175450.00000000000000000000,03
    84,82185950.00000000000000000000,52
    85,82196450.00000000000000000000,20
    86,82324200.00000000000000000000,A0
    87,82334950.00000000000000000000,03
    88,82345450.00000000000000000000,43
    89,82355950.00000000000000000000,00
    90,82366700.00000000000000000000,E3
    91,82377200.00000000000000000000,14
    92,83012200.00000000000000000000,FF
    93,83023450.00000000000000000000,FF
    94,83034700.00000000000000000000,FF
    95,83045950.00000000000000000000,FF
    96,83057200.00000000000000000000,FF
    97,83068450.00000000000000000000,FF
    98,83079700.00000000000000000000,FF
    99,83210200.00000000000000000000,A0
    100,83220950.00000000000000000000,03
    101,83231700.00000000000000000000,44
    102,83242200.00000000000000000000,00
    103,83252700.00000000000000000000,E1
    104,83263450.00000000000000000000,24
    105,83898700.00000000000000000000,FF
    106,83910200.00000000000000000000,FF
    107,83921700.00000000000000000000,FF
    108,83932950.00000000000000000000,FF
    109,83944200.00000000000000000000,FF
    110,83955450.00000000000000000000,FF
    111,83966700.00000000000000000000,FF
    112,84097200.00000000000000000000,A0
    113,84107700.00000000000000000000,03
    114,84118450.00000000000000000000,45
    115,84128950.00000000000000000000,00
    116,84139450.00000000000000000000,E0
    117,84150200.00000000000000000000,B4
    118,84785450.00000000000000000000,FF
    119,84796950.00000000000000000000,FF
    120,84808450.00000000000000000000,FF
    121,84819700.00000000000000000000,FF
    122,84830950.00000000000000000000,FF
    123,84842200.00000000000000000000,FF
    124,84853450.00000000000000000000,FF
    125,84983950.00000000000000000000,A0
    126,84994450.00000000000000000000,03
    127,85005200.00000000000000000000,46
    128,85015700.00000000000000000000,00
    129,85026200.00000000000000000000,E0
    130,85037000.00000000000000000000,44
    131,85672250.00000000000000000000,FF
    132,85683750.00000000000000000000,FF
    133,85695250.00000000000000000000,FF
    134,85706500.00000000000000000000,FF
    135,85717750.00000000000000000000,FF
    136,85729000.00000000000000000000,FF
    137,85740250.00000000000000000000,FF
    138,85870750.00000000000000000000,A0
    139,85881250.00000000000000000000,03
    140,85892000.00000000000000000000,47
    141,85902500.00000000000000000000,00
    142,85913000.00000000000000000000,E1
    143,85923750.00000000000000000000,D4
    144,86559000.00000000000000000000,FF
    145,86570500.00000000000000000000,FF
    146,86582000.00000000000000000000,FF
    147,86593250.00000000000000000000,FF
    148,86604500.00000000000000000000,FF
    149,86615750.00000000000000000000,FF
    150,86627000.00000000000000000000,FF
    151,86757500.00000000000000000000,A0
    152,86768250.00000000000000000000,03
    153,86779000.00000000000000000000,48
    154,86789500.00000000000000000000,00
    155,86800000.00000000000000000000,E4
    156,86810750.00000000000000000000,24
    157,87446000.00000000000000000000,FF
    158,87457500.00000000000000000000,FF
    159,87469000.00000000000000000000,FF
    160,87480250.00000000000000000000,FF
    161,87491500.00000000000000000000,FF
    162,87502750.00000000000000000000,FF
    163,87514000.00000000000000000000,FF
    164,87644500.00000000000000000000,A0
    165,87655000.00000000000000000000,03
    166,87665750.00000000000000000000,49
    167,87676250.00000000000000000000,00
    168,87686750.00000000000000000000,E5
    169,87697500.00000000000000000000,B4
    170,88332750.00000000000000000000,FF
    171,88344250.00000000000000000000,FF
    172,88355750.00000000000000000000,FF
    173,88367000.00000000000000000000,FF
    174,88378300.00000000000000000000,FF
    175,88389500.00000000000000000000,FF
    176,88400800.00000000000000000000,FF
    177,88531300.00000000000000000000,A0
    178,88541800.00000000000000000000,03
    179,88552550.00000000000000000000,4A
    180,88563050.00000000000000000000,00
    181,88573550.00000000000000000000,E5
    182,88584300.00000000000000000000,44
    183,89219550.00000000000000000000,FF
    184,89231050.00000000000000000000,FF
    185,89242550.00000000000000000000,FF
    186,89253800.00000000000000000000,FF
    187,89265050.00000000000000000000,FF
    188,89276300.00000000000000000000,FF
    189,89287550.00000000000000000000,FF
    190,89425300.00000000000000000000,80
    191,89435800.00000000000000000000,00
    192,89446550.00000000000000000000,03
    193,89457050.00000000000000000000,06
    194,89467550.00000000000000000000,00
    195,89478300.00000000000000000000,D6
    196,89488800.00000000000000000000,7E
    197,90120550.00000000000000000000,FF
    198,90132050.00000000000000000000,FF
    199,90143300.00000000000000000000,FF
    200,90154550.00000000000000000000,FF
    201,90165800.00000000000000000000,FF
    202,90177050.00000000000000000000,FF
    203,90188300.00000000000000000000,FF
    204,90323800.00000000000000000000,80
    205,90334550.00000000000000000000,01
    206,90345050.00000000000000000000,03
    207,90355550.00000000000000000000,06
    208,90366300.00000000000000000000,00
    209,90376800.00000000000000000000,D7
    210,90387300.00000000000000000000,82
    211,91019300.00000000000000000000,FF
    212,91030800.00000000000000000000,FF
    213,91042300.00000000000000000000,FF
    214,91053550.00000000000000000000,FF
    215,91064800.00000000000000000000,FF
    216,91076050.00000000000000000000,FF
    217,91087300.00000000000000000000,FF
    218,91222550.00000000000000000000,80
    219,91233050.00000000000000000000,00
    220,91243800.00000000000000000000,20
    221,91254300.00000000000000000000,01
    222,91264800.00000000000000000000,00
    223,91275550.00000000000000000000,25
    224,91286050.00000000000000000000,84
    225,91917850.00000000000000000000,FF
    226,91929350.00000000000000000000,FF
    227,91940600.00000000000000000000,FF
    228,91951850.00000000000000000000,FF
    229,91963100.00000000000000000000,FF
    230,91974350.00000000000000000000,FF
    231,91985600.00000000000000000000,FF
    232,92128850.00000000000000000000,B0
    233,92139350.00000000000000000000,03
    234,92150100.00000000000000000000,31
    235,92160600.00000000000000000000,FF
    236,92171100.00000000000000000000,83
    237,92181850.00000000000000000000,34
    238,92322600.00000000000000000000,B0
    239,92333350.00000000000000000000,03
    240,92344100.00000000000000000000,32
    241,92354600.00000000000000000000,FF
    242,92365100.00000000000000000000,83
    243,92375850.00000000000000000000,C4
    244,92523350.00000000000000000000,90
    245,92534100.00000000000000000000,00
    246,92544850.00000000000000000000,20
    247,92555350.00000000000000000000,30
    248,92565850.00000000000000000000,22
    249,92576600.00000000000000000000,71
    250,92587100.00000000000000000000,CE
    251,92727600.00000000000000000000,B0
    252,92738100.00000000000000000000,00
    253,92748850.00000000000000000000,17
    254,92759350.00000000000000000000,01
    255,92769850.00000000000000000000,E8
    256,92780600.00000000000000000000,D4
    257,92921350.00000000000000000000,B0
    258,92932100.00000000000000000000,03
    259,92942600.00000000000000000000,0A
    260,92953100.00000000000000000000,01
    261,92963850.00000000000000000000,11
    262,92974350.00000000000000000000,84
    263,93495100.00000000000000000000,B0
    264,93505600.00000000000000000000,00
    265,93516350.00000000000000000000,0E
    266,93526850.00000000000000000000,09
    267,93537350.00000000000000000000,E2
    268,93548100.00000000000000000000,82
    269,93688850.00000000000000000000,B0
    270,93699600.00000000000000000000,00
    271,93710350.00000000000000000000,0F
    272,93720850.00000000000000000000,09
    273,93731350.00000000000000000000,E3
    274,93742100.00000000000000000000,12
    275,93882850.00000000000000000000,B0
    276,93893600.00000000000000000000,00
    277,93904350.00000000000000000000,10
    278,93914850.00000000000000000000,09
    279,93925350.00000000000000000000,EB
    280,93936100.00000000000000000000,22
    281,94076850.00000000000000000000,B0
    282,94087600.00000000000000000000,00
    283,94098350.00000000000000000000,11
    284,94108850.00000000000000000000,19
    285,94119350.00000000000000000000,EB
    286,94130100.00000000000000000000,7E
    287,94651100.00000000000000000000,B0
    288,94661850.00000000000000000000,00
    289,94672350.00000000000000000000,03
    290,94682850.00000000000000000000,06
    291,94693600.00000000000000000000,A6
    292,94704100.00000000000000000000,16
    293,94844850.00000000000000000000,B0
    294,94855600.00000000000000000000,03
    295,94866100.00000000000000000000,0D
    296,94876600.00000000000000000000,1E
    297,94887350.00000000000000000000,52
    298,94897850.00000000000000000000,7C
    299,95038600.00000000000000000000,B0
    300,95049100.00000000000000000000,00
    301,95059600.00000000000000000000,07
    302,95070400.00000000000000000000,40
    303,95080900.00000000000000000000,25
    304,95091400.00000000000000000000,24
    305,97532400.00000000000000000000,B0
    306,97543150.00000000000000000000,00
    307,97553900.00000000000000000000,0B
    308,97564400.00000000000000000000,E6
    309,97574900.00000000000000000000,A0
    310,97585650.00000000000000000000,5E
    311,97726400.00000000000000000000,B0
    312,97737150.00000000000000000000,00
    313,97747900.00000000000000000000,09
    314,97758400.00000000000000000000,25
    315,97768900.00000000000000000000,E1
    316,97779650.00000000000000000000,6F
    317,97920400.00000000000000000000,B0
    318,97931150.00000000000000000000,00
    319,97941900.00000000000000000000,0A
    320,97952400.00000000000000000000,1E
    321,97962900.00000000000000000000,A0
    322,97973650.00000000000000000000,4C
    323,98114400.00000000000000000000,D0
    324,98124900.00000000000000000000,03
    325,98135650.00000000000000000000,2C
    326,98146150.00000000000000000000,05
    327,98156650.00000000000000000000,14
    328,98167400.00000000000000000000,27
    329,98308150.00000000000000000000,D0
    330,98318900.00000000000000000000,03
    331,98329650.00000000000000000000,2D
    332,98340150.00000000000000000000,05
    333,98350650.00000000000000000000,15
    334,98361400.00000000000000000000,B7
    335,98502200.00000000000000000000,B0
    336,98512950.00000000000000000000,00
    337,98523700.00000000000000000000,19
    338,98534200.00000000000000000000,0C
    339,98544700.00000000000000000000,2D
    340,98555450.00000000000000000000,71
    341,112688900.00000000000000000000,B0
    342,112699400.00000000000000000000,03
    343,112709900.00000000000000000000,31
    344,112720650.00000000000000000000,FF
    345,112731150.00000000000000000000,83
    346,112741650.00000000000000000000,34
    347,112882400.00000000000000000000,B0
    348,112892900.00000000000000000000,03
    349,112903650.00000000000000000000,32
    350,112914150.00000000000000000000,FF
    351,112924650.00000000000000000000,83
    352,112935400.00000000000000000000,C4
    353,113082900.00000000000000000000,90
    354,113093650.00000000000000000000,00
    355,113104400.00000000000000000000,20
    356,113114900.00000000000000000000,30
    357,113125400.00000000000000000000,22
    358,113136150.00000000000000000000,71
    359,113146650.00000000000000000000,CE
    360,113292150.00000000000000000000,80
    361,113302900.00000000000000000000,00
    362,113313400.00000000000000000000,21
    363,113323900.00000000000000000000,04
    364,113334650.00000000000000000000,00
    365,113345150.00000000000000000000,77
    366,113355650.00000000000000000000,14
    367,113987650.00000000000000000000,FF
    368,113999150.00000000000000000000,FF
    369,114010650.00000000000000000000,FF
    370,114021900.00000000000000000000,FF
    371,114033150.00000000000000000000,FF
    372,114044400.00000000000000000000,FF
    373,114055650.00000000000000000000,FF
    374,114185900.00000000000000000000,A0
    375,114196650.00000000000000000000,05
    376,114207400.00000000000000000000,72
    377,114217900.00000000000000000000,15
    378,114228400.00000000000000000000,D7
    379,114239150.00000000000000000000,4A
    380,114874400.00000000000000000000,FF
    381,114885900.00000000000000000000,FF
    382,114897400.00000000000000000000,FF
    383,114908650.00000000000000000000,FF
    384,114919900.00000000000000000000,FF
    385,114931150.00000000000000000000,FF
    386,114942400.00000000000000000000,FF
    387,114953650.00000000000000000000,FF
    388,114964900.00000000000000000000,FF
    389,114976150.00000000000000000000,FF
    390,114987400.00000000000000000000,FF
    391,114998650.00000000000000000000,FF
    392,115009900.00000000000000000000,FF
    393,115021200.00000000000000000000,FF
    394,115032400.00000000000000000000,FF
    395,115043700.00000000000000000000,FF
    396,115054900.00000000000000000000,FF
    397,115066200.00000000000000000000,FF
    398,115077400.00000000000000000000,FF
    399,115088700.00000000000000000000,FF
    400,115099900.00000000000000000000,FF
    401,115111200.00000000000000000000,FF
    402,115122400.00000000000000000000,FF
    403,115133700.00000000000000000000,FF
    404,115144950.00000000000000000000,FF
    405,115156200.00000000000000000000,FF
    406,115167450.00000000000000000000,FF
    407,115178700.00000000000000000000,FF
    408,131076400.00000000000000000000,D7
    409,131086900.00000000000000000000,03
    410,131097400.00000000000000000000,18
    411,131108150.00000000000000000000,01
    412,131118650.00000000000000000000,01
    413,131129150.00000000000000000000,01
    414,131139900.00000000000000000000,01
    415,131150400.00000000000000000000,01
    416,131160900.00000000000000000000,01
    417,131171650.00000000000000000000,01
    418,131182150.00000000000000000000,01
    419,131192650.00000000000000000000,93
    420,131203400.00000000000000000000,2D
    421,131438150.00000000000000000000,D7
    422,131448900.00000000000000000000,03
    423,131459650.00000000000000000000,20
    424,131470150.00000000000000000000,01
    425,131480650.00000000000000000000,01
    426,131491400.00000000000000000000,01
    427,131501900.00000000000000000000,01
    428,131512400.00000000000000000000,01
    429,131523150.00000000000000000000,01
    430,131533650.00000000000000000000,01
    431,131544150.00000000000000000000,01
    432,131554900.00000000000000000000,A0
    433,131565400.00000000000000000000,EC
    434,131705900.00000000000000000000,D0
    435,131716700.00000000000000000000,03
    436,131727200.00000000000000000000,2E
    437,131737700.00000000000000000000,00
    438,131748400.00000000000000000000,D5
    439,131758900.00000000000000000000,44
    440,131899700.00000000000000000000,D0
    441,131910200.00000000000000000000,03
    442,131920950.00000000000000000000,2A
    443,131931450.00000000000000000000,25
    444,131941950.00000000000000000000,16
    445,131952700.00000000000000000000,5F
    446,132093450.00000000000000000000,D0
    447,132104200.00000000000000000000,03
    448,132114950.00000000000000000000,2B
    449,132125450.00000000000000000000,05
    450,132135950.00000000000000000000,16
    451,132146700.00000000000000000000,17
    452,132287450.00000000000000000000,D0
    453,132298200.00000000000000000000,03
    454,132308950.00000000000000000000,2C
    455,132319450.00000000000000000000,05
    456,132329950.00000000000000000000,14
    457,132340700.00000000000000000000,27
    458,132481450.00000000000000000000,D0
    459,132491950.00000000000000000000,03
    460,132502700.00000000000000000000,2D
    461,132513200.00000000000000000000,05
    462,132523700.00000000000000000000,15
    463,132534450.00000000000000000000,B7
    464,132675200.00000000000000000000,D0
    465,132685950.00000000000000000000,03
    466,132696700.00000000000000000000,2F
    467,132707200.00000000000000000000,13
    468,132717700.00000000000000000000,95
    469,132728450.00000000000000000000,19
    470,132857700.00000000000000000000,A0
    471,132868450.00000000000000000000,05
    472,132879200.00000000000000000000,2B
    473,132889700.00000000000000000000,00
    474,132900200.00000000000000000000,2C
    475,132910950.00000000000000000000,D5
    476,133546200.00000000000000000000,FF
    477,133557700.00000000000000000000,FF
    478,133569200.00000000000000000000,FF
    479,133580450.00000000000000000000,FF
    480,133591700.00000000000000000000,FF
    481,133602950.00000000000000000000,FF
    482,133614200.00000000000000000000,FF
    483,133753200.00000000000000000000,A0
    484,133763950.00000000000000000000,05
    485,133774450.00000000000000000000,88
    486,133784950.00000000000000000000,01
    487,133795700.00000000000000000000,95
    488,133806200.00000000000000000000,E5
    489,134441200.00000000000000000000,FF
    490,134452450.00000000000000000000,FF
    491,134463700.00000000000000000000,FF
    492,134474950.00000000000000000000,FF
    493,134486200.00000000000000000000,FF
    494,134497450.00000000000000000000,FF
    495,134508700.00000000000000000000,FF
    496,134519950.00000000000000000000,FF
    497,136086000.00000000000000000000,A0
    498,136096750.00000000000000000000,05
    499,136107250.00000000000000000000,9A
    500,136117750.00000000000000000000,01
    501,136128500.00000000000000000000,99
    502,136139000.00000000000000000000,45
    503,136774000.00000000000000000000,FF
    504,136785250.00000000000000000000,FF
    505,136796500.00000000000000000000,FF
    506,136807750.00000000000000000000,FF
    507,136819000.00000000000000000000,FF
    508,136830250.00000000000000000000,FF
    509,136841500.00000000000000000000,FF
    510,136852750.00000000000000000000,FF
    511,137079500.00000000000000000000,A0
    512,137090000.00000000000000000000,05
    513,137100500.00000000000000000000,8E
    514,137111250.00000000000000000000,01
    515,137121750.00000000000000000000,96
    516,137132250.00000000000000000000,45
    517,137767500.00000000000000000000,FF
    518,137779000.00000000000000000000,FF
    519,137790250.00000000000000000000,FF
    520,137801500.00000000000000000000,FF
    521,137812750.00000000000000000000,FF
    522,137824000.00000000000000000000,FF
    523,137835250.00000000000000000000,FF
    524,137846500.00000000000000000000,FF
    525,138070250.00000000000000000000,A0
    526,138080750.00000000000000000000,05
    527,138091500.00000000000000000000,90
    528,138102000.00000000000000000000,01
    529,138112500.00000000000000000000,9F
    530,138123250.00000000000000000000,E5
    531,138758550.00000000000000000000,FF
    532,138770050.00000000000000000000,FF
    533,138781550.00000000000000000000,FF
    534,138792800.00000000000000000000,FF
    535,138804050.00000000000000000000,FF
    536,138815300.00000000000000000000,FF
    537,138826550.00000000000000000000,FF
    538,138837800.00000000000000000000,FF
    539,139061550.00000000000000000000,A0
    540,139072050.00000000000000000000,05
    541,139082550.00000000000000000000,92
    542,139093300.00000000000000000000,01
    543,139103800.00000000000000000000,9E
    544,139114300.00000000000000000000,85
    545,139749550.00000000000000000000,FF
    546,139761050.00000000000000000000,FF
    547,139772300.00000000000000000000,FF
    548,139783550.00000000000000000000,FF
    549,139794800.00000000000000000000,FF
    550,139806050.00000000000000000000,FF
    551,139817300.00000000000000000000,FF
    552,139828550.00000000000000000000,FF
    553,140052300.00000000000000000000,A0
    554,140062800.00000000000000000000,05
    555,140073550.00000000000000000000,94
    556,140084050.00000000000000000000,01
    557,140094550.00000000000000000000,9D
    558,140105300.00000000000000000000,25
    559,140740550.00000000000000000000,FF
    560,140752050.00000000000000000000,FF
    561,140763550.00000000000000000000,FF
    562,140774800.00000000000000000000,FF
    563,140786050.00000000000000000000,FF
    564,140797300.00000000000000000000,FF
    565,140808550.00000000000000000000,FF
    566,140819800.00000000000000000000,FF
    567,141061050.00000000000000000000,A0
    568,141071800.00000000000000000000,05
    569,141082300.00000000000000000000,3C
    570,141092800.00000000000000000000,00
    571,141103550.00000000000000000000,23
    572,141114050.00000000000000000000,25
    573,141749100.00000000000000000000,FF
    574,141760300.00000000000000000000,FF
    575,141771600.00000000000000000000,FF
    576,141782800.00000000000000000000,FF
    577,141794100.00000000000000000000,FF
    578,141805350.00000000000000000000,FF
    579,141816600.00000000000000000000,FF
    580,141956100.00000000000000000000,A0
    581,141966600.00000000000000000000,05
    582,141977350.00000000000000000000,3D
    583,141987850.00000000000000000000,00
    584,141998350.00000000000000000000,22
    585,142009100.00000000000000000000,B5
    586,142644350.00000000000000000000,FF
    587,142655850.00000000000000000000,FF
    588,142667350.00000000000000000000,FF
    589,142678600.00000000000000000000,FF
    590,142689850.00000000000000000000,FF
    591,142701100.00000000000000000000,FF
    592,142712350.00000000000000000000,FF
    593,142851850.00000000000000000000,A0
    594,142862600.00000000000000000000,05
    595,142873350.00000000000000000000,3E
    596,142883850.00000000000000000000,00
    597,142894350.00000000000000000000,22
    598,142905100.00000000000000000000,45
    599,143540350.00000000000000000000,FF
    600,143551850.00000000000000000000,FF
    601,143563350.00000000000000000000,FF
    602,143574600.00000000000000000000,FF
    603,143585850.00000000000000000000,FF
    604,143597100.00000000000000000000,FF
    605,143608350.00000000000000000000,FF
    606,143748850.00000000000000000000,A0
    607,143759600.00000000000000000000,05
    608,143770100.00000000000000000000,3F
    609,143780600.00000000000000000000,00
    610,143791350.00000000000000000000,23
    611,143801850.00000000000000000000,D5
    612,144436850.00000000000000000000,FF
    613,144448100.00000000000000000000,FF
    614,144459350.00000000000000000000,FF
    615,144470600.00000000000000000000,FF
    616,144481850.00000000000000000000,FF
    617,144493100.00000000000000000000,FF
    618,144504350.00000000000000000000,FF
    619,144655850.00000000000000000000,A0
    620,144666350.00000000000000000000,05
    621,144677100.00000000000000000000,40
    622,144687600.00000000000000000000,00
    623,144698100.00000000000000000000,03
    624,144708850.00000000000000000000,E5
    625,145344150.00000000000000000000,FF
    626,145355650.00000000000000000000,FF
    627,145367150.00000000000000000000,FF
    628,145378400.00000000000000000000,FF
    629,145389650.00000000000000000000,FF
    630,145400900.00000000000000000000,FF
    631,145412150.00000000000000000000,FF
    632,175189850.00000000000000000000,B0
    633,175200600.00000000000000000000,03
    634,175211350.00000000000000000000,31
    635,175221850.00000000000000000000,FF
    636,175232350.00000000000000000000,83
    637,175243100.00000000000000000000,34
    638,175383850.00000000000000000000,B0
    639,175394600.00000000000000000000,03
    640,175405350.00000000000000000000,32
    641,175415850.00000000000000000000,FF
    642,175426350.00000000000000000000,83
    643,175437100.00000000000000000000,C4
    644,175584600.00000000000000000000,90
    645,175595350.00000000000000000000,00
    646,175606100.00000000000000000000,20
    647,175616600.00000000000000000000,30
    648,175627100.00000000000000000000,22
    649,175637850.00000000000000000000,71
    650,175648350.00000000000000000000,CE
    651,175793850.00000000000000000000,80
    652,175804600.00000000000000000000,00
    653,175815100.00000000000000000000,21
    654,175825600.00000000000000000000,04
    655,175836350.00000000000000000000,00
    656,175846850.00000000000000000000,77
    657,175857350.00000000000000000000,14
    658,176489350.00000000000000000000,FF
    659,176500850.00000000000000000000,FF
    660,176512350.00000000000000000000,FF
    661,176523600.00000000000000000000,FF
    662,176534850.00000000000000000000,FF
    663,176546100.00000000000000000000,FF
    664,176557350.00000000000000000000,FF
    665,176687600.00000000000000000000,A0
    666,176698350.00000000000000000000,05
    667,176709100.00000000000000000000,72
    668,176719600.00000000000000000000,15
    669,176730100.00000000000000000000,D7
    670,176740850.00000000000000000000,4A
    671,177376100.00000000000000000000,FF
    672,177387600.00000000000000000000,FF
    673,177399100.00000000000000000000,FF
    674,177410350.00000000000000000000,FF
    675,177421600.00000000000000000000,FF
    676,177432850.00000000000000000000,FF
    677,177444100.00000000000000000000,FF
    678,177455350.00000000000000000000,FF
    679,177466600.00000000000000000000,FF
    680,177477850.00000000000000000000,FF
    681,177489100.00000000000000000000,FF
    682,177500350.00000000000000000000,FF
    683,177511600.00000000000000000000,FF
    684,177522850.00000000000000000000,FF
    685,177534100.00000000000000000000,FF
    686,177545350.00000000000000000000,FF
    687,177556600.00000000000000000000,FF
    688,177567850.00000000000000000000,FF
    689,177579100.00000000000000000000,FF
    690,177590350.00000000000000000000,FF
    691,177601600.00000000000000000000,FF
    692,177612850.00000000000000000000,FF
    693,177624100.00000000000000000000,FF
    694,177635350.00000000000000000000,FF
    695,177646600.00000000000000000000,FF
    696,177657850.00000000000000000000,FF
    697,177669100.00000000000000000000,FF
    698,177680350.00000000000000000000,FF
    699,193440850.00000000000000000000,A0
    700,193451600.00000000000000000000,05
    701,193462350.00000000000000000000,2B
    702,193472850.00000000000000000000,00
    703,193483350.00000000000000000000,2C
    704,193494100.00000000000000000000,D5
    705,194129350.00000000000000000000,FF
    706,194140850.00000000000000000000,FF
    707,194152350.00000000000000000000,FF
    708,194163600.00000000000000000000,FF
    709,194174850.00000000000000000000,FF
    710,194186100.00000000000000000000,FF
    711,194197350.00000000000000000000,FF
    
    Id,Time[ns],0:SPI: MISO data
    0,56393300.00000000000000000000,FF
    1,56404050.00000000000000000000,FF
    2,56414550.00000000000000000000,FF
    3,56425050.00000000000000000000,FF
    4,56435800.00000000000000000000,FF
    5,56446300.00000000000000000000,FF
    6,56456800.00000000000000000000,FF
    7,79798650.00000000000000000000,FF
    8,79809400.00000000000000000000,FF
    9,79820150.00000000000000000000,FF
    10,79830650.00000000000000000000,FF
    11,79841150.00000000000000000000,FF
    12,79851900.00000000000000000000,FF
    13,79992650.00000000000000000000,FF
    14,80003400.00000000000000000000,FF
    15,80013900.00000000000000000000,FF
    16,80024400.00000000000000000000,FF
    17,80035150.00000000000000000000,FF
    18,80045650.00000000000000000000,FF
    19,80186150.00000000000000000000,FF
    20,80196650.00000000000000000000,FF
    21,80207400.00000000000000000000,FF
    22,80217900.00000000000000000000,FF
    23,80228400.00000000000000000000,FF
    24,80239150.00000000000000000000,FF
    25,80379900.00000000000000000000,FF
    26,80390650.00000000000000000000,FF
    27,80401150.00000000000000000000,FF
    28,80411650.00000000000000000000,FF
    29,80422400.00000000000000000000,FF
    30,80432900.00000000000000000000,FF
    31,80573400.00000000000000000000,FF
    32,80583900.00000000000000000000,FF
    33,80594650.00000000000000000000,FF
    34,80605150.00000000000000000000,FF
    35,80615650.00000000000000000000,FF
    36,80626400.00000000000000000000,FF
    37,80767150.00000000000000000000,FF
    38,80777900.00000000000000000000,FF
    39,80788400.00000000000000000000,FF
    40,80798900.00000000000000000000,FF
    41,80809650.00000000000000000000,FF
    42,80820150.00000000000000000000,FF
    43,80960650.00000000000000000000,FF
    44,80971150.00000000000000000000,FF
    45,80981900.00000000000000000000,FF
    46,80992400.00000000000000000000,FF
    47,81002900.00000000000000000000,FF
    48,81013650.00000000000000000000,FF
    49,81154400.00000000000000000000,FF
    50,81165150.00000000000000000000,FF
    51,81175650.00000000000000000000,FF
    52,81186150.00000000000000000000,FF
    53,81196900.00000000000000000000,FF
    54,81207400.00000000000000000000,FF
    55,81347900.00000000000000000000,FF
    56,81358400.00000000000000000000,FF
    57,81369150.00000000000000000000,FF
    58,81379650.00000000000000000000,FF
    59,81390150.00000000000000000000,FF
    60,81400900.00000000000000000000,FF
    61,81542900.00000000000000000000,FF
    62,81553400.00000000000000000000,FF
    63,81563900.00000000000000000000,FF
    64,81574650.00000000000000000000,FF
    65,81585150.00000000000000000000,FF
    66,81595650.00000000000000000000,FF
    67,81737400.00000000000000000000,FF
    68,81747900.00000000000000000000,FF
    69,81758700.00000000000000000000,FF
    70,81769200.00000000000000000000,FF
    71,81779700.00000000000000000000,FF
    72,81790400.00000000000000000000,FF
    73,81931950.00000000000000000000,FF
    74,81942700.00000000000000000000,FF
    75,81953450.00000000000000000000,FF
    76,81963950.00000000000000000000,FF
    77,81974450.00000000000000000000,FF
    78,81985200.00000000000000000000,FF
    79,82132950.00000000000000000000,FF
    80,82143700.00000000000000000000,FF
    81,82154200.00000000000000000000,FF
    82,82164700.00000000000000000000,FF
    83,82175450.00000000000000000000,FF
    84,82185950.00000000000000000000,FF
    85,82196450.00000000000000000000,FF
    86,82324200.00000000000000000000,FF
    87,82334950.00000000000000000000,FF
    88,82345450.00000000000000000000,FF
    89,82355950.00000000000000000000,FF
    90,82366700.00000000000000000000,FF
    91,82377200.00000000000000000000,FF
    92,83012200.00000000000000000000,00
    93,83023450.00000000000000000000,01
    94,83034700.00000000000000000000,03
    95,83045950.00000000000000000000,43
    96,83057200.00000000000000000000,00
    97,83068450.00000000000000000000,E4
    98,83079700.00000000000000000000,CC
    99,83210200.00000000000000000000,FF
    100,83220950.00000000000000000000,FF
    101,83231700.00000000000000000000,FF
    102,83242200.00000000000000000000,FF
    103,83252700.00000000000000000000,FF
    104,83263450.00000000000000000000,FF
    105,83898700.00000000000000000000,00
    106,83910200.00000000000000000000,01
    107,83921700.00000000000000000000,03
    108,83932950.00000000000000000000,44
    109,83944200.00000000000000000000,00
    110,83955450.00000000000000000000,E6
    111,83966700.00000000000000000000,FC
    112,84097200.00000000000000000000,FF
    113,84107700.00000000000000000000,FF
    114,84118450.00000000000000000000,FF
    115,84128950.00000000000000000000,FF
    116,84139450.00000000000000000000,FF
    117,84150200.00000000000000000000,FF
    118,84785450.00000000000000000000,00
    119,84796950.00000000000000000000,01
    120,84808450.00000000000000000000,03
    121,84819700.00000000000000000000,45
    122,84830950.00000000000000000000,00
    123,84842200.00000000000000000000,E7
    124,84853450.00000000000000000000,6C
    125,84983950.00000000000000000000,FF
    126,84994450.00000000000000000000,FF
    127,85005200.00000000000000000000,FF
    128,85015700.00000000000000000000,FF
    129,85026200.00000000000000000000,FF
    130,85037000.00000000000000000000,FF
    131,85672250.00000000000000000000,00
    132,85683750.00000000000000000000,01
    133,85695250.00000000000000000000,03
    134,85706500.00000000000000000000,46
    135,85717750.00000000000000000000,00
    136,85729000.00000000000000000000,E7
    137,85740250.00000000000000000000,9C
    138,85870750.00000000000000000000,FF
    139,85881250.00000000000000000000,FF
    140,85892000.00000000000000000000,FF
    141,85902500.00000000000000000000,FF
    142,85913000.00000000000000000000,FF
    143,85923750.00000000000000000000,FF
    144,86559000.00000000000000000000,00
    145,86570500.00000000000000000000,01
    146,86582000.00000000000000000000,03
    147,86593250.00000000000000000000,47
    148,86604500.00000000000000000000,00
    149,86615750.00000000000000000000,E6
    150,86627000.00000000000000000000,0C
    151,86757500.00000000000000000000,FF
    152,86768250.00000000000000000000,FF
    153,86779000.00000000000000000000,FF
    154,86789500.00000000000000000000,FF
    155,86800000.00000000000000000000,FF
    156,86810750.00000000000000000000,FF
    157,87446000.00000000000000000000,00
    158,87457500.00000000000000000000,01
    159,87469000.00000000000000000000,03
    160,87480250.00000000000000000000,48
    161,87491500.00000000000000000000,00
    162,87502750.00000000000000000000,E3
    163,87514000.00000000000000000000,FC
    164,87644500.00000000000000000000,FF
    165,87655000.00000000000000000000,FF
    166,87665750.00000000000000000000,FF
    167,87676250.00000000000000000000,FF
    168,87686750.00000000000000000000,FF
    169,87697500.00000000000000000000,FF
    170,88332750.00000000000000000000,00
    171,88344250.00000000000000000000,01
    172,88355750.00000000000000000000,03
    173,88367000.00000000000000000000,49
    174,88378300.00000000000000000000,00
    175,88389500.00000000000000000000,E2
    176,88400800.00000000000000000000,6C
    177,88531300.00000000000000000000,FF
    178,88541800.00000000000000000000,FF
    179,88552550.00000000000000000000,FF
    180,88563050.00000000000000000000,FF
    181,88573550.00000000000000000000,FF
    182,88584300.00000000000000000000,FF
    183,89219550.00000000000000000000,00
    184,89231050.00000000000000000000,01
    185,89242550.00000000000000000000,03
    186,89253800.00000000000000000000,4A
    187,89265050.00000000000000000000,00
    188,89276300.00000000000000000000,E2
    189,89287550.00000000000000000000,9C
    190,89425300.00000000000000000000,FF
    191,89435800.00000000000000000000,FF
    192,89446550.00000000000000000000,FF
    193,89457050.00000000000000000000,FF
    194,89467550.00000000000000000000,FF
    195,89478300.00000000000000000000,FF
    196,89488800.00000000000000000000,FF
    197,90120550.00000000000000000000,00
    198,90132050.00000000000000000000,00
    199,90143300.00000000000000000000,03
    200,90154550.00000000000000000000,06
    201,90165800.00000000000000000000,00
    202,90177050.00000000000000000000,D7
    203,90188300.00000000000000000000,A0
    204,90323800.00000000000000000000,FF
    205,90334550.00000000000000000000,FF
    206,90345050.00000000000000000000,FF
    207,90355550.00000000000000000000,FF
    208,90366300.00000000000000000000,FF
    209,90376800.00000000000000000000,FF
    210,90387300.00000000000000000000,FF
    211,91019300.00000000000000000000,00
    212,91030800.00000000000000000000,01
    213,91042300.00000000000000000000,03
    214,91053550.00000000000000000000,06
    215,91064800.00000000000000000000,01
    216,91076050.00000000000000000000,17
    217,91087300.00000000000000000000,9C
    218,91222550.00000000000000000000,FF
    219,91233050.00000000000000000000,FF
    220,91243800.00000000000000000000,FF
    221,91254300.00000000000000000000,FF
    222,91264800.00000000000000000000,FF
    223,91275550.00000000000000000000,FF
    224,91286050.00000000000000000000,FF
    225,91917850.00000000000000000000,00
    226,91929350.00000000000000000000,00
    227,91940600.00000000000000000000,20
    228,91951850.00000000000000000000,01
    229,91963100.00000000000000000000,14
    230,91974350.00000000000000000000,24
    231,91985600.00000000000000000000,55
    232,92128850.00000000000000000000,FF
    233,92139350.00000000000000000000,FF
    234,92150100.00000000000000000000,FF
    235,92160600.00000000000000000000,FF
    236,92171100.00000000000000000000,FF
    237,92181850.00000000000000000000,FF
    238,92322600.00000000000000000000,FF
    239,92333350.00000000000000000000,FF
    240,92344100.00000000000000000000,FF
    241,92354600.00000000000000000000,FF
    242,92365100.00000000000000000000,FF
    243,92375850.00000000000000000000,FF
    244,92523350.00000000000000000000,FF
    245,92534100.00000000000000000000,FF
    246,92544850.00000000000000000000,FF
    247,92555350.00000000000000000000,FF
    248,92565850.00000000000000000000,FF
    249,92576600.00000000000000000000,FF
    250,92587100.00000000000000000000,FF
    251,92727600.00000000000000000000,FF
    252,92738100.00000000000000000000,FF
    253,92748850.00000000000000000000,FF
    254,92759350.00000000000000000000,FF
    255,92769850.00000000000000000000,FF
    256,92780600.00000000000000000000,FF
    257,92921350.00000000000000000000,FF
    258,92932100.00000000000000000000,FF
    259,92942600.00000000000000000000,FF
    260,92953100.00000000000000000000,FF
    261,92963850.00000000000000000000,FF
    262,92974350.00000000000000000000,FF
    263,93495100.00000000000000000000,FF
    264,93505600.00000000000000000000,FF
    265,93516350.00000000000000000000,FF
    266,93526850.00000000000000000000,FF
    267,93537350.00000000000000000000,FF
    268,93548100.00000000000000000000,FF
    269,93688850.00000000000000000000,FF
    270,93699600.00000000000000000000,FF
    271,93710350.00000000000000000000,FF
    272,93720850.00000000000000000000,FF
    273,93731350.00000000000000000000,FF
    274,93742100.00000000000000000000,FF
    275,93882850.00000000000000000000,FF
    276,93893600.00000000000000000000,FF
    277,93904350.00000000000000000000,FF
    278,93914850.00000000000000000000,FF
    279,93925350.00000000000000000000,FF
    280,93936100.00000000000000000000,FF
    281,94076850.00000000000000000000,FF
    282,94087600.00000000000000000000,FF
    283,94098350.00000000000000000000,FF
    284,94108850.00000000000000000000,FF
    285,94119350.00000000000000000000,FF
    286,94130100.00000000000000000000,FF
    287,94651100.00000000000000000000,FF
    288,94661850.00000000000000000000,FF
    289,94672350.00000000000000000000,FF
    290,94682850.00000000000000000000,FF
    291,94693600.00000000000000000000,FF
    292,94704100.00000000000000000000,FF
    293,94844850.00000000000000000000,FF
    294,94855600.00000000000000000000,FF
    295,94866100.00000000000000000000,FF
    296,94876600.00000000000000000000,FF
    297,94887350.00000000000000000000,FF
    298,94897850.00000000000000000000,FF
    299,95038600.00000000000000000000,FF
    300,95049100.00000000000000000000,FF
    301,95059600.00000000000000000000,FF
    302,95070400.00000000000000000000,FF
    303,95080900.00000000000000000000,FF
    304,95091400.00000000000000000000,FF
    305,97532400.00000000000000000000,FF
    306,97543150.00000000000000000000,FF
    307,97553900.00000000000000000000,FF
    308,97564400.00000000000000000000,FF
    309,97574900.00000000000000000000,FF
    310,97585650.00000000000000000000,FF
    311,97726400.00000000000000000000,FF
    312,97737150.00000000000000000000,FF
    313,97747900.00000000000000000000,FF
    314,97758400.00000000000000000000,FF
    315,97768900.00000000000000000000,FF
    316,97779650.00000000000000000000,FF
    317,97920400.00000000000000000000,FF
    318,97931150.00000000000000000000,FF
    319,97941900.00000000000000000000,FF
    320,97952400.00000000000000000000,FF
    321,97962900.00000000000000000000,FF
    322,97973650.00000000000000000000,FF
    323,98114400.00000000000000000000,FF
    324,98124900.00000000000000000000,FF
    325,98135650.00000000000000000000,FF
    326,98146150.00000000000000000000,FF
    327,98156650.00000000000000000000,FF
    328,98167400.00000000000000000000,FF
    329,98308150.00000000000000000000,FF
    330,98318900.00000000000000000000,FF
    331,98329650.00000000000000000000,FF
    332,98340150.00000000000000000000,FF
    333,98350650.00000000000000000000,FF
    334,98361400.00000000000000000000,FF
    335,98502200.00000000000000000000,FF
    336,98512950.00000000000000000000,FF
    337,98523700.00000000000000000000,FF
    338,98534200.00000000000000000000,FF
    339,98544700.00000000000000000000,FF
    340,98555450.00000000000000000000,FF
    341,112688900.00000000000000000000,FF
    342,112699400.00000000000000000000,FF
    343,112709900.00000000000000000000,FF
    344,112720650.00000000000000000000,FF
    345,112731150.00000000000000000000,FF
    346,112741650.00000000000000000000,FF
    347,112882400.00000000000000000000,FF
    348,112892900.00000000000000000000,FF
    349,112903650.00000000000000000000,FF
    350,112914150.00000000000000000000,FF
    351,112924650.00000000000000000000,FF
    352,112935400.00000000000000000000,FF
    353,113082900.00000000000000000000,FF
    354,113093650.00000000000000000000,FF
    355,113104400.00000000000000000000,FF
    356,113114900.00000000000000000000,FF
    357,113125400.00000000000000000000,FF
    358,113136150.00000000000000000000,FF
    359,113146650.00000000000000000000,FF
    360,113292150.00000000000000000000,FF
    361,113302900.00000000000000000000,FF
    362,113313400.00000000000000000000,FF
    363,113323900.00000000000000000000,FF
    364,113334650.00000000000000000000,FF
    365,113345150.00000000000000000000,FF
    366,113355650.00000000000000000000,FF
    367,113987650.00000000000000000000,00
    368,113999150.00000000000000000000,00
    369,114010650.00000000000000000000,21
    370,114021900.00000000000000000000,04
    371,114033150.00000000000000000000,02
    372,114044400.00000000000000000000,F7
    373,114055650.00000000000000000000,0B
    374,114185900.00000000000000000000,FF
    375,114196650.00000000000000000000,FF
    376,114207400.00000000000000000000,FF
    377,114217900.00000000000000000000,FF
    378,114228400.00000000000000000000,FF
    379,114239150.00000000000000000000,FF
    380,114874400.00000000000000000000,15
    381,114885900.00000000000000000000,01
    382,114897400.00000000000000000000,05
    383,114908650.00000000000000000000,72
    384,114919900.00000000000000000000,44
    385,114931150.00000000000000000000,F9
    386,114942400.00000000000000000000,45
    387,114953650.00000000000000000000,02
    388,114964900.00000000000000000000,45
    389,114976150.00000000000000000000,03
    390,114987400.00000000000000000000,45
    391,114998650.00000000000000000000,07
    392,115009900.00000000000000000000,45
    393,115021200.00000000000000000000,06
    394,115032400.00000000000000000000,44
    395,115043700.00000000000000000000,FD
    396,115054900.00000000000000000000,44
    397,115066200.00000000000000000000,FE
    398,115077400.00000000000000000000,45
    399,115088700.00000000000000000000,06
    400,115099900.00000000000000000000,45
    401,115111200.00000000000000000000,00
    402,115122400.00000000000000000000,44
    403,115133700.00000000000000000000,FE
    404,115144950.00000000000000000000,44
    405,115156200.00000000000000000000,FD
    406,115167450.00000000000000000000,48
    407,115178700.00000000000000000000,96
    408,131076400.00000000000000000000,FF
    409,131086900.00000000000000000000,FF
    410,131097400.00000000000000000000,FF
    411,131108150.00000000000000000000,FF
    412,131118650.00000000000000000000,FF
    413,131129150.00000000000000000000,FF
    414,131139900.00000000000000000000,FF
    415,131150400.00000000000000000000,FF
    416,131160900.00000000000000000000,FF
    417,131171650.00000000000000000000,FF
    418,131182150.00000000000000000000,FF
    419,131192650.00000000000000000000,FF
    420,131203400.00000000000000000000,FF
    421,131438150.00000000000000000000,FF
    422,131448900.00000000000000000000,FF
    423,131459650.00000000000000000000,FF
    424,131470150.00000000000000000000,FF
    425,131480650.00000000000000000000,FF
    426,131491400.00000000000000000000,FF
    427,131501900.00000000000000000000,FF
    428,131512400.00000000000000000000,FF
    429,131523150.00000000000000000000,FF
    430,131533650.00000000000000000000,FF
    431,131544150.00000000000000000000,FF
    432,131554900.00000000000000000000,FF
    433,131565400.00000000000000000000,FF
    434,131705900.00000000000000000000,FF
    435,131716700.00000000000000000000,FF
    436,131727200.00000000000000000000,FF
    437,131737700.00000000000000000000,FF
    438,131748400.00000000000000000000,FF
    439,131758900.00000000000000000000,FF
    440,131899700.00000000000000000000,FF
    441,131910200.00000000000000000000,FF
    442,131920950.00000000000000000000,FF
    443,131931450.00000000000000000000,FF
    444,131941950.00000000000000000000,FF
    445,131952700.00000000000000000000,FF
    446,132093450.00000000000000000000,FF
    447,132104200.00000000000000000000,FF
    448,132114950.00000000000000000000,FF
    449,132125450.00000000000000000000,FF
    450,132135950.00000000000000000000,FF
    451,132146700.00000000000000000000,FF
    452,132287450.00000000000000000000,FF
    453,132298200.00000000000000000000,FF
    454,132308950.00000000000000000000,FF
    455,132319450.00000000000000000000,FF
    456,132329950.00000000000000000000,FF
    457,132340700.00000000000000000000,FF
    458,132481450.00000000000000000000,FF
    459,132491950.00000000000000000000,FF
    460,132502700.00000000000000000000,FF
    461,132513200.00000000000000000000,FF
    462,132523700.00000000000000000000,FF
    463,132534450.00000000000000000000,FF
    464,132675200.00000000000000000000,FF
    465,132685950.00000000000000000000,FF
    466,132696700.00000000000000000000,FF
    467,132707200.00000000000000000000,FF
    468,132717700.00000000000000000000,FF
    469,132728450.00000000000000000000,FF
    470,132857700.00000000000000000000,FF
    471,132868450.00000000000000000000,FF
    472,132879200.00000000000000000000,FF
    473,132889700.00000000000000000000,FF
    474,132900200.00000000000000000000,FF
    475,132910950.00000000000000000000,FF
    476,133546200.00000000000000000000,00
    477,133557700.00000000000000000000,01
    478,133569200.00000000000000000000,05
    479,133580450.00000000000000000000,2B
    480,133591700.00000000000000000000,08
    481,133602950.00000000000000000000,2A
    482,133614200.00000000000000000000,CB
    483,133753200.00000000000000000000,FF
    484,133763950.00000000000000000000,FF
    485,133774450.00000000000000000000,FF
    486,133784950.00000000000000000000,FF
    487,133795700.00000000000000000000,FF
    488,133806200.00000000000000000000,FF
    489,134441200.00000000000000000000,01
    490,134452450.00000000000000000000,01
    491,134463700.00000000000000000000,05
    492,134474950.00000000000000000000,88
    493,134486200.00000000000000000000,00
    494,134497450.00000000000000000000,3E
    495,134508700.00000000000000000000,3D
    496,134519950.00000000000000000000,3C
    497,136086000.00000000000000000000,FF
    498,136096750.00000000000000000000,FF
    499,136107250.00000000000000000000,FF
    500,136117750.00000000000000000000,FF
    501,136128500.00000000000000000000,FF
    502,136139000.00000000000000000000,FF
    503,136774000.00000000000000000000,01
    504,136785250.00000000000000000000,01
    505,136796500.00000000000000000000,05
    506,136807750.00000000000000000000,9A
    507,136819000.00000000000000000000,49
    508,136830250.00000000000000000000,10
    509,136841500.00000000000000000000,2A
    510,136852750.00000000000000000000,B5
    511,137079500.00000000000000000000,FF
    512,137090000.00000000000000000000,FF
    513,137100500.00000000000000000000,FF
    514,137111250.00000000000000000000,FF
    515,137121750.00000000000000000000,FF
    516,137132250.00000000000000000000,FF
    517,137767500.00000000000000000000,01
    518,137779000.00000000000000000000,01
    519,137790250.00000000000000000000,05
    520,137801500.00000000000000000000,8E
    521,137812750.00000000000000000000,49
    522,137824000.00000000000000000000,7E
    523,137835250.00000000000000000000,EB
    524,137846500.00000000000000000000,5D
    525,138070250.00000000000000000000,FF
    526,138080750.00000000000000000000,FF
    527,138091500.00000000000000000000,FF
    528,138102000.00000000000000000000,FF
    529,138112500.00000000000000000000,FF
    530,138123250.00000000000000000000,FF
    531,138758550.00000000000000000000,01
    532,138770050.00000000000000000000,01
    533,138781550.00000000000000000000,05
    534,138792800.00000000000000000000,90
    535,138804050.00000000000000000000,49
    536,138815300.00000000000000000000,5C
    537,138826550.00000000000000000000,0B
    538,138837800.00000000000000000000,42
    539,139061550.00000000000000000000,FF
    540,139072050.00000000000000000000,FF
    541,139082550.00000000000000000000,FF
    542,139093300.00000000000000000000,FF
    543,139103800.00000000000000000000,FF
    544,139114300.00000000000000000000,FF
    545,139749550.00000000000000000000,01
    546,139761050.00000000000000000000,01
    547,139772300.00000000000000000000,05
    548,139783550.00000000000000000000,92
    549,139794800.00000000000000000000,49
    550,139806050.00000000000000000000,92
    551,139817300.00000000000000000000,2B
    552,139828550.00000000000000000000,16
    553,140052300.00000000000000000000,FF
    554,140062800.00000000000000000000,FF
    555,140073550.00000000000000000000,FF
    556,140084050.00000000000000000000,FF
    557,140094550.00000000000000000000,FF
    558,140105300.00000000000000000000,FF
    559,140740550.00000000000000000000,01
    560,140752050.00000000000000000000,01
    561,140763550.00000000000000000000,05
    562,140774800.00000000000000000000,94
    563,140786050.00000000000000000000,49
    564,140797300.00000000000000000000,7D
    565,140808550.00000000000000000000,8A
    566,140819800.00000000000000000000,9B
    567,141061050.00000000000000000000,FF
    568,141071800.00000000000000000000,FF
    569,141082300.00000000000000000000,FF
    570,141092800.00000000000000000000,FF
    571,141103550.00000000000000000000,FF
    572,141114050.00000000000000000000,FF
    573,141749100.00000000000000000000,00
    574,141760300.00000000000000000000,01
    575,141771600.00000000000000000000,05
    576,141782800.00000000000000000000,3C
    577,141794100.00000000000000000000,00
    578,141805350.00000000000000000000,24
    579,141816600.00000000000000000000,FD
    580,141956100.00000000000000000000,FF
    581,141966600.00000000000000000000,FF
    582,141977350.00000000000000000000,FF
    583,141987850.00000000000000000000,FF
    584,141998350.00000000000000000000,FF
    585,142009100.00000000000000000000,FF
    586,142644350.00000000000000000000,00
    587,142655850.00000000000000000000,01
    588,142667350.00000000000000000000,05
    589,142678600.00000000000000000000,3D
    590,142689850.00000000000000000000,00
    591,142701100.00000000000000000000,25
    592,142712350.00000000000000000000,6D
    593,142851850.00000000000000000000,FF
    594,142862600.00000000000000000000,FF
    595,142873350.00000000000000000000,FF
    596,142883850.00000000000000000000,FF
    597,142894350.00000000000000000000,FF
    598,142905100.00000000000000000000,FF
    599,143540350.00000000000000000000,00
    600,143551850.00000000000000000000,01
    601,143563350.00000000000000000000,05
    602,143574600.00000000000000000000,3E
    603,143585850.00000000000000000000,08
    604,143597100.00000000000000000000,24
    605,143608350.00000000000000000000,5B
    606,143748850.00000000000000000000,FF
    607,143759600.00000000000000000000,FF
    608,143770100.00000000000000000000,FF
    609,143780600.00000000000000000000,FF
    610,143791350.00000000000000000000,FF
    611,143801850.00000000000000000000,FF
    612,144436850.00000000000000000000,00
    613,144448100.00000000000000000000,01
    614,144459350.00000000000000000000,05
    615,144470600.00000000000000000000,3F
    616,144481850.00000000000000000000,00
    617,144493100.00000000000000000000,24
    618,144504350.00000000000000000000,0D
    619,144655850.00000000000000000000,FF
    620,144666350.00000000000000000000,FF
    621,144677100.00000000000000000000,FF
    622,144687600.00000000000000000000,FF
    623,144698100.00000000000000000000,FF
    624,144708850.00000000000000000000,FF
    625,145344150.00000000000000000000,00
    626,145355650.00000000000000000000,01
    627,145367150.00000000000000000000,05
    628,145378400.00000000000000000000,40
    629,145389650.00000000000000000000,00
    630,145400900.00000000000000000000,04
    631,145412150.00000000000000000000,3D
    632,175189850.00000000000000000000,FF
    633,175200600.00000000000000000000,FF
    634,175211350.00000000000000000000,FF
    635,175221850.00000000000000000000,FF
    636,175232350.00000000000000000000,FF
    637,175243100.00000000000000000000,FF
    638,175383850.00000000000000000000,FF
    639,175394600.00000000000000000000,FF
    640,175405350.00000000000000000000,FF
    641,175415850.00000000000000000000,FF
    642,175426350.00000000000000000000,FF
    643,175437100.00000000000000000000,FF
    644,175584600.00000000000000000000,FF
    645,175595350.00000000000000000000,FF
    646,175606100.00000000000000000000,FF
    647,175616600.00000000000000000000,FF
    648,175627100.00000000000000000000,FF
    649,175637850.00000000000000000000,FF
    650,175648350.00000000000000000000,FF
    651,175793850.00000000000000000000,FF
    652,175804600.00000000000000000000,FF
    653,175815100.00000000000000000000,FF
    654,175825600.00000000000000000000,FF
    655,175836350.00000000000000000000,FF
    656,175846850.00000000000000000000,FF
    657,175857350.00000000000000000000,FF
    658,176489350.00000000000000000000,00
    659,176500850.00000000000000000000,00
    660,176512350.00000000000000000000,21
    661,176523600.00000000000000000000,04
    662,176534850.00000000000000000000,02
    663,176546100.00000000000000000000,F7
    664,176557350.00000000000000000000,0B
    665,176687600.00000000000000000000,FF
    666,176698350.00000000000000000000,FF
    667,176709100.00000000000000000000,FF
    668,176719600.00000000000000000000,FF
    669,176730100.00000000000000000000,FF
    670,176740850.00000000000000000000,FF
    671,177376100.00000000000000000000,15
    672,177387600.00000000000000000000,01
    673,177399100.00000000000000000000,05
    674,177410350.00000000000000000000,72
    675,177421600.00000000000000000000,44
    676,177432850.00000000000000000000,FC
    677,177444100.00000000000000000000,44
    678,177455350.00000000000000000000,D1
    679,177466600.00000000000000000000,45
    680,177477850.00000000000000000000,32
    681,177489100.00000000000000000000,44
    682,177500350.00000000000000000000,DA
    683,177511600.00000000000000000000,45
    684,177522850.00000000000000000000,30
    685,177534100.00000000000000000000,44
    686,177545350.00000000000000000000,D2
    687,177556600.00000000000000000000,45
    688,177567850.00000000000000000000,29
    689,177579100.00000000000000000000,44
    690,177590350.00000000000000000000,DF
    691,177601600.00000000000000000000,45
    692,177612850.00000000000000000000,22
    693,177624100.00000000000000000000,44
    694,177635350.00000000000000000000,DA
    695,177646600.00000000000000000000,45
    696,177657850.00000000000000000000,02
    697,177669100.00000000000000000000,4C
    698,177680350.00000000000000000000,DD
    699,193440850.00000000000000000000,FF
    700,193451600.00000000000000000000,FF
    701,193462350.00000000000000000000,FF
    702,193472850.00000000000000000000,FF
    703,193483350.00000000000000000000,FF
    704,193494100.00000000000000000000,FF
    705,194129350.00000000000000000000,00
    706,194140850.00000000000000000000,01
    707,194152350.00000000000000000000,05
    708,194163600.00000000000000000000,2B
    709,194174850.00000000000000000000,01
    710,194186100.00000000000000000000,EA
    711,194197350.00000000000000000000,CD
    

  • The other thing that occurred to me is the vcb_done_threshold register has a 25 mV resolution. The cell voltages are measuring about 3.367V. I changed the voltage balance target to at least 50 mV below this, 3.3V. The BQ firmware I have is still showing balstat is 1 right after balancing command is given, no balance timers begin.

  • Hi Priya,

    You are configuring 'OVUV_CTRL' ( 0x032C ) with value '0x5', so 'VCBDONE_THR_LOCK" bit is disabled, so i see the OVUV comparator is not using 'VCB_DONE_THRESH' for cell balancing. Can you please try enabling this bit.

    Also from the logs you shared, i see after the  'VCB_DONE_THRESH' value is set and then 'BAL_GO' is enabled, after that i see the cell balancing is still running ( CB_RUN is '1' ). 

    Also I notice some of the  VCELL first read value is less than the second time read VCELL value. Also none of the cell voltage is greater than OV threshold value 4.2 V or less than UV threshold value of  2.7 V.

    First VCELL value:      15 01 0572 44F9 4502 4503 4507 4506 44FD 44FE 4506 4500 44FE 44FD 4896

    Second VCELL value: 15 01 0572 44FC 44D1 4532 44DA 4530 44D2 4529 44DF 4522 44DA 4502 4CDD

    Thanks,

    Ravi

  • Thank you for the correct OVUV setting. Looking at the saved MISO data, there is one value of balstat=8 which soon after becomes 1 showing cell balancing is complete. The cell voltage readings are decreasing. For some reason, the firmware right away halts at CB complete. Currently, I am only reading balstat and no other status registers for cell balancing. I will keep looking at why the firmware is not processing balstat = 8.

  • In the OVUV_CTRL register, I am seeing the lock bit described as follows:

    VCBDONE_THR_LOCK = As the UV comparator is switching between UV threshold and VCBDONE threshold to measure the UV DAC or the VCBDONE DAC result for diagnostics, the UV comparator has to lock onto only one threshold before starting the AUX ADC measurement. This bit selects which threshold is locked to the UV comparator. The bit is sampled when OVUV_MODE[1:0] is 0b11 which is locked to a single channel mode. 0 = UV threshold is selected 1 = VCBDONE threshold is selected

    This bit uses the AUX_ADC which I have not setup in the BQ firmware. The description of the round robin run (OVUV operation modes) does not mention the aux ADC. Am I required to set the AUX ADC up? When cell balancing is complete, do I need to turn off this lock but?

  • Today, I ran a stopwatch to time how long before the firmware declares CB is complete. The timer reads 22.3 seconds. I am not using the VCB_DONE_LOCK bit today. Things appear to be working for now. Though the GUI appears to run the CB longer for the same 10 sec timer, 5s duty cycle settings. I am not polling any other CB status register except balstat.

  • Sorry, 'VCBDONE_THR_LOCK' is required to be set  for diagnostics. So this bit need not be set for testing cell balancing