Preliminary
Inter-Processor Communication
www.ti.com
1.12.4 IPC Component Configuration
1.12.4.1 Shared Memory
Shared memory will be used as necessary for the IPCs of the system. Care must be taken to ensure that
cache coherency is maintained.
1.12.4.2 IPC Interrupt Module - Mailboxes
Interrupts used by IPCs are generated from Mailbox modules.
All mailboxes use interrupts with both an active high level and active low level. The appropriate type of
interrupt is connected to each processor based on the characteristics of that processor.
Each mailbox shall provide 2 messages per mailbox submodule.
1.12.4.3 Hardware Spinlocks
Spinlocks are pared down semaphores designed to provide direct access mutex support without the need
for interrupt generator or queues. Spinlocks can be used very effectively as a mechanism to protect data
structures in shared memory space that might be accessed by multiple processing cores simultaneously.
They can be utilized if the following conditions apply:
1. The time to hold the lock is predictable and small. (How small is a hardware/software system design
consideration. For example a maximum hold time of less than 200 CPU cycles may be acceptable.)
2. The locking task cannot be preempted or suspended or interrupted while holding the lock. (This would
make the hold time large and unpredictable.)
3. The lock is lightly contended, i.e., the chance of any other process (or processor) trying to acquire the
lock while it is held is small.
If these conditions hold, then the locking code can retry a failed attempt to acquire the lock until success.
The spin lock unit is responsible for providing hardware assistance for synchronizing the processes
running on multiple processors in the device:
•
The application processor (ARM Cortex-A8)
•
C674x™
Hardware spinlocks are used by SysLink and IPC products to provide multi-core mutual-exclusion
between the processors on this SoC. This is used to protect access to control structures in shared
memory. In addition spinlocks can provide a mutual exclusion mechanism that could be used in a system
level resource manager.
This SoC has 64 spinlocks for the system.
Table 1-86. Hardware Spinlock Configuration
Hardware Spinlocks
Name
Configuration
0..63
SPINLOCK_0 ..
No configurable options
SPINLOCK_63
208
Chip Level Resources
SPRUGX9 – 15 April 2011
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...