Part Number: TMS320F28377S
I have the following problem:
When I have a bunch of variables the communication works fine between cla and MCU. Only If I put those variables in a struct, it doesn't work any more. All the variables are 32 bit .
I assign the following:
typedef struct{
uint32_t res_iqangle_pu;
uint32_t res_anglelength;
int32_t res_speed_hz;
int32_t res_poserror_cnts;
int32_t res_zero_cnts;
motorpos_t res_pos_cnts;
} volatile resolver_result_t;
#pragma DATA_SECTION(resolver_result,"Cla1ToCpuMsgRAM")
#pragma DATA_ALIGN (resolver_result,4)
volatile resolver_result_t resolver_result;
How do solve this?
Thanks.