Audio Interface Module (AIM)
MCF5253 Reference Manual, Rev. 1
Freescale Semiconductor
17-11
17.5.1
IIS/EIAJ Transmitter Descriptions
The two I
2
S/EIAJ transmitters operate independently. Each of the transmitters has the capability of
transmitting data from one of several sources:
•
One of the three processor data out registers.
SCLK INVERT
See note 6 following bit these descriptions.
1 Invert on bit clock
0 No invert on bit clock
1
Audio Clk is typically 11.2896 MHz or 16.93 MHz. Actual value given
Chapter 4, “Phase-Locked Loop and Clock
2
When bit 11 is set, FIFO is in reset condition. The FIFO is always re-set to “1 sample remaining”. The value of the remaining
one sample will be all-zero.
3
When Philips I
2
S mode is selected, 16-18-20 bits will yield the same result.
4
Internal interface is 40 bits / sample (20 left + 20 right). 16, 18 bit words are padded with zeros
5
LRCK “invert” will invert the incoming LRCK signal between the pin and the serial data receiver and transmitter
6
SCLK “invert” will invert the incoming SCLK signal between the pin and the serial data receiver and transmitter.
7
Reset to one sample remaining is used to synchronize the data transfer from one input interface to another output interface
running at the same frequency.
8
“Zero” means data is transferred at the sampling frequency, with all data cleared down to digital zero.
9
PDOR1, PDOR2, PDOR3: audio data output registers.
10
Serial data transmit / receive interfaces have no limit on minimum incoming or outgoing sampling frequency. The maximum
SCLK frequency is limited to 1/3 of the internal system clock (CPUclk/2). Mark/space ratio should be equal or better than
38/62.
11
Reprogramming bits 15-12 during functional operation is not allowed. Reprogramming is only allowed while FIFO is in reset
condition (bit 11 set ‘1’)
12
When “digital zero” is selected as the source, the FIFO outputs “zero” on its outgoing data bus, regardless of the input side
and content of the FIFO. No FIFO related exceptions are generated.
13
When the FIFO leaves the reset state, because the user writes a “normal operation” state into the control register, the FIFO
is kept in reset until the first long-word is written to it. As a result, the “start” of the normal operation is synchronized with
the writing of the first data into the FIFO.
14
When IIS/Sony interface LRCK/SCLK is set in “follow IIS” mode, the bit clock and word clock become exactly identical to bit
and word clock of the “followed” interface. If e.g. LRCK/SCLK for IIS interface 2 is set in “follow IIS1”, the DAC or ADC
connected to IIS2 can use the bit clock and word clock of IIS1. Note:- Bit and word clock for IIS2 can be used then used as
GPIO if desired.
15
Bit 16 extends the Tx FIFO control bit and the bit order becomes 16, 10, 9, 8.
16
These bits should be programmed to zero for normal operation. For IIS1 receiver, it is possible to use the special EF/CFLG
insertion mode, by setting bit 18 = 1. This mode is intended to interface with Philips CD decoders (SAA7324 and successors).
When this mode is used, IIS1CONFIG must be programmed to “Sony” mode, 16 bits. The SAA7324 must also be
programmed to “Sony” mode, 16 bits. The CFLG flag coming from SAA7324 must be connected with CFLG input. The EF
flag coming from SAA7324 must be connected with EF input. If all this is done correctly, the device will receive the 16 MSB
‘s of the incoming data in bits [17:2] of the received serial data. Bit [1] of the received data is the EF flag of the corresponding
word, as output by SAA7324. Bit [1] will be set if the MSB or the LSB or both are flagged. Bit [0] of the received data is the
CFLG flag of the corresponding word, as output by SAA7324. These flags can be used for implementing an electronic shock
protection FIFO.
17
For IIS4 only the SCLK4 setting can be used. See
Chapter 12, “Analog to Digital Converter (ADC)
”
for the purpose of this
function.
Table 17-5. IIS Configuration Registers Field Descriptions (continued)
Field
Description
Summary of Contents for MCF5253
Page 1: ...Document Number MCF5253RM Rev 1 08 2008 MCF5253 Reference Manual...
Page 26: ...MCF5253 Reference Manual Rev 1 xxvi Freescale Semiconductor...
Page 32: ...MCF5253 Reference Manual Rev 1 xxxii Freescale Semiconductor...
Page 46: ...MCF5253 Introduction MCF5253 Reference Manual Rev 1 1 14 Freescale Semiconductor...
Page 62: ...Signal Description MCF5253 Reference Manual Rev 1 2 16 Freescale Semiconductor...
Page 98: ...Instruction Cache MCF5253 Reference Manual Rev 1 5 10 Freescale Semiconductor...
Page 104: ...Static RAM SRAM MCF5253 Reference Manual Rev 1 6 6 Freescale Semiconductor...
Page 128: ...Synchronous DRAM Controller Module MCF5253 Reference Manual Rev 1 7 24 Freescale Semiconductor...
Page 144: ...Bus Operation MCF5253 Reference Manual Rev 1 8 16 Freescale Semiconductor...
Page 176: ...System Integration Module SIM MCF5253 Reference Manual Rev 1 9 32 Freescale Semiconductor...
Page 198: ...Analog to Digital Converter ADC MCF5253 Reference Manual Rev 1 12 6 Freescale Semiconductor...
Page 246: ...DMA Controller MCF5253 Reference Manual Rev 1 14 18 Freescale Semiconductor...
Page 282: ...UART Modules MCF5253 Reference Manual Rev 1 15 36 Freescale Semiconductor...
Page 344: ...Audio Interface Module AIM MCF5253 Reference Manual Rev 1 17 46 Freescale Semiconductor...
Page 362: ...I2 C Modules MCF5253 Reference Manual Rev 1 18 18 Freescale Semiconductor...
Page 370: ...Boot ROM MCF5253 Reference Manual Rev 1 19 8 Freescale Semiconductor...