Hello,
I want to use DataLOG module in C28027 micro based project. For this feature,
- DLOG4CH-HVPM_eSensorless.h and DLOG4CHC.ASM files are added to project. And initializations and calling are shown below are done in main .c file by taking referance HVPMSM_sensorless.
F2802x_Headers_nonBIOS.CMD file under the adress device support/ f2802x / v210 / f2802x_headres / cmd and f28027.CMD file under the adress device support/ f2802x / v210 / common/ cmd is used or the project.
After compiling project the warning "warning #10247-D: creating output section "DLOG" without a SECTIONS" is seen in the CCS editor.
And after running project and then graph under the folder HVPM_Sensorless graph1.graphProp - graph2.graphProp I cant see any variables on the graph. What can be the problem?
int16 DlogCh1 = 0;
int16 DlogCh2 = 0;
int16 DlogCh3 = 0;
int16 DlogCh4 = 0;
-DLOG_4CH dlog = DLOG_4CH_DEFAULTS;
// Initialize DATALOG module
dlog.iptr1 = &DlogCh1;
dlog.iptr2 = &DlogCh2;
dlog.iptr3 = &DlogCh3;
dlog.iptr4 = &DlogCh4;
dlog.trig_value = 0x1;
dlog.size = 0x00c8;
dlog.prescalar = 5;
dlog.init(&dlog);
DlogCh1 = (int16)_IQtoIQ15(svgen1.Ta);
DlogCh2 = (int16)_IQtoIQ15(svgen1.Tb);
DlogCh3 = (int16)_IQtoIQ15(svgen1.Tc);
DlogCh4 = (int16)_IQtoIQ15(svgen1.Tb-svgen1.Tc);
Regards,