34
FIFO Operation via 8-Bit
μ
Processor
Interface
The Buffer RAM Output may also be accessed via the 8-bit
microprocessor interface C(7:0). Figure 39 shows the con-
ceptual configuration of the 8-bit
μ
processor interface. Con-
trol Word 20 bit 24 must be set to 0 in order to obtain Buffer
RAM data to this output. The Microprocessor Read section
describes how to read the data from each sample out of the
C(7:0) interface.
Recall that INTRRP stays low for 8 PROCCLK cycles. The
FIFO can be read before the INTRRP signal goes low; the
number of samples in the FIFO must be monitored by the user.
Figure 38 illustrates the timing for RAM load sequence.
The read pointer of the FIFO is incremented when Control
Word 23 is written to. The data can not be read from the
next sample until 4 PROCCLKs after the Buffer RAM
pointer has been incremented. Control Word 22 is used to
reset the Read and Write pointers of the Buffer RAM output
to the first sample to 000 and 007 for write and read
respectively.
FIGURE 38. RAM LOAD SEQUENCE
PROCCLK
DATARDY
(I/Q SELECTED)
DATARDY
(R/
φ
SELECTED)
INTRPT
WRITES TO
SNAPSHOT
RAM
I/Q
R/
φ
I
Q
R
φ
DELAY TO DATARDY DEPENDS ON LENGTH OF FIR IF FREQ CHOSEN
TIMING
|r|
φ
Q
DUAL
PORT
RAM
16
ADDRESS
SEQUENCER
INCR
WR
“SET OF WORDS”
16
16
16
D
D
16
I
RD
INCR
WRITE
SEQUENCER
|r|
φ
Q
I
STATUS
0
1
2
3
4
NEW
DATA
M
FIGURE 39. 8-BIT MICROPROCESSOR INTERFACE BUFFER RAM MODE BLOCK DIAGRAM
OUTPUT
DATA
0
1
0
1
0
1
0
1
WRITE
ADDRESS “5”
CONTROL
WORD 23
R0
R1
R2
A0
A1
R0 A1
LSByte
MSByte
2
3
INT(15:0)
INT(22:16)
AGC
A(2:0)
RD
R2, R1, R0
0: I;Q
1: |r|;
φ
2:
4: INPUT AGC
5: AGC; TIMING
M
M
M
M
M
A2, A1, A0
A1
A2
A0
R2 R1 R0 A2 A1 A0 SELECTION
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
1
0
0
0
0
1
0
0
0
0
1
0
1
0
0
1
0
1
0
1
0
0
0
0
1
0
0
0
0
1
1
X
X
1
0
0
0
0
1
0
0
0
0
1
0
0
0
1
1
0
1
0
0
1
0
1
0
0
1
0
1
0
1
1
0
1
0
1
1
1
X
X
X
X
X
X
1
1
0 RAM I LSB
1 RAM I MSB
0 RAM Q LSB
1 RAM Q MSB
0 RAM |r| LSB
1 RAM |r| MSB
0 RAM
φ
LSB
1 RAM
φ
MSB
0 RAM
LSB
1 RAM
MSB
X NOT USED
0 INPUT INTEG LSB
1 INPUT INTEG NMSB
0 INPUT INTEG MSB
0 AGC LSB
1 AGC MSB
0 TIMING LSB
1 TIMING MSB
X NOT USED
1 STATUS
HSP50214