SPORT Programming Examples
9-82
ADSP-2126x SHARC Processor Hardware Reference
r0 = dm(i4,m4);
dm(TXSP2A) = r0;
/* Receive data via SPORT3 and save via DAG2 */
r0 = dm(RXSP3A);
pm(i12,m12) = r0;
_main.end:
jump (pc,0);
Listing 9-3. SPORT Transmit Using DMA
/* SPORT DMA Parameter Registers */
#define IISP4A
0x840
#define IISP5A
0x848
#define IMSP4A
0x841
#define IMSP5A
0x849
#define CSP4A
0x842
#define CSP5A
0x84A
/* SPORT Control Registers */
#define DIV4
0x802
#define DIV5
0x803
#define SPCTL4
0x800
#define SPCTL5
0x801
#define SPMCTL45 0x804
/* SPMCTL Bits */
#define SPL
0x00001000
/* SPCTL Bits */
#define SPEN_A
0x00000001
#define SDEN_A
0x00040000
#define SLEN32
0x000001F0
#define SPTRAN
0x02000000
#define IFS
0x00004000
Summary of Contents for ADSP-21261 SHARC
Page 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Page 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Page 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Page 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Page 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Page 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Page 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Page 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Page 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Page 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Page 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Page 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...