Post Go back to editing

Reading cell voltage from LTC6813IC.

I am using TMS570LS1224 micro controller .and demo circuit 1941D and LTC6813 ic.

i am trying to read voltage .but i am able to read voltage of only few cells.

so, what should i do. 

Parents Reply Children
  • hii Sgarg,

    when i put PLDAC command then it is showing 0xFF.

    And Pec is coming 0x6c.

    pec_error =0x06

    while (1)
    {
    /* USER CODE END WHILE */
    wakeup_idle(TOTAL_IC);
    //delay_sec(1);
    LTC6813_wrcfg(TOTAL_IC,bms_ic); // writes onto configuration register A
    LTC6813_wrcfgb(TOTAL_IC,bms_ic); // writes onto configuration register B
    //delay_sec(1);
    delay_ms(5);
    LTC6813_clrcell();
    LTC6813_adcv(ADC_CONVERSION_MODE,ADC_DCP,CELL_CH_TO_CONVERT);
    m=LTC681x_pladc();
    //LTC6813_pollAdc();

    LTC6813_rdcv(NO_OF_REG,TOTAL_IC,bms_ic);

    delay_ms(5);

    for (current_ic = 0 ; current_ic < TOTAL_IC; current_ic++)
    {
    for (i=0; i<bms_ic[0].ic_reg.cell_channels; i++)
    {

    voltage[i] =(bms_ic[current_ic].cells.c_codes[i]*0.0001);
    //delay_ms(100);
    }
    }

    }
    /* USER CODE END */
    }

  • Hii Sgarg,

    i am ready to give you Remote access of my system.

    If u don't mind.

    Because this is very important project for me.

    Please guide me.

    my mail id is kashyap.vector866@gmail.com

  • Hi,

    What are the Sequence of commands we need to get the Cell Voltages from LTC6813,

    I'm trying to Communicate LTC6813 using Arduino over the SPI Communication with (LTSketchbook) Examples over the SPI Communication.

    Please share the Sequence which i need to follow to get the Cell Voltages of the connected Battery.

    Suggest the options which i need to select for get the Cell volatages.

    Note: Every power ON the Same Sequence is mandatory For Register Writings or one time is enough(EEPROM Savings are there?)