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.

TMS320F28388D: Question about 28388D memory allocation

Part Number: TMS320F28388D

Hello teacher, I have been using 28388D to do algorithmic computation recently, CPU1 is used to receive data and send the data to CPU2 through IPC, CPU2 carries out real-time algorithmic updating iteration, but the following problem occurs when I am using it, the variable start_flag that I have set up can't be assigned with a value, may I know what is the reason for this situation, looking forward to hearing from you!

// Read the command
//
IPC_readCommand(IPC_CPU2_L_CPU1_R, IPC_FLAG0, IPC_ADDR_CORRECTION_ENABLE,
&command, &addr, &data);

if(command == IPC_CMD_READ_MEM)
{
status = true;

//
// Read and compare data
//
for(i=0; i<data; i++)
{
recbuf[i]=*((uint32_t *)addr + i);
GPIO_writePin(DEVICE_GPIO_PIN_IPC, 0);
if(recbuf[i] == 0x23)
{
start_flag = 1;
}
if(start_flag)
{
if(recbuf[i] == 0)
{
continue;
}
if(recbuf[i] == 0x2C)
{
start_cnt++;
}
if(recbuf[i] == 0x0A && start_cnt >= 18)
{
CPU2_flag=1;
start_cnt=0;
start_flag=0;
break;
}
}
}
GPIO_writePin(DEVICE_GPIO_PIN_IPC, 0);
}

Is it a memory allocation problem?

Thank you very much!