Samsung S5PC110 Manual page 1889

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
4.5.1.3 AC97 Codec Command Register (AC_CODEC_CMD, R/W, Address = 0xE220_0008)
When you control writing or reading, you must set the Read enable bit. If you want to write data to the AC97
Codec, you set the index (or address) of the AC97 Codec and data.
AC_CODEC_CMD
-
Read enable
Address
Data
NOTE: When the commands are written on the AC_CODDEC_CMD register, it is recommended to have more than 1 / 48
kHz delay time between the command and the next command.
4.5.1.4 AC97 Codec Status Register (AC_CODEC_STAT, R, Address = 0xE220_000C)
If the Read enable bit is 1 and Codec command address is valid, Codec status data is also valid.
AC_CODEC_STAT
-
Address
Data
NOTE: Steps to read data from AC97 codec register via the AC_CODDEC_STAT register:
1.
Write command address and data on the AC_CODEC_CMD register with Bit[23] =1.
2.
Set a proper delay time. It depends on Codec type.
3.
Read command address and data from AC_CODEC_STAT register.
Bit
[31:24]
Reserved
0 = Command write
[23]
1 = Status read
[22:16]
Codec command address
[15:0]
Codec command data
Bit
[31:23]
Reserved.
[22:16]
Codec status address
[15:0]
Codec status data
Description
(note)
Description
4 AC97 CONTROLLER
Initial State
0x00
0
0x00
0x0000
Initial State
0x00
0x00
0x0000
4-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents