This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

CMSIS Dual-Core semaphore

Hi,

Does someone know if it is possible to implement shared semaphores within dual-core architecture using CMSIS library.

I am working with a LPC4337 dual-core and need to access the same peripheral with both cores.
I tried to use a variable osSemaphoreId mapped in the same address for both firmware but it doesn't work.

Or should I use my own variable and write my own semaphore access ? :/

Parents
  • The Cortex-M0+ core in the NXP LPC4000 series does not offer LDEX/STEX instructions. Since you cannot disable interrupts from the "other" core it is hard to implement an true atomic instruction.

    What type of peripheral access do you need to protect?

Reply
  • The Cortex-M0+ core in the NXP LPC4000 series does not offer LDEX/STEX instructions. Since you cannot disable interrupts from the "other" core it is hard to implement an true atomic instruction.

    What type of peripheral access do you need to protect?

Children