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:MCU + SDK上的Atomic命令?

Guru**** 2042920 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1103619/am2434-atomic-commands-on-mcu-sdk

部件号:AM2434

亲爱的Champs:

能否告诉我MCU + SDK中的内核是否支持原子命令/函数?

我的客户在MCU+ SDK中发现了'Atomy.h',但'Atom.h'中的大多数功能似乎不能用于内核。

是否可以在'Atomy.h'中使用原子函数/命令进行内核操作?

是否有这方面的例子? 是否有在AMP中同步内核间线程的示例?

我的客户现在正在使用MCU+ SDK v 8.2 和FreeRTOS。

谢谢,此致,

SI。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    SI,您好!

    使用的是自旋锁。 API位于 C:\ti\MCU_PLUS_SDK_am243x_08_02_00_31\SOURCE \DRIVERS\spinlock\V0\spinlock.h中,使用的示例位于C:\ti\MCU_plus_SDK_am243x_08_02_00_31\examples\IPC\IPC_spindlock_spirdlet_sharem\ipc_me.spinspinspirdlock中 有关自旋锁的更多详细信息,请参阅TRM。

    此致,