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.

BQ79600EVM: Sampling problem

Part Number: BQ79600EVM
Other Parts Discussed in Thread: BQ79616

Hi team,

I got a question from customer,

part number:BQ79600EVM\BQ79616EVM

Communication methods:SPI

The fault phenomenon: the command A0 05 68 21 DD FD is sent in a loop, read cells voltage value. the reply is correct.but it stopped after a few seconds.


Sampling problem.docx

Please help to analyze the reason.

Thanks

Best regards,

  • Hi Zhonghui,

    Can you share more details about the customer's setup? Are they using customer software or the BQAutoEval GUI? How often are the commands sent? It would be helpful if the customer could share a logic analyzer capture showing the point where the stack stops responding. Please make sure to include the SPI_RDY pin when monitoring the SPI communication.

    Best Regards,

  • Hi

    Use our own software

    Loop reads,Cycle is 10 ms、20ms、50ms...There have been attempts. it stopped after a few seconds,At the time of stopping,SPI_RDY pin is low

  • Hi Jiao,

    SPI_RDY can be stuck low for a few reasons. If the BQ79600 never receives data after a read command, SPI_RDY will stay low. This requires a COMM CLEAR command to fix. If the MCU sends a command while SPI_RDY is low, this can also cause issues. I recommend checking the following:

    • Make sure that the next read command isn't sent before the BQ79600 is ready (SPI_RDY is high when ready)
    • Make sure that there are no issues with the structure of the read command when it reaches the BQ79616 (check both the quality and the content of the waveform)

    If you need more information about checking the quality or content of the waveform please reach out to me offline. The BQ79616 datasheet is still under NDA so I'm not able to post that information on e2e.

    Best Regards,

    Kristin Jones

  • How can I contact you,2/5000
    In addition to e2e.thank you

  • Hi Jiao,

    You can ask Zhonghui to contact me via email. 

    Best Regards,

    Kristin Jones

  • Hi Kristin,

    I have sent email to you.

    Looking forward to your reply.

    Thanks.

  • Hi Zonghui,

    I am closing this thread because we are communicating via email.

    Best Regards,

    Kristin Jones

  • Can you tell me the Email address 

  • Hi Yu,

    I've answered you in case. You can check it.

    Thanks.

  • Hi Kristin,

    Please help to check the following message, what is wrong with it? Thank you

    send response
    90 00 03 09 20 13 95
    B0 03 43 00 E7 D4
    B0 03 44 00 E5 E4
    B0 03 45 00 E4 74
    B0 03 46 00 E4 84
    B0 03 47 00 E5 14
    B0 03 48 00 E0 E4
    B0 03 49 00 E1 74
    B0 03 4A 00 E1 84
    D0 03 09 01 0F 74
    D0 03 06 00 CB 44
    D0 03 06 01 0A 84
    D0 03 08 02 4E E5
    90 01 03 08 03 52 20
    A0 03 43 00 E3 14 00 01 03 44 00 E4 CC
    A0 03 44 00 E1 24 00 01 03 44 00 E6 FC
    A0 03 45 00 E0 B4 00 01 03 45 00 E7 6C
    A0 03 46 00 E0 44 00 01 03 46 00 E7 9C
    A0 03 47 00 E1 D4 00 01 03 47 00 E6 0C
    A0 03 48 00 E4 24 00 01 03 48 00 E3 FC
    A0 03 49 00 E5 B4 00 01 03 49 00 E2 6C
    A0 03 4A 00 E5 44 00 01 03 4A 00 E2 9C
    80 00 03 06 00 D6 7E 00 00 03 06 00 D7 A0
    80 01 03 06 00 D7 82 00 01 03 06 01 17 9C
    90 00 03 08 00 13 DD
    90 01 03 08 03 00 52 20
    80 00 20 01 00 25 84
    A0 03 06 00 D1 84 00 01 03 06 01 17 9C
    B0 03 32 03 83 85
    B0 00 19 00 2D 74
    90 00 20 05 00 E6 87
    B0 03 31 FF 83 34
    B0 03 32 FF 83 C4
    90 00 20 30 22 71 CE
    90 01 00 03 0A 65 16
    B0 00 07 00 24 D4
    B0 03 0D 06 52 76
    B0 03 0A 01 11 84
    B0 00 0B E0 20 5C
    B0 00 0E 01 E3 44
    B0 03 0F 06 53 16
    B0 03 2C 03 8A 25
    B0 03 2D 03 8B B5
    The following loop
    A0 05 68 0F 5C 2D 9F 01 05 68 (1F 7E)*16 0A 46 ()Sample values are shown in parentheses, which are correct
    9F is wrong
    A0 05 8E 0F 17 81  8F 01 05 8E (80 00)*8 E2 89 ()Sample values are shown in parentheses, which are wrong
    8F is wrong
    After a few seconds the data failed to transmit properly
  • Hi Jiao,

    It will take me a little time to dig through the data you've shared. I will share feedback on Friday.

    Best Regards,

    Kristin Jones

  • Thank you very much

    And I'm very sorry , I made a mistake in entering a piece of data,It should be  A0 05 68 1F 5C 2D  not  A0 05 68 0F 5C 2D

    Thank you

  • Hi Jiao,

    Thank you for the clarification. I will follow up tomorrow.

    Best Regards,

    Kristin Jones

  • Hi Jiao,

    I don't have the timing information for the commands that you shared, but I suspect your issue is that there is not a long enough delay after enabling TSREF. After enabling TSREF, you need to wait 380us before sending the next command, otherwise there can be issues with communication. Please refer to section 9.3.1.6 of the datasheet. Otherwise your commands look correct.

    Best Regards,

    Kristin Jones

  • Hi Kristin

    After enabling TSREF,The waiting time is much longer  380us,The voltage can be measured on the hardware circuit,The value of the read register is 80 00

  • Hi Jiao,

    Can you share a logic analyzer capture of the sequence you shared above? I would like to understand the timing, as well as see the SPI_RDY signal during this sequence.

    Best Regards,

    Kristin Jones

  • send the following command to configuration GPIO1 As ADC and OTUT inputs

    SpiWriteReg(0, GPIO_CONF1, 0x01, 1, FRMWRT_STK_W);

    Will appear CUST_CRC FAULT

  • Hi Jiao,

    Can you share the logic analyzer capture of the sequence above? It's expected that you'll see a CUST_CRC_FAULT if you update registers in the OTP space but you do not update the CUST_CRC registers.

    Best Regards,

    Kristin