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.

CCS/TMS320F28335: Variable is not updated.

Part Number: TMS320F28335


Tool/software: Code Composer Studio

Very strange problem. Not sure it's related to CCS. Any way.

Int16 tiltX;
Int16 tiltY;
Uint8 angle_sens_buf[15];


tiltX = (Int16)((angle_buff[5] << 8) | angle_buff[6]) / 100;
tiltY = (Int16)((angle_buff[7] << 8) | angle_buff[8]) / 100;

In Debug with Continuous Refresh option I see angle_buff[5] - angle_buff[i] updated as should be - every 100ms. tiltX, tiltY updated every 5 sec. I thought it's just a GUI issue but the receiving side gets tiltX, tiltY updated data every 5 sec also. Struggling with the problem whole day I'm frustrated a little bit...actually a lot.