TMS320TCI6487
TMS320TCI6488
Communications Infrastructure Digital Signal Processor
www.ti.com
SPRS358F–APRIL 2007–REVISED AUGUST 2008
8.20 Semaphore
The device contains the Semaphore module for the management of shared resources of the DSP cores.
The Semaphore enforces atomic accesses to shared chip-level resources so that the read-modify-write
sequence is not broken. The semaphore block has unique interrupts to each of the cores to identify when
that core has acquired the resource.
Semaphore resources within the module are not tied to specific hardware resources. It is a software
requirement to allocate semaphore resources to the hardware resource(s) to be arbitrated.
The Semaphore module supports 3 masters and contains 32 semaphores to be used within the system.
There are two methods of accessing a semaphore resource:
•
Direct Access: A core directly accesses a semaphore resource. If free, the semaphore will be granted.
If not, the semaphore is not granted.
•
Indirect Access: A core indirectly accesses a semaphore resource by writing it. Once it is free, an
interrupt notifies the CPU that it is available.
8.20.1 Semaphore Register Description(s)
Table 8-76. Semaphore Registers
HEX ADDRESS
02B4 0000
02B4 000C
02B4 0100
02B4 0104
02B4 0108
02B4 010C
02B4 0110
02B4 0114
02B4 0118
02B4 011C
02B4 0120
02B4 0124
02B4 0128
02B4 012C
02B4 0130
02B4 0134
02B4 0138
02B4 013C
02B4 0140
02B4 0144
02B4 0148
02B4 014C
02B4 0150
02B4 0154
02B4 0158
02B4 015C
02B4 0160
02B4 0164
02B4 0168
02B4 016C
02B4 0170
ACRONYM
REGISTER NAME
Semaphore Peripheral Revision ID Register
Semaphore EOI Register
SEM_PID
SEM_EOI
SEM_DIRECT0
SEM_DIRECT1
SEM_DIRECT2
SEM_DIRECT3
SEM_DIRECT4
SEM_DIRECT5
SEM_DIRECT6
SEM_DIRECT7
SEM_DIRECT8
SEM_DIRECT9
SEM_DIRECT10
SEM_DIRECT11
SEM_DIRECT12
SEM_DIRECT13
SEM_DIRECT14
SEM_DIRECT15
SEM_DIRECT16
SEM_DIRECT17
SEM_DIRECT18
SEM_DIRECT19
SEM_DIRECT20
SEM_DIRECT21
SEM_DIRECT22
SEM_DIRECT23
SEM_DIRECT24
SEM_DIRECT25
SEM_DIRECT26
SEM_DIRECT27
SEM_DIRECT28
Semaphore Direct0 Register
Semaphore Direct1 Register
Semaphore Direct2 Register
Semaphore Direct3 Register
Semaphore Direct4 Register
Semaphore Direct5 Register
Semaphore Direct6 Register
Semaphore Direct7 Register
Semaphore Direct8 Register
Semaphore Direct9 Register
Semaphore Direct10 Register
Semaphore Direct11 Register
Semaphore Direct12 Register
Semaphore Direct13 Register
Semaphore Direct14 Register
Semaphore Direct15 Register
Semaphore Direct16 Register
Semaphore Direct17 Register
Semaphore Direct18 Register
Semaphore Direct19 Register
Semaphore Direct20 Register
Semaphore Direct21 Register
Semaphore Direct22 Register
Semaphore Direct23 Register
Semaphore Direct24 Register
Semaphore Direct25 Register
Semaphore Direct26 Register
Semaphore Direct27 Register
Semaphore Direct28 Register
Submit Documentation Feedback
Peripheral Information and Electrical Specifications
181