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: understanding device time access

Part Number: BQ35100

Hello,

I would like to understand which are the perfect timinig to access to bq35100 device. After several field test I findout these time values:

#define TIME_READ_ONLY 0.01       //10 ms
#define TIME_READ_DF 1            //1 s
#define TIME_WRITE_DF 1           //1 s
#define TIME_WRITE_SUBCMD 0.01    //10 ms
#define TIME_WRITE_MAC 1          //1 s
#define TIME_SEND_CMD 0.1         //100 ms
#define TIME_ACCESS_LOCKOUT 4     //4 s

Are there any documents or manuals about this aspect? Moreover, which is the correct wait time for GaugeStart() and GaugeStop() commands? In this case I can not read the proper value inside the control status register, even if I wait 10/15 seconds.
Moreover, are there any delay to have in mind during calibration procedure?

Regards,
Vincenzo

  • Hello Vincenzo,

    I have assigned this to our device expert. He will get back to you soon.

  • Vincenzo,

    When GE gets set high there is an INIT_COMP bit to indicate when the gauge is ready to move forward. It is bit7 in the control register. I am not sure what you mean by gauge_start and gauge_stop time. 

    Gauge_start should be issued after the INIT_COMP is set and when teh gauge processes it the GA bit will go high (bit0 in control). Gauge stop can be issued anytime after that. This will set the GA bit low again.

    The gauge should always return the control status register value (unless GE is low) because communication servicing is the gauges highest priority. If there is an error i suggest a 100mS wait then a retry. 

    In the field i would not expect a write of DF to be occurring. The gauge should handle all functions needed. 

    Calibration does not have any timing requirements. It should be done in ACC mode only and you should read from the gauge to make sure you are reading consecutive samples. 

    Thanks,

    Eric Vos