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.

BQ3060: n support for the code example for the bq3060

Part Number: BQ3060

Hello .

     i am using bq3060 ic for the battery management system . i am working on this completely from 3 day but i am not able to get the any value for any parameter by sending command. here is my programe

 i2cREG1->MDR |=  (1U << 10U) ;
        i2cREG1->MDR |=  ( 1U << 9U);

  //  i2c_device_master_tx_data( 0x08 , &array_data , 11);



        i2c_device_start_condition();
//
        i2c_device_set_slave_address(0x16);

        i2c_device_send_data_byte(0x00);
        while(0 != (i2cREG1->STR & ((uint32)1U<<12U)));
        i2c_device_send_data_byte(0x60);
        while(0 != (i2cREG1->STR & ((uint32)1U<<12U)));
        i2c_device_stop_condition();

        for(delay=0;delay<10000000;delay++);

       while(0 != (i2cREG1->STR & ((uint32)1U<<12U)));

         i2c_device_start_condition();
        //
         i2c_device_set_slave_address(0x16);


        i2c_device_send_data_byte(0x00);

         i2c_device_send_data_byte(0x61);

        i2c_device_stop_condition();

        for(delay=0;delay<10000000;delay++);

please help me by providing the basic simple programe to read the temperature or voltage.