SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
The hardware semaphore functionality is simple. To reserve a resource such as the rights to access and use a module, the System CPU application requests a specific semaphore by read operation. The read value determines the ownership:
To reserve a resource such as the rights to access and use a module, the Sensor Controller task requests a specific semaphore by read operation. The read value determines the ownership:
Only the owner of a semaphore shall release it by writing the value 1 to the semaphore. There is no hardware mechanism that forces this rule.
To avoid polling and to save power, the System CPU can request a semaphore by writing the SMPH_ID to AUX_SMPH:AUTOTAKE.SMPH_ID. The AUX_EVCTL:EVTOMCUFLAGS. The AUX_SMPH_AUTOTAKE_DONE event becomes 1 when that semaphore belongs to the System CPU. The Sensor Controller must not use this feature. There is no hardware mechanism that forces this rule.