Inter-Integrated-Circuit Sound (I2S) Controller; External Interface To Codec; Signal Descriptions - Intel PXA255 Developer's Manual

Intel computer hardware user manual
Hide thumbs Also See for PXA255:
Table of Contents

Advertisement

Inter-Integrated-Circuit Sound (I2S) Controller

14.2

Signal Descriptions

SYSCLK is the clock on which all other clocks in the I
frequency between approximately 2 MHz and 12.2 MHz by dividing down the PLL clock with a
programmable divisor. This frequency is always 256 times the audio sampling frequency. SYSCLK
is driven out of the processor system only if BITCLK is configured as an output.
BITCLK supplies the serial audio bit rate, which is the basis for the external CODEC bit-sampling
logic. BITCLK is one-quarter the frequency of SYSCLK and is 64 times the audio sampling
frequency. One bit of the serial audio data sample is transmitted or received each BITCLK period.
A single serial audio sample comprises a "left" and "right" signal, each containing either 8, 16 or
32 bits.
SYNC is BITCLK divided by 64, resulting in an 8 kHz to 48 kHz signal. The state of SYNC is
used to denote whether the current serial data samples are "Left" or "Right" channel data.
The SDATA_IN and SDATA_OUT data pins are used to send/receive the serial audio data to/from
the CODEC.
Table 14-1
Table 14-1. External Interface to CODEC
Name
GP32/SYSCLK
GP28/BITCLK
GP31/SYNC
GP30/SDATA_OUT
GP29/SDATA_IN
BITCLK can be configured either as an input or as an output. To program the direction, follow
these steps:
1. Program SYSUNIT's GPIO Direction Register (GPDR). See
Direction Registers (GPDR0, GPDR1, GPDR2)" on page 4-8
2. Program SYSUNIT's GPIO Alternate Function Select Register (GAFR). See
"GPIO Alternate Function Register (GAFR0_L, GAFR0_U, GAFR1_L, GAFR1_U,
GAFR2_L, GAFR2_U)" on page 4-16
3. Program the BCKD bit in the I2SC's Serial Audio Control Register. See
"Serial Audio Controller Global Control Register (SACR0)"
Note: Modifying the status of the SACR0[BCKD] bit during normal operation can cause jitter on the
BITCLK and can affect serial activity.
If BITCLK is an output, SYSCLK must be configured as an output. If BITCLK is supplied by the
CODEC, the GPIO pin GP32 can be used for an alternate function. To configure the pin as an
output, follow these steps:
1. Program SYSUNIT's GPIO Direction Register (GPDR). See
Direction Registers (GPDR0, GPDR1, GPDR2)" on page 4-8
14-2
lists the signals between the I
Direction
O
System Clock = BITCLK * 4 used by the CODEC only.
I or O
bit-rate clock = SYNC * 64
O
Left/Right identifier
O
Serial audio output data to CODEC
I
Serial audio input data from CODEC
2
S unit are based. SYSCLK generates a
2
S and an external CODEC device.
Description
Section 4.1.3.2, "GPIO Pin
for details regarding the GPDR.
for details regarding the GAFR.
for more details.
Section 4.1.3.2, "GPIO Pin
for details regarding the GPDR.
Intel® PXA255 Processor Developer's Manual
Section 4.1.3.6,
Section 14.6.1,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents