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: IPC in FreeRTOS without IPC_sync()

Part Number: TMS320F28388D

Tool/software:

Hello, Mr. Expert,
When I examine the IPC sample codes with FreeRTOS on f28388d board, it seems that IPC_sync() function is not called for synchronization between cores, but IPC_sync() synchronization function is used in IPC samples without freertos.

Can you explain why IPC_sync() function is not used in IPC samples with Freertos?

Best regards

  • Hi,

    It is simply the case that IPC_sync() may or may not be necessary for different examples depending on what those examples are doing.

    I don't think IPC_sync() is really even necessary in our IPC examples without RTOS, but they make the examples cleaner. It was also a good opportunity to showcase a function that users should know about.

    Best Regards,

    Ben Collier

  • Hello, Mr. Expert,
    First of all, thank you for your answer.
    Can you explain the purpose of using IPC_sync() function because I knew that using this function is mandatory in my communication between cores.
    Can you explain in which cases it should be used and in which cases it should not be used by giving an example?

    Best regards

  • Hi,

    Can you explain in which cases it should be used and in which cases it should not be used by giving an example?

    I think this is too application specific for me to answer here. All the IPC_sync() function does is make sure that two cores are in the same place in their program.

    I knew that using this function is mandatory in my communication between cores.

    This is not always the case. I believe some of our IPC examples do not use IPC_sync(). If they do, they are making sure that both CPUs have booted before they start communication. After this check, they do not necessarily need to sync again to communicate further.

    Best Regards,

    Ben Collier