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.

Using DLog_1Ch from C

Other Parts Discussed in Thread: CONTROLSUITE

Hi, 

I'm working with the F28035 explorer kit and I'm trying to use the DLog_1Ch module from the digital power library. I have no asm files in my project and I can't figure out how to compile my stuff. I always end up with an undefined symbol. DLog_1Ch.asm is in my project. I included dplib.h from my main C file. 

extern volatile long *DLOG_1ch_Input1;
volatile int32 loggedValue;

DLOG_1ch_Input1 = &loggedValue;

This is what I have left trying to compile it. DLOG_1ch_Input1 always end up being undefined... I looked at the project PFC2PhiL which is using the Dlog module but it's using it from assembly... Is it a must?

Thanks!

  • For documentation on Digital Power Library refer to

    controlSUITE\libs\app_libs\digital_power\f2803x_v3.3\Doc

    For this module from digital power library a C-Assembly framework is essential,

    We have another datalog buffer module used in Motor Control application, that can be used from a C ISR

    Please Look at the reference example located at

    \development_kits\HVMotorCtrl+PfcKit_v2.0\HVACI_Sensorless

    Regards

    Manish Bhardwaj

  • Hi
    I am using F28335
    I want to see the graph variables in CCS v6, my code is:
    befor main:
    DLOG_1CH_F dlog_1ch1;
    float32 DBUFF_1CH1[300];
    float32 dval1;

    in main:
    DLOG_1CH_F_init(&dlog_1ch1);
    dlog_1ch1.input_ptr = &dval1; //data value
    dlog_1ch1.output_ptr = &DBUFF_1CH1[0];
    dlog_1ch1.size = 100;
    dlog_1ch1.pre_scalar = 5;
    dlog_1ch1.trig_value = 1;
    dlog_1ch1.status = 2;

    in ISR code

    dval1= (Vd);
    DLOG_1CH_F_FUNC(&dlog_1ch1);
    DLOG_1CH_F_MACRO(dlog_1ch1);
    I runed the project, but the graph of (Vd) is incorrect
    Can you help me please?
  • Hello,

    Please consider creating a new post if the discussion on this thread doesn't answer your question. Old posts are generally closed and no longer tracked. You can provide the necessary information regarding your issue in the new post and include a link to this post if you'd like.

    Elizabeth