comparison aud-c139/headset.src @ 4:e1878231dbcd

aud-c139: preliminary version
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 05 Apr 2022 06:22:50 +0000
parents
children
comparison
equal deleted inserted replaced
3:e9c1f6d65654 4:e1878231dbcd
1 # C139 headset audio mode, reconstructed from register readings
2 # collected in freecalypso-reveng repository, compal/audio directory
3
4 mic headset {
5 gain 9 # read out via omr in active call state
6 output-bias 0 # C139 uses 2.0V
7 }
8
9 # C139 fw applies complex volume control: it messes with PGA settings,
10 # and in headset mode it also applies a FIR filter that produces a 6 dB
11 # digital gain without any frequency curve transformation.
12 #
13 # For FreeCalypso, given how far we are from actually using the headset jack
14 # on C139 for its headset function (as opposed to the serial port),
15 # we are going to start with PGA at 0 and no weird FIR.
16
17 speaker headset {
18 gain 0
19 }
20
21 sidetone -23 # readout of VBUCTRL from official fw
22
23 # C139 AEC config for headset mode
24 aec-new 2 1 0x14 0x4CCC 0x59AD 0x7500 0 0x1000 0x1000 0 4 0x20