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.

TMS320F28069F: InstaSPIN Projects and Labs: the file of proj_lab10a.c

Part Number: TMS320F28069F

Hello,

I have a question on the InstaSPIN Projects and Labs.

Specifically it is on the file of proj_lab10a.c.

On the code line 112, the global variable of gCmpOffset is declared and initialized as follows:

// set the offset, default value of 1 microsecond
int16_t gCmpOffset = (int16_t)(1.0 * USER_SYSTEM_FREQ_MHz);

However I am not able to find any place where the global variable of gCmpOffset is used.

Is this variable being used in the scope of the project?

Thank you for your guidance.

With regards,

G. Kim