AnsweredAssumed Answered

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

Question asked by Brent Greenwald on Aug 3, 2016
Latest reply on Aug 4, 2016 by Hui_Ma

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.

Outcomes