English
Language : 

CS4237B Datasheet, PDF (61/114 Pages) Cirrus Logic – CrystalClear Advanced Audio System with 3D Sound
CS4237B
CONTROL INTERFACE
The Control logical device includes registers for
controlling various functions of the part that are
not included in the other logical device blocks.
These functions include game port rate control
and programmable power management, as well
as extra mixing functions.
Control Register Interface
The Control logical device software interface oc-
cupies 8 I/O locations, utilizes 12-bit address
decoding, and is located at PnP address
’CTRLbase’. If the upper address bits, SA12-
SA15 are used, they must be 0 to decode a valid
address. This device can also support an inter-
rupt. Table 21 lists the eight Control registers.
PDM
PDP*
PDC*
CONSW
Power Down Mixer. When set, the
analog mixer is powered down and
all mixer control registers (in
WSSbase space) are reset to de-
fault values.
Power Down Processor. When set,
places the internal processor in an
idle state. This effects the PnP inter-
face, MPU-401, and SBPro devices.
Power Down Codec. When set,
ADCs and DACs are powered down.
controls host interrupt generation
when a context switch occurs
0 - no interrupt on context switch
1 - Control interrupt generated on
context switch
Address
CTRLbase+0
CTRLbase+1
CTRLbase+2
CTRLbase+3
CTRLbase+4
CTRLbase+5
CTRLbase+6
CTRLbase+7
Register
Joystick & Power Control
E2PROM Interface
Block Power Down
Control Indirect Address Reg.
Control Indirect Data Register
Control/RAM Access
RAM Access End
Global Status
Table 21. Control Logical Device Registers
Joystick and Power Control
CTRLbase + 0, Default = 00000000
D7 D6 D5
D4 D3 D2 D1 D0
PM1 PM0 CONSW PDC PDP PDM JR1 JR0
JR1,0
Joystick rate control. Selects operating
speed of the joystick (changes the
trigger threshold for the X/Y coordi-
nates).
00 - slowest speed
01 - medium slow speed
10 - medium fast speed
11 - fastest speed
PM1,0
Power Management. These bits are
provided for backwards compatibility.
For new designs, the bits in
CTRLbase+2 should be used.
00 - All functions active.
01 - A/D and D/A powered down.
Mixer still active, but volume reg-
isters are frozen. Disables PDC
and PDM bits.
10 - Full part power down. All
functions are disabled except
reads and writes to this register.
All internal logic, including PnP
config. registers are reset. To exit
this power-down mode, PM1/0
must be reset, through CTRLbase+
0, and then the entire chip must be
reinitialized.
11* - WSS Codec, SBPro, MPU-401,
and PnP interfaces, and the analog
mixer are powered down.
* NOTE: The SBPro, PnP, and MPU-401 interfaces
are linked together. Setting PM1,0 or PDP will power
all three interfaces down; however, if any one of the
interfaces is written to, they will all power back up
automatically. PM1,0 and PDP always reflects the
value written, not whether the three devices are pow-
ered up or not.
DS213PP4
61