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/TMS320F28379D: invalid type conversion warning for .cla file pointer value assignment

Part Number: TMS320F28379D


Tool/software: Code Composer Studio

Hi, there

I am trying to assign a value to a pointer in .cla file, a warning keep coming up. Here's what I have.

1. In one of .h file, I defined a address in the CLA Message RAM

#define pfCLA_TO_CPU1_DATABUF_CH1               (volatile float *)          0x00001482 

2. in the .cla file, I defined a volatile float pointer and assigned this address to the pointer:

volatile float      *pf_SetFrq;

pf_SetFrq               =   pfCPU1_TO_CLA_SETFRQ_CH1;

there comes the warning: "#173-D invalid type conversion"

What I did wrong and How can I get rid of it.

Thanks