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.

BQ35100: Need write twice control command to work?

Part Number: BQ35100
Other Parts Discussed in Thread: BQSTUDIO

Hi team,

I face a strange symptom: Need write twice control command to work?

I use stop gauge command, but need twice to show on control status.

Please help to confirm.

Thanks

  • are you sending the commands back to back without delays? how are you sending the commands? Are you using Bqstudio or your host controller?

    -Onyx
  • Daniel,

    Please go into more detail on this issue you are seeing. I have tested locally here (log attached) and only issuing the command once is needed.

    Advanced Comm Transaction Log
    
    TimeStamp , Read/Write , Address , Register , Length , Data , 
    2017-08-01 03:06:23 231 , Rd , AA , 00 , 2 , 80 20 
    2017-08-01 03:06:24 762 , Wr , AA , 00 , 2 , 11 00
    2017-08-01 03:06:26 289 , Rd , AA , 00 , 2 , 81 20 
    2017-08-01 03:06:31 687 , Wr , AA , 00 , 2 , 12 00
    2017-08-01 03:06:33 589 , Rd , AA , 00 , 2 , C0 20 
    

    Thanks,

    Eric Vos

  • Dear Onyx,

    I add some delay after each write-operation, then issue is fixed. Currently, I use 800ms.
    Do you have detail about delay to read/write command? We want to know the minimum delay time requirement.

    Thanks
  • TI has recommended that you should not attempt to send reads more often than every 22ms and writes more often than 66ms for Block Read/Write. You may want to add a few more milliseconds for margin to see whether this helps. 

  • Dear TEC,

    Many thanks