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.

C66x Semaphore2



Hi

 I am checking Semaphore2 hardware of C667x and confused how to use Direct and Indirect semaphore. Why is CSL_semAcquireIndirect() pointed DIRECT register address by CSL header?

Regards,
Kenshow

  • Kenshow,

    For indirect semaphore request, we can write 0x0 to either SEM_DIRECT, or SEM_INDIRECT or SEM_QUERY register to achieve it. Please refer to the Chapter 4 and SEM_DIRECTn register descriptions in Semaphore User Guide for details.

    The CSL seems to use the SEM_DIRECT method, which is valid. There should be no difference to use which register for the indirect semaphore request.

    Sincerely,

    Steven