Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE
Dear TI Hello,
I am working on the IPC peripheral and I have many questions about the Device_bootCPU2 function used to control the boot for the cpu2.
- I don't understand the process boot of the cpu2, does the cpu2 boot after power up?
- In the Device_bootCPU2 function, I notice that we wait until the CPU2 control system boot? Normally this function is called before any intervention from CPU1, the question is how cpu1 should wait when it doesn't know when cpu2 has started? If the cpu2 is already started why the function is not reset cpu2?
// // Loop until CPU02 control system IPC flags 1 and 32 are available // while (((HWREG(IPC_BASE + IPC_O_FLG) & IPC_FLG_IPC0) != 0U) || ((HWREG(IPC_BASE + IPC_O_FLG) & IPC_FLG_IPC31) != 0U)) { }- The reception of the two flags 1 and 32 means what? the Cpu2 will set these flags due to what?
- I could understand also why TI set the IPCSET register "HWREG(IPC_BASE + IPC_O_SET) = 0x80000001U"?
// //CPU01 to CPU02 IPC Boot Mode Register // HWREG(IPC_BASE + IPC_O_BOOTMODE) = bootMode; // // CPU01 To CPU02 IPC Command Register // HWREG(IPC_BASE + IPC_O_SENDCOM) = BROM_IPC_EXECUTE_BOOTMODE_CMD; // // CPU01 to CPU02 IPC flag register // HWREG(IPC_BASE + IPC_O_SET) = 0x80000001U;
In the reference manual, I am looking for information related to the set of the IPCSET register but I didn't find any information, could help with it, please?
Thank you in advance,
S.Tarik
