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.
Tool/software: TI-RTOS
hi dear:
the m3 run ti-rtos and the c28 run nonsystem.
i have try to config a INT_CTOMPIC1 interrup function to handle the interrupt from C28, but when the m3 start up ,it run to sys_exit .
my quetion is can i config config a interrupt function to handle the interrupt from c28 in rtos ,and how to config it ?
there is some demo like ipc_comm_m3 and ipc_comm_c28 driver , but i do like that can't run in rtos .
I'm not sure I understand the question--can you give me more details? Which core is running to sys_exit? C28 or M3? Is the exit occuring when the M3 sets the IPC flag that is supposed to trigger the interrupt? Or at some other point?
Is the RTOS running on the C28? Is it TI-RTOS or some other?
init_ipc();
/* SysMin will only prnt to the console when you call flush or exit */
System_flush();
at the System_flush the system will be error;
and i test to change the order
System_flush();
init_ipc();
the system will error at he BIOS_start()
When you set up the Hwi you will be able to specify the callback function that will run when an IPC interrupt occurs on the M3. Have you set up a Hwi?
What code do you have running on the C28 side to trigger the interrupt? Is that the part that is causing you trouble? The process on the C28 side doesn't change with or without RTOS. You can still do something like call IPCCtoMFlagSet() to trigger it or just set the appropriate bit in CTOMIPCSET if you don't want to use the drivers.
Whitney