CYCLIC CODE CO-PROCESSOR
CCOP Programming Model
MOTOROLA
DSP56305 User’s Manual
14-9
On the cycle when the Input Counter reaches zero, CFSR input is disabled and the next
algorithm phase starts, driven by the Run Counter of the CCNT (RC[7:0], CCNT bits
8–15).
When CCOP is in the output phase, CDFR operates as an output data FIFO, i.e. it stores
the output data resulted by the CCOP processing and expects the DSP56300 core to read
it. Output data words are also generated and stored into the CDFR LSB first. CDFR is
accessible via core or DMA. The FIFO state machine is reset to its initial state by
hardware, software or CCOP individual reset.
14.4.2
CCOP Count Register (CCNT)
The CCOP Count Register (CCNT) is a 24-bit read/write register which holds the Input
Counter, Run Counter, and Output Counters. CCNT should be written at initialization
to set up the above counters, according to the algorithm to be processed by CCOP. The
CCNT bits are shown in Figure 14-4 and are described in the following paragraphs.
14.4.2.1
Input Counter (IC[7:0])—CCNT Bits 7–0
The Input Counter (IC[7:0]) is the first byte of the CCNT register. It specifies how many
bits in the CDFR are to be input into the CFSRs (the range is 0 to 120). After loading the
input data into the CDFR, the user should load this counter with the number of valid bits
to be shifted (one bit at a time) into the CFSRs. Starting on the following cycle, the Input
Counter decrements itself each cycle until it reaches zero. Each cycle that the Input
Counter is non-zero, the clock for the shift register is enabled causing a new bit to be
input to the CFSRs. The Input Counter is valid if CM (CCNT bit 23) is cleared, and
ignored if it is set.
14.4.2.2
Run Counter (RC[7:0])—CCNT Bits 15–8
The Run Counter (RC[7:0]) is the middle byte of the CCNT register. It specifies how
many cycles the CFSRs are to be shifted for the run phase, without any new data being
input (i.e. the data in the CFSRs will be modified only by the action of the feedback taps
Figure 14-4
CCOP Count Register (CCNT)
11
10
9
8
7
6
5
4
3
2
1
0
RC3 RC2 RC1 RC0
IC7
IC6
IC5
IC4
IC3
IC2
IC1
IC0
23
22
21
20
19
18
17
16
15
14
13
12
CM OC6 OC5 OC4 OC3 OC2 OC1 OC0 RC7 RC6 RC5 RC4
AA1303
Summary of Contents for DSP56305
Page 34: ...xxxii DSP56305 User s Manual MOTOROLA ...
Page 40: ...xxxvi DSP56305 User s Manual MOTOROLA ...
Page 41: ...MOTOROLA DSP56305 User s Manual 1 1 SECTION 1 DSP56305 OVERVIEW ...
Page 58: ...1 18 DSP56305 User s Manual MOTOROLA DSP56305 Overview DSP56305 Architecture Overview ...
Page 59: ...MOTOROLA DSP56305 User s Manual 2 1 SECTION 2 SIGNAL CONNECTION DESCRIPTIONS ...
Page 98: ...2 40 DSP56305 User s Manual MOTOROLA Signal Connection Descriptions JTAG OnCE Interface ...
Page 99: ...MOTOROLA DSP56305 User s Manual 3 1 SECTION 3 MEMORY CONFIGURATION ...
Page 119: ...MOTOROLA DSP56305 User s Manual 4 1 SECTION 4 CORE CONFIGURATION ...
Page 144: ...4 26 DSP56305 User s Manual MOTOROLA Core Configuration JTAG Boundary Scan Register BSR ...
Page 145: ...MOTOROLA DSP56305 User s Manual 5 1 SECTION 5 GENERAL PURPOSE I O ...
Page 149: ...HOST INTERFACE HI32 MOTOROLA DSP56305 User s Manual 6 1 SECTION 6 HOST INTERFACE HI32 ...
Page 150: ...6 2 DSP56305 User s Manual MOTOROLA HOST INTERFACE HI32 ...
Page 259: ...MOTOROLA DSP56305 User s Manual 7 1 SECTION 7 ENHANCED SYNCHRONOUS SERIAL INTERFACE ESSI ...
Page 315: ...MOTOROLA DSP56305 User s Manual 8 1 SECTION 8 SERIAL COMMUNICATION INTERFACE SCI ...
Page 347: ...MOTOROLA DSP56305 User s Manual 9 1 SECTION 9 TIMER EVENT COUNTER ...
Page 376: ...9 30 DSP56305 User s Manual MOTOROLA Timer Event Counter Timer Modes of Operation ...
Page 377: ...MOTOROLA DSP56305 User s Manual 10 1 SECTION 10 ON CHIP EMULATION MODULE ...
Page 411: ...MOTOROLA DSP56305 User s Manual 11 1 SECTION 11 JTAG PORT ...
Page 430: ...11 20 DSP56305 User s Manual MOTOROLA JTAG Port DSP56305 Boundary Scan Register ...
Page 431: ...Filter Co Processor MOTOROLA DSP56305 User s Manual 12 1 SECTION 12 FILTER CO PROCESSOR ...
Page 471: ...VITERBI CO PROCESSOR MOTOROLA DSP56305 User s Manual 13 1 SECTION 13 VITERBI CO PROCESSOR ...
Page 522: ...13 52 DSP56305 User s Manual MOTOROLA VITERBI CO PROCESSOR References ...
Page 554: ...14 32 DSP56305 User s Manual MOTOROLA CYCLIC CODE CO PROCESSOR Configuration Examples ...
Page 555: ...MOTOROLA DSP56305 User s Manual A 1 APPENDIX A BOOTSTRAP CODE ...
Page 568: ...A 14 DSP56305 User s Manual MOTOROLA Bootstrap Code ...
Page 569: ...Equates MOTOROLA DSP56305 User s Manual B 1 APPENDIX B EQUATES ...
Page 589: ...MOTOROLA DSP56305 User s Manual C 1 APPENDIX C JTAG BSDL ...
Page 590: ...C 2 DSP56305 User s Manual MOTOROLA JTAG BSDL ...
Page 600: ...C 12 DSP56305 User s Manual MOTOROLA JTAG BSDL ...
Page 601: ...MOTOROLA DSP56305 User s Manual D 1 APPENDIX D PROGRAMMING REFERENCE ...
Page 602: ...D 2 DSP56305 User s Manual MOTOROLA PROGRAMMING REFERENCE ...
Page 661: ...Y MOTOROLA DSP56305 User s Manual Index 11 ...
Page 662: ...Y Index 12 DSP56305 User s Manual MOTOROLA ...