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.

Data Log module

Other Parts Discussed in Thread: CCSTUDIO, CONTROLSUITE

Hi,

What is DataLog module ? can any one explain about this and provide documents to understand.

i found this in Renewble kit software.I  need to generate SPWM signal to drive MOSFET bridge Inverter.

why datalog module is required ?

please help me

 

Thanks & Regards,

Naveen Rangu

  • Naveen,

     

    Did you every get any information on the DataLog module?

     

    Cheers,

    Seán

  • It's used to pass information to CCStudio for graphing / debu.

    See section 2.3.4 of SPRGUI6

    http://focus.ti.com/lit/ug/sprugi6/sprugi6.pdf

    It's used in all of the Motor Control systems in www.ti.com/controlSUITE

     

  • Thanks Chris,

    I was under the impression that it was a storage location for Data - i.e. Data Memory that I could use to store a reference sine wave for example and access it whenever I was comparing with my triangular wave. (Especially when you set aside memory on Page 1 in the *.cmd file)

    I am also having great difficulty in viewing DLOG_4CH_buff1 with Code Composer - it does not display anything when I set up the graph, or in the watch window, telling me that it can not load from a non-primitive location.

     

    Cheers,

    Seán

  • SeAn,

    DLOG_4CH_buff1  is a term used in the assembly file (which we call with the C function in our code)

    Have you looked at any of the High Voltage Kit motor control examples in www.ti.com/controlsuite ?

    They all use the DLOG function

    // ------------------------------------------------------------------------------

    //    Connect inputs of the DATALOG module 

    // ------------------------------------------------------------------------------

        DlogCh1 = (int16)_IQtoIQ15(svgen_dq1.Ta);

        DlogCh2 = (int16)_IQtoIQ15(svgen_dq1.Tb);

        DlogCh3 = (int16)_IQtoIQ15(svgen_dq1.Tc);

        DlogCh4 = (int16)_IQtoIQ15(svgen_dq1.Tb-svgen_dq1.Tc);