
Processor Interface Overview
MOTOROLA
Audio Functions
17-25
PDIR2 (Processor data in). Same function as PDIR1. Single 32-bit register contains both Left + Right
in 16-bit precision. Data flowing in is selected by source multiplexer 16. Control via register
PDIR3-L, PDIR3-R (Processor data in). This function is identical to PDIR1. Data flowing in is selected
by source multiplexer 16b. Control via register DataInControl(19:16). (
Table 17-24) 17.4.2.1
Data In Selection
The DataInControl register determines what data will be in the PDIR1 input data FIFO, in PDIR2 input data
FIFO, and in the PDIR3 input data FIFO. All fifo’s are six-deep, and have programmable “full” indication.
Note:
The DataInControl register bits 7:6 allow selection when FIFO full flag is set. This is necessary due to polling. It may be necessary to service
the FIFO when it is less than completely full. For PDIR2, only interrupt-driven and DMA-driven read-out is supported.
Table 17-24 DataInControl Register
BITS
31
30
29
28
27
26
25
24
23
22
21
20
19
18
1
7
16
FIELD
PDIR3
ZERO
CTRL
PDIR3
RESET
PDIR3 FULL
INTERRUPT
SELECT PDIR3
RESET
0
R/W
BITS
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
FIELD
PDIR2 FULL
INTERRUPT
SELECT
PDIR2
SELECT
PDIR1
PDIR2
ZERO
CTRL
PDIR1
ZERO
CTRL
PDIR2
RESET
PDIR1
RESET
PDIR FULL
INTERRUPT
SELECT
SELECT PDIR2
SELECT PDIR1
RESET
0
R/W
ADDR
MBAR2 + 0X30 (RESET 0X00)
Table 17-25 DataInControl Bit Descriptions
FIELD
NAME
DESCRIPTION
RESET
23
PDIR3 ZERO
CONTROL
0: normal operation
1: Always read zero from PDIR3
0
22
PDIR3 RESET
0: normal operation
1: reset PDIR3 to one sample remaining
0
21:20
PDIR3 FULL
INTERRUPT SELECT
00: full interrupt if at least 1 sample in fifo
01: full interrupt if at least 2 samples in fifo
10: full interrupt if at least 3 samples in fifo
11: full interrupt if at least 6 samples in fifo
00
19:16
SELECT PDIR3
0000: off
0001: PDOR1
0010: PDOR2
0011: unused
0100: iis1RcvData
0101: iis3RcvData
0110: iis4RcvData
0111: ebu1RcvData
1000: ebu2RcvData
000
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.