Changeset 1507

Show
Ignore:
Timestamp:
12/08/08 20:25:41 (15 years ago)
Author:
jwoithe
Message:

MOTU: device documentation addition for Ultralite.

Files:

Legend:

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

    r1424 r1507  
    33 
    44Author: Jonathan Woithe 
    5 Document version: 20081110-1 
     5Document version: 20081207-1 
    66 
    77 
     
    4514510x0c68 - ASCII name of current clock source (characters 8-11) 
    4524520x0c6c - ASCII name of current clock source (characters 12-15) 
     4530x0c70 - gain trim / phase invert (Ultralite only, analog channels 1-4) 
     4540x0c74 - gain trim / phase invert (Ultralite only, analog channels 5-8) 
     4550x0c78 - gain trim / phase invert (Ultralite only, SPDIF 1 and 2) 
    4534560x4000 - mix1 gain/pan/solo/mute, analog channel 1 
    4544570x4004 - mix1 gain/pan/solo/mute, analog channel 2 
     
    931934 
    932935 
     9360x0c70 - gain trim / phase invert (Ultralite only, analog channels 1-4) 
     937 
     938On the Ultralite, gain trim is controlled using a different register than 
     939with the other MOTU devices.  This register controls gain trim and phase 
     940inversion for analog channels 1-4.  Byte 0 (the least significant byte) 
     941controls analog channel 1.  Bytes 1-3 are for analog channels 2-4 
     942respectively. 
     943 
     944Bit 7 in each byte appears to always be set to 1 when changing the 
     945corresponding channel's setting.  It therefore seems that bit 7 is a 
     946write-enable bit for the channel's setting. 
     947 
     948Bit 6 of a byte controls the phase inversion setting.  When set (ie: equal 
     949to 1) phase inversion is active.  When bit 6 is zero phase inversion is not 
     950enagaged. 
     951 
     952Bits 0-5 set the gain trim value; 0 sets a gain of 0dB (the default).  The 
     953maximum gain available is determined by the type of channel.  For analog 
     954channels 1-2 (the mic inputs), the maximum effective setting is 0x18 (24). 
     955For analog channels 3-8 the maximum is 0x12 (18) while for SPDIF channels 
     956the maximum is 0x0c (12).  The value written is in dB - thus each gain trim 
     957control operates in steps of 1 dB. 
     958 
     959Setting a channel's byte to zero causes its settings to remain unchanged.  
     960This allows any combination of the 4 channels to be changed without 
     961interference to those not being changed. 
     962 
     963 
     9640x0c74 - gain trim / phase invert (Ultralite only, analog channels 5-8) 
     965 
     966This register operates as described for 0x0c70 except it controls analog 
     967channes 5 to 8.  The least significant byte corresponds to analog channel 5. 
     968 
     969 
     9700x0c78 - gain trim / phase invert (Ultralite only, SPDIF 1 and 2) 
     971 
     972This register operates as described for 0x0c70 except it controls SPDIF 1 
     973and SPDIF 2.  The least significant byte corresponds to SPDIF 1.  Bytes 2 
     974and 3 are currently unused and should always be set to zero when writing to 
     975this register. 
     976 
     977 
    9339780x4y00-0x4y4c (y=0-3) - gain/pan/solo/mute registers 
    934979