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.

Compiler: 6.4.12 vs 6.2.5

Other Parts Discussed in Thread: TMS320F28069

Tool/software: TI C/C++ Compiler

Hello all,

One of my colleague has the following issue when switching from 6.2.5 to 6.4.12:

 At input of a SPI driven sensor, he generates a sinusoid, on a TMs320f28069, then, build it back up with the acquired numerical data.

 

When compiling with 6.4.12, the acquisition looks like:

 

 

When compiling with 6.2.5:

 

 

It appears that when compiling with 6.4.12, the "DSP" receives a bunch of "0" that are not seen with the old compiler...

Any idea why?

 

  • Your screenshots did not come through, so I'm not sure how the outputs were different between the two versions. Assuming you had intended to attach some graphs of data, I don't think that will still give us enough information to isolate the problem. 

    Is the version of compiler the only difference between the two builds? Are you able to narrow down the issue to a specific region of code where 6.4.12 is perhaps generating incorrect code? You could compare the assembly files generated with the two versions and if the issue can be narrowed down to a specific function or region of code, you could compare the assembly code and even step through it in CCS to see where the unexpected values are coming from.