Hi,
I am trying a program with CLA. In which i need to get the data ROM values for each address request from CLA. I have configured two variables as given below
uint32_t cla_input; // in CPU to CLA message RAM (This may be changed to uint16_t as mapping in perspective of CLA)
uint16_t cla_output; // in CLA to CPU message RAM
uint32_t rom_address = 0x01001070U; // ROM address (This may be changed to uint16_t as mapping in perspective of CLA)
I am assigning a value say CLA data ROM start address as cla_input (cla_input = rom_address ;) and software triggering the task . The task is written below, in which the expected functionality is to simply read the 'cla_input ' variable and treat it as a ROM address. From the ROM address CLA shall read the value and stores the value to the 'cla_output ' variable. Upon task completion C28x shall read the cla_output value as uint16_t data.
__interrupt void claTask (void)
{
cla_output = *((uint16_t *) cla_input);
}
Upon compilation i am getting a warning - #173D: invalid type conversion.
How can i change the the cla task code with out warning?
Also where can i find the CLA data ROM memory map. I have found a memory map in section 3.9.3.2 and 3.9.3.4.2 in TRM and nothing more. What should be the exact start and end address in the perspective of CLA. Is it from 0xF070 to 0xFFFF ?