OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

[/] [test_project/] [trunk/] [linux_sd_driver/] [Documentation/] [sound/] [oss/] [WaveArtist] - Blame information for rev 62

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 62 marcus.erl
 
2
 (the following is from the armlinux CVS)
3
 
4
 WaveArtist mixer and volume levels can be accessed via these commands:
5
 
6
  nn30  read registers nn, where nn = 00 - 09 for mixer settings
7
                                              0a - 13 for channel volumes
8
  mm31  write the volume setting in pairs, where mm = (nn - 10) / 2
9
  rr32  write the mixer settings in pairs, where rr = nn/2
10
  xx33  reset all settings to default
11
  0y34  select mono source, y=0 = left, y=1 = right
12
 
13
                                           bits
14
 nn  15  14 13 12 11   10    9     8     7    6     5     4     3     2     1     0
15
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
16
 00 | 0 | 0  0  1  1 | left line mixer gain       | left aux1 mixer gain        |lmute|
17
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
18
 01 | 0 | 0  1  0  1 | left aux2 mixer gain       | right 2 left mic gain       |mmute|
19
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
20
 02 | 0 | 0  1  1  1 | left mic mixer gain        | left mic  | left mixer gain |dith |
21
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
22
 03 | 0 | 1  0  0  1 | left mixer input select                |lrfg | left ADC gain   |
23
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
24
 04 | 0 | 1  0  1  1 | right line mixer gain      | right aux1 mixer gain       |rmute|
25
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
26
 05 | 0 | 1  1  0  1 | right aux2 mixer gain      | left 2 right mic gain       |test |
27
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
28
 06 | 0 | 1  1  1  1 | right mic mixer gain       | right mic |right mixer gain |rbyps|
29
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
30
 07 | 1 | 0  0  0  1 | right mixer select                     |rrfg | right ADC gain  |
31
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
32
 08 | 1 | 0  0  1  1 | mono mixer gain            |right ADC mux sel|left ADC mux sel |
33
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
34
 09 | 1 | 0  1  0  1 |loopb|left linout|loop|ADCch|TxFch|OffCD|test |loopb|loopb|osamp|
35
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
36
 0a | 0 | left PCM channel volume                                                     |
37
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
38
 0b | 0 | right PCM channel volume                                                    |
39
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
40
 0c | 0 | left FM channel volume                                                      |
41
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
42
 0d | 0 | right FM channel volume                                                     |
43
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
44
 0e | 0 | left wavetable channel volume                                               |
45
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
46
 0f | 0 | right wavetable channel volume                                              |
47
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
48
 10 | 0 | left PCM expansion channel volume                                           |
49
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
50
 11 | 0 | right PCM expansion channel volume                                          |
51
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
52
 12 | 0 | left FM expansion channel volume                                            |
53
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
54
 13 | 0 | right FM expansion channel volume                                           |
55
----+---+------------+-----+-----+-----+----+-----+-----+-----+-----+-----+-----+-----+
56
 
57
 lmute: left mute
58
 mmute: mono mute
59
 dith: dithds
60
 lrfg:
61
 rmute: right mute
62
 rbyps: right bypass
63
 rrfg:
64
 ADCch:
65
 TxFch:
66
 OffCD:
67
 osamp:
68
 
69
 And the following diagram is derived from the description in the CVS archive:
70
 
71
 MIC L (mouthpiece)
72
   +------+
73
 -->PreAmp>-\
74
   +--^---+ |
75
      |     |
76
    r2b4-5  |                                +--------+
77
       /----*-------------------------------->5       |
78
       |                                     |        |
79
       | /----------------------------------->4       |
80
       | |                                   |        |
81
       | | /--------------------------------->3 1of5  |  +---+
82
       | | |                                 |  mux   >-->AMP>--> ADC L
83
       | | | /------------------------------->2       |  +-^-+
84
       | | | |                               |        |    |
85
 Line  | | | | +----+  +------+  +---+  /---->1       |  r3b3-0
86
 ------------*->mute>--> Gain >-->   |  |    |        |
87
  L    | | |   +----+  +------+  |   |  |  *->0       |
88
       | | |                     |   |  |    +---^----+
89
 Aux2  | | |   +----+  +------+  |   |  |        |
90
 ----------*--->mute>--> Gain >--> M |  |     r8b0-2
91
  L    | |     +----+  +------+  |   |  |
92
       | |                       |   |  \------\
93
 Aux1  | |     +----+  +------+  |   |         |
94
 --------*----->mute>--> Gain >--> I |         |
95
  L    |       +----+  +------+  |   |         |
96
       |                         |   |         |
97
       |       +----+  +------+  |   |  +---+  |
98
       *------->mute>--> Gain >--> X >-->AMP>--*
99
       |       +----+  +------+  |   |  +-^-+  |
100
       |                         |   |    |    |
101
       |       +----+  +------+  |   |  r2b1-3 |
102
       | /----->mute>--> Gain >--> E |         |
103
       | |     +----+  +------+  |   |         |
104
       | |                       |   |         |
105
       | |     +----+  +------+  |   |         |
106
       | | /--->mute>--> Gain >--> R |         |
107
       | | |   +----+  +------+  |   |         |
108
       | | |                     |   |         |   r9b8-9
109
       | | |   +----+  +------+  |   |         |     |
110
       | | | /->mute>--> Gain >-->   |         | +---v---+
111
       | | | | +----+  +------+  +---+       /-*->0      |
112
 DAC   | | | |                               |   |       |
113
 ------------*----------------------------------->?      |  +----+
114
  L    | | |                                 |   |  Mux  >-->mute>--> L output
115
       | | |                                 | /->?      |  +--^-+
116
       | | |                                 | | |       |     |
117
       | | |                           /--------->?      |   r0b0
118
       | | |                           |     | | +-------+
119
       | | |                           |     | |
120
 Mono  | | |                           |     | | +-------+
121
 ----------*                           |     \--->       |  +----+
122
       | | |                           |       | |  Mix  >-->mute>--> Mono output
123
       | | |                           |       *->       |  +--^-+
124
       | | |                           |       | +-------+     |
125
       | | |                           |       |             r1b0
126
 DAC   | | |                           |       | +-------+
127
 ------------*-------------------------*--------->1      |  +----+
128
  R    | | | |                                 | |  Mux  >-->mute>--> R output
129
       | | | | +----+  +------+  +---+         *->0      |  +--^-+
130
       | | | \->mute>--> Gain >-->   |         | +---^---+     |
131
       | | |   +----+  +------+  |   |         |     |       r5b0
132
       | | |                     |   |         |   r6b0
133
       | | |   +----+  +------+  |   |         |
134
       | | \--->mute>--> Gain >--> M |         |
135
       | |     +----+  +------+  |   |         |
136
       | |                       |   |         |
137
       | |     +----+  +------+  |   |         |
138
       | *----->mute>--> Gain >--> I |         |
139
       | |     +----+  +------+  |   |         |
140
       | |                       |   |         |
141
       | |     +----+  +------+  |   |  +---+  |
142
       \------->mute>--> Gain >--> X >-->AMP>--*
143
         |     +----+  +------+  |   |  +-^-+  |
144
      /--/                       |   |    |    |
145
 Aux1 |        +----+  +------+  |   |  r6b1-3 |
146
 -------*------>mute>--> Gain >--> E |         |
147
  R   | |      +----+  +------+  |   |         |
148
      | |                        |   |         |
149
 Aux2 | |      +----+  +------+  |   |  /------/
150
 ---------*---->mute>--> Gain >--> R |  |
151
  R   | | |    +----+  +------+  |   |  |
152
      | | |                      |   |  |    +--------+
153
 Line | | |    +----+  +------+  |   |  |  *->0       |
154
 -----------*-->mute>--> Gain >-->   |  |    |        |
155
  R   | | | |  +----+  +------+  +---+  \---->1       |
156
      | | | |                                |        |
157
      | | | \-------------------------------->2       |  +---+
158
      | | |                                  |  Mux   >-->AMP>--> ADC R
159
      | | \---------------------------------->3       |  +-^-+
160
      | |                                    |        |    |
161
      | \------------------------------------>4       |  r7b3-0
162
      |                                      |        |
163
      \-----*-------------------------------->5       |
164
            |                                +---^----+
165
    r6b4-5  |                                    |
166
      |     |                                  r8b3-5
167
   +--v---+ |
168
 -->PreAmp>-/
169
   +------+
170
 MIC R (electret mic)

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.