How do you set up a semaphore (atomic test and set) for a k21 prossesor?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do you set up a semaphore (atomic test and set) for a k21 prossesor?

ソリューションへジャンプ
878件の閲覧回数
brentgreenwald
Contributor III

We are trying to make a semaphore where if the critical section is in use it will send back a signal stating it is busy. We went through the bare metal machine code on the arm to try to figure it out but we still don't know how to do it. we are doing it on a MK21FN1M0VMC12 MCU on the TWR-K21F120M dev board.

ラベル(2)
0 件の賞賛
返信
1 解決策
730件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

Semaphore is an Embedded RTOS component.

Customer could find NXP MQX RTOS provide that component and NXP also provides KSDK software supports FreeRTOS and uc-OS III RTOS.


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
731件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

Hi

Semaphore is an Embedded RTOS component.

Customer could find NXP MQX RTOS provide that component and NXP also provides KSDK software supports FreeRTOS and uc-OS III RTOS.


Wish it helps.

Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信