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.

AM2434: ATOMIC commands on MCU+ SDK?

Part Number: AM2434

Dear Champs,

Could you please let me know if there are atomic commands/functions supported for inter-cores in MCU+ SDK?

My customer found 'Atomic.h' in the MCU+ SDK, but it seems most of functions in 'Atomic.h' can not be used for inter core.

Is it possible to use Atomic functions/commands in 'Atomic.h' for inter-core operation?

Is there any examples for this? Is there any examples to sync inter-core threads in AMP?

My customer is using MCU+ SDK v8.2 and FreeRTOS now.

Thanks and Best Regards,

SI.

  • Hi SI,

    The spinlock is the one to use. The API is in C:\ti\mcu_plus_sdk_am243x_08_02_00_31\source\drivers\spinlock\v0\spinlock.h and the example to use it is in C:\ti\mcu_plus_sdk_am243x_08_02_00_31\examples\drivers\ipc\ipc_spinlock_sharedmem\ipc_spinlock_sharedmem.c. You can refer to TRM for more details about the spinlock.

    Best regards,

    Ming