Part Number: TMS320F280049
Tool/software: TI C/C++ Compiler
Hello,
I defined a variable of type int32_t in the CLA2CPU RAM that is used (written) from the CLA. In the expression window this variable is from type int and the shown value is got from the lower 16bits (truncated)!
The calculation in the CLA is OK. The CPU get the full-32 value. Just the display by debugging is wrong. I think the problem is that the variable is seen from the CCS as int and not as long. This is maybe because of the different length of the base-type "int" between CPU and CLA (in stdin.h):
#if defined(__TMS320C28XX_CLA__)
typedef int int32_t;
#else
typedef long int32_t;
#endif
Do You have some help/workaround to solve this problem?
I'm using:
- CCS Version 7.2.0.00013
- Compiler TI v 16.9.6.LTS
Thanks a lot, best regards
Luca
Please see also:
https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/656777/2413198#2413198