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.

BQ32002: connecting with Arduino time not updating

Part Number: BQ32002
Other Parts Discussed in Thread: BQ32000

Hi,

 When i connect BQ32002 RTC with Arduino,i am able to write time to RTC but time is not updating.

I checked it by connecting a pullup at sda and scl line.Again the same issue.

Please give a solution.

Regards,

Dhanya

  • Hi Dhanya,

    Could you share the schematic for review? What is the voltage of VCC and Vback?

    Next, need to confirm that the XTAL oscillator is functioning. Clear the OF bit after initializing the registers and read back to check if there is an oscillator failure.

    You can review the BQ32000 linux driver here: 

    Note that BQ32002 does not have the integrated trickle charger, but these registers will still be defined in the driver

    Kind regards,
    Lane

  • Hi Lane,

      Sorry for the delay in replying.

    connection of Arduino and BQ32002 is as follows

    SDA(A4) ------------- SDA 9BQ32002)

    SCL(A5)-------------SCl(bq32002)

    vCC(3.3V)----------------------vCC(bq32002)

    gnd(aRDUINO--------------------gnd(bq32002)

    Lane Boyd said:
    What is the voltage of VCC and Vback?

    vCC =3.3v

    Vback not given

    Lane Boyd said:
    Next, need to confirm that the XTAL oscillator is functioning. Clear the OF bit after initializing the registers and read back to check if there is an oscillator failure.

    Oscillator is working  fine because i can read OF bit properly.

    Can u pls send the initializaion steps of BQ32002

    Regrads,

    Dhanya