English
Language : 

STA330 Datasheet, PDF (41/55 Pages) STMicroelectronics – 2.0 digital audio processor with FFX digital modulator and analog and digital inputs
STA330
Registers
P2SCFG0
Parallel-to-serial audio interface configuration
register 0
Bit 7
BICLK_ STRB
Bit 6
LRCLK_LEFT
Bit 5
SDATAO_ACT
Bit 4
MSB_FIRST
Bit 3
Bit 2
DATA_FORMAT[2:0]
Bit 1
Bit 0
MASTER_
MODE
Address:
0x0C
Type:
R/W
Buffer:
No
Reset:
0xD3
Description:
7 BICLK_STRB: defines the bit clock edges:
0: strobe is falling edge, active edge is rising
1: strobe is rising edge, active edge is falling (default)
6 LRCLK_LEFT: defines the channel for the LR clock:
0: clock is low for left channel, high for right channel
1: clock is high for left channel, low for right channel (default)
5 SDATAO_ ACT: sets the behavior of pin SDATAO:
0: output is tri-stated when no data is sent (default)
1: output is never in tri-state (it is 0 when no data is sent)
4 MSB_FIRST: data alignment in the protocol for SDATAI and SDATAO:
0: LSB is the first bit
1: MSB is the first bit (default)
3:1 DATA_FORMAT[2:0]: serial interface protocol format:
000: left justified
001: I2S (default)
010: right justified
100: PCM no delay
101: PCM delay
110: Reserved
111: DSP
0 MASTER_ MODE: selects serial interface master/slave mode:
0: slave
1: master (default)
41/55