Changeset 1612

Show
Ignore:
Timestamp:
08/06/09 05:30:32 (15 years ago)
Author:
jwoithe
Message:

RME: initial documentation of Fireface 400 matrix mixer controls and input preamp gain controls.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/doc/rme_notes/rme_config_register_map.txt

    r1609 r1612  
    22============================================ 
    33 
    4 Version: 0.13 
     4Version: 0.14 
    55Author: Jonathan Woithe 
    6 Date: 2 August 2009 
     6Date: 6 August 2009 
    77 
    88 
     
    656656 
    657657 
    658 Mixer controls 
    659 -------------- 
     658Input preamp / output amp gain control 
     659-------------------------------------- 
     660 
     661On the Fireface-400 the gain of the mic/instrument preamps and output 
     662amplifiers can be set.  Mic channel gain is in steps of 1 dB from 10 dB up to 
     66365 dB, with 0dB also available.  Instrument input gain ranges from 0 dB to 
     66418 dB in 0.5 dB steps.  Output gains range from +6 dB down to -58 dB in 
     665steps of 1 dB, with compete "mute" also available. 
     666 
     667The gains are set using the register at 0x801c0180. 
     668 
     669  bits 31-24: 
     670  bits 23-16: channel being set (0=mic1, 1=mic2, 2=inst3, 4=inst4) 
     671  bits 15-8: 
     672  bits 7-0: the gain value 
     673 
     674For mic channels the gain value is the dB value.  For instrument channels, a 
     675value of 2G is written for a gain value of G (thereby allowing a stepsize of 
     6760.5 dB).  For output gain, 0 = +6 dB, 0x3b = -53 dB, 0x3f = mute. 
     677 
     678The definition of the "channel being set" is as follows. 
     679  0 = mic input 1 gain 
     680  1 = mic input 2 gain 
     681  2 = instrument input 3 gain 
     682  3 = instrument input 4 gain 
     683  4-9 = analog outputs 1-6 level 
     684  10-11 = phones output level 
     685  12-13 = SPDIF output level 
     686  14-21 = ADAT outputs 1-8 level 
     687 
     688 
     689Firefice-400 mixer controls 
     690--------------------------- 
     691 
     692The Fireface-400 matrix mixer is controlled using a block of registers 
     693starting at 0x80080000.  An 18x18 matrix mixer is implemented allowing any 
     694hardware input to be sent to any device output.  Pan control is effected by 
     695manipulating the "left/right" controls within an output pair. 
     696 
     697For each input channel block the order of channels is Analog 1-8, SPDIF 1-2, 
     698ADAT 1-8. 
     699 
     7000x80080000 - 0x80080044: input channel sends to Analog 1 output. 
     7010x80080048 - 0x8008008c: playback channel sends to Analog 1 output. 
     7020x80080090 - 0x800800d4: input channel sends to Analog 2 output. 
     7030x800800d8 - 0x8008011c: playback channel sends to Analog 2 output. 
     704
     7050x80080990 - 0x800809d4: input channel sends to ADAT 8 output. 
     7060x800809d8 - 0x80080a1c: playback channel sends to ADAT 8 output. 
     707 
     7080x80080f80: matrix mixer analog 1 output fader 
     7090x80080f84: matrix mixer analog 2 output fader  
     710
     7110x80080fc4: matrix mixer ADAT 8 output fader 
     712 
     713Each fader control ranges from 0x00000000 (-inf) through 0x00008000 (0.0 dB) 
     714up to a maximum of 0x00100000 (+6.0 dB).  The precise scale is still to be 
     715worked out: -52.7 dB appears to correspond to a value of 0x0000004c, -46.6 dB  
     716is 0x00000099. 
     717 
     718When setting the output fader controls, the associated output amplifier  
     719gain control (see previous section) are generally kept in sync.  That is, if 
     720register 0x80080f80 (analog 1 output fader) is set to 0 dB, so is the analog 
     721output 1 level via register 0x801c0180. 
     722 
     723 
     724Fireface-800 mixer controls 
     725--------------------------- 
    660726 
    661727The matrix mixer on the Fireface-800 is controlled using a block of