Analog Devices ADSP-SC58 Series Hardware Reference Manual page 783

Sharc+ processor
Table of Contents

Advertisement

Transmitted Word Count Register
The
register holds a count of the number of words remaining to be transmitted by the SPI. To start the
SPI_TWC
decrement of the word count in SPI_TWC, enable the transmit word counter (SPI_TXCTL.TWCEN =1). The SPI
uses the word count to control the duration of transfers and to signal the completion of a burst of transfers with the
transmit finish interrupt request. In DMA mode, the SPI uses the
transmitted during a DMA transfer is equal to the number of words programmed in the DMA channel controller.
The values programmed into the
SPI_TWC
maintains the number of frames to be transmitted in a transfer. The
when the counter is disabled.
Figure 16-37: SPI_TWC Register Diagram
Table 16-35: SPI_TWC Register Fields
Bit No.
(Access)
15:0
VALUE
(R/W)
ADSP-SC58x/ADSP-2158x SHARC+ Processor Hardware Reference
registers should match the word count in the DMA configuration. The
SPI_TWC
15
14
13
0
0
0
VALUE (R/W)
Transmitted Word Count
31
30
29
0
0
0
Bit Name
Transmitted Word Count.
The SPI_TWC.VALUE bits hold the transmit transfer word count.
SPI_TWC
12
11
10
9
8
7
6
5
0
0
0
0
0
0
0
0
28
27
26
25
24
23
22
21
0
0
0
0
0
0
0
0
Description/Enumeration
ADSP-SC58x SPI Register Descriptions
to ensure that the number of frames
SPI_TWC
should only be changed
4
3
2
1
0
0
0
0
0
0
20
19
18
17
16
0
0
0
0
0
16–77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-2158 series

Table of Contents