A1
A0
B15
B14 B13
B12
B11
B10
B9
B8
B7
B6
B5
B4
B3
B2
B1
B0
C15
ACLKX
AXR
AXEVT
N ACLKX cycles (N=number of bits in slot)
AXEVT
Latency
(for Word C)
Service time
Setup time
(for Word C)
3 McASP
system
4 ACLKX cycles
(to write Word C)
5 McASP
system clocks
(A)
Preliminary
www.ti.com
Architecture
Figure 10-25. Processor Service Time Upon Transmit DMA Event (AXEVT)
A
Refer to the device-specific data manual for the McASP system clock source. This is not the same as AUXCLK.
Example 10-1. Processor Service Time Calculation for Transmit DMA Event (AXEVT)
The following is an example to show how to calculate Processor Service Time. Assume the following setup:
•
Device: C64x+ DSP at 300 MHz.
•
McASP transmits in I2S format at 192 kHz frame rate. Assume slot size is 32 bit.
With the above setup, we obtain the following parameters corresponding to
•
Calculation of McASP system clock cycle:
–
C64x+ DSP uses SYSCLK2 as the McASP system clock. It runs at 150 MHz (half of device frequency).
–
Therefore, McASP system clock cycle = 1/150 MHz = 6.7 ns.
•
Calculation of ACLKX clock cycle:
–
This example has two 32-bit slots per frame, for a total of 64 bits per frame.
–
ACLKX clock cycle is (1/192 kHz)/64 = 81.4 ns.
•
Time Slot between AXEVT events:
–
For I2S format, McASP generates two AXEVT events per 192 kHz frame.
–
Therefore, Time Slot between AXEVT events is (1/192 kHz)/2 = 2604 ns.
•
AXEVT Latency:
= 5 McASP system clocks
= 6.7 ns × 5 = 33.5 ns
•
Setup Time
= 3 McASP system 4 ACLKX cycles
= (6.7 ns × 3) + (81.4 ns × 4)
= 345.7 ns
•
Processor Service Time
= Time Slot - AXEVT Latency - Setup Time
= 2604 ns - 33.5 ns - 345.7 ns
= 2225 ns
1041
SPRUGX9 – 15 April 2011
Multichannel Audio Serial Port (McASP)
© 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...