
ASAHI KASEI 
[AK4112A Control Program] 
‘00/2 
- 2 - 
At first the following message is displayed: 
****** AK4112 Control Program ver 2.0 , '00/1 ****** 
 copyright(c) 2000, Asahi Kasei Microsystems co.,ltd. 
                  All rights reserved. 
Then the following is displayed: 
After chip address is defined, the following default register map is displayed (Loop starts from here): 
AK4112 Register Map 
 ADDR = 00 : 03 <CLK PD ctrl> (0     BCU   CM1   CM0   OCKS1 OCKS0 PWN   RSTN ) 
 ADDR = 01 : 80 <I/O    ctrl> (MPAR  MTSC  CS12  XTE   IPS1  IPS0  OPS1  OPS0 ) 
 ADDR = 02 : 4A <FMT DM ctrl> (V/TX  DIF2  DIF1  DIF0  DEAU  DEM1  DEM0  DFS  ) 
 ADDR = 03 : 00 <RCV STAT 1>  (ERF    0    AUDIO AUTO  PEM   FS1   FS0   RFS96) 
 ADDR = 04 : 00 <RCV STAT 2>  (CV    STC   CRC  UNLOCK V     FRERR BIP   PAR  ) 
 ADDR = 05 : 00 <ChA STAT 0>  (CA7   CA6   CA5   CA4   CA3   CA2   CA1   CA0 ) 
 ADDR = 06 : 00 <ChA STAT 1>  (CA15  CA14  CA13  CA12  CA11  CA10  CA9   CA8 ) 
 ADDR = 07 : 00 <ChA STAT 2>  (CA23  CA22  CA21  CA20  CA19  CA18  CA17  CA16) 
 ADDR = 08 : 00 <ChA STAT 3>  (CA31  CA30  CA29  CA28  CA27  CA26  CA25  CA24) 
 ADDR = 09 : 00 <ChB STAT 0>  (CB7   CB6   CB5   CB4   CB3   CB2   CB1   CB0 ) 
 ADDR = 0A : 00 <ChB STAT 1>  (CB15  CB14  CB13  CB12  CB11  CB10  CB9   CB8 ) 
 ADDR = 0B : 00 <ChB STAT 2>  (CB23  CB22  CB21  CB20  CB19  CB18  CB17  CB16) 
 ADDR = 0C : 00 <ChB STAT 3>  (CB31  CB30  CB29  CB28  CB27  CB26  CB25  CB24) 
 ADDR = 0D : 00 <BstPre Pc 0> (PC7   PC6   PC5   PC4    PC3   PC2   PC1   PC0  ) 
 ADDR = 0E : 00 <BstPre Pc 1> (PC15  PC14  PC13  PC12  PC11  PC10  PC9   PC8  ) 
 ADDR = 0F : 00 <BstPre Pd 0> (PD7   PD6   PD5   PD4    PD3   PD2   PD1   PD0  ) 
 ADDR = 10 : 00 <BstPre Pd 1> (PD15  PD14  PD13  PD12  PD11  PD10  PD9   PD8  ) 
 ADDR = 11 : 02 <Count ctrl>  (0      0     0      0     0      EFH1  EFH0  XFS96) 
Input 0(Read), 1(Write), R(Reset), T(Table) or S(Stop) :
1) If you input “0”, you can read data from AK4112A. 
    You can read data from AK4112 
Input Register Address (2 figure, hex) (00H-11H) =
Input register address in 2 figures of hexadecimal. 
Then current data of this address is displayed: 
AK4112A 
 ADDR = 00 : 03 <CLK PD ctrl> (0     BCU   CM1   CM0   OCKS1 OCKS0 PWN   RSTN) 
                                     0     0     0      0     0      0      1     1
2) If you input “1”, you can write data to AK4112A. 
    You can write data to AK4112 
Input Register Address (2 figure, hex) (00H-02H or 11H) =  
Input register address in 2 figures of hexadecimal. 
Then current data of this address is displayed: 
AK4112A 
 ADDR = 00 : 03 <CLK PD ctrl> (0     BCU   CM1   CM0   OCKS1 OCKS0 PWN   RSTN) 
                                     0     0     0      0     0      0      1     1 
Input Register Data    (2 figure, hex) =  
You can write control data to this address. Input control data in 2 figures of hexadecimal. 
Refer to datasheet of AK4112A. 
Then the data written to this address is displayed: 
AK4112 
 ADDR = 00 : 23 <CLK PD ctrl> (0     BCU   CM1   CM0   OCKS1 OCKS0 PWN   RSTN) 
                                     0     0     1      0     0      0      1     1 
3) If you input “R” or “r”, this program writes default data to all register addresses. 
4) If you input “T” or “t”, current register map is displayed. 
5) If you input “S” or “s”, this program is terminated.