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.

TMS320F28075: TMS320F28075: "NaN" value for variable

Part Number: TMS320F28075

Hi Champion,

My customer find one of F28075 in address: 0x148C(CLA2CPURAM) will have NaN value always, if they put one variable here and not  initialize it in Task 8, it will happen,  if initialize it a value, then it will fix. So we want toknow why just this specific  address  will report NaN value before initialize. What means NaN in CCS? Because this issue is happen in factory , so we should know its root cause and customer project MP now, they want to know its rate to decide whether update their code. The variable is in CLA2CPU RAM like below CLAfLKdcm, 

BR

Joe

  • Hi Champion.

    Now we just find it in CLA2CPU Ram, rate is 0.2%. Mainly in 0x148a, 0x148c. Do you know its root cause, all happen in factory.

    BR
    Joe
  • When are you noticing this? Is it after loading a program? Is it after POR or XRSn?

    If the application does not initialize the memory section, and a program is loaded, then the memory could be initialized to anything. It is best practice to initialize variables in C.

    sal