Show
Ignore:
Timestamp:
09/14/10 06:50:25 (14 years ago)
Author:
jwoithe
Message:

MOTU: protocol documentation update - added summary of audio channel location within frames of iso data packets. This has been documented mainly because the explicit coding of locations is going away with the new portgroup mechanism being introduced. Preserving the knowledge of the location of the channels may be helpful when debugging issues in the future.

Files:

Legend:

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

    r1578 r1898  
    33 
    44Author: Jonathan Woithe 
    5 Document version: 20090621-1 
     5Document version: 20100914-1 
    66 
    77 
     
    208208be buffered in the device and sent in a burst once a complete message has 
    209209been received. 
     210 
     211 
     212Audio channel locations in a frame 
     213---------------------------------- 
     214 
     215Not surprisingly the different MOTU interfaces place channels at different 
     216offsets within a frame.  This section attempts to document what we know 
     217about the channel locations for various devices. 
     218 
     219828 Mk 1: 
     220  Analog 1-8: 10, 13, 16, 19, 22, 25, 28, 31 
     221  SPDIF 1-2: 34, 37 
     222  ADAT 1-4: 40, 43, 46, 49 
     223  ADAT 5-8 (1x rates only): 52, 55, 58, 61 
     224 
     225896HD: 
     226  Mix L-R (in, not at 4x): 10, 13 
     227  Phones L-R (out, not at 4x): 10, 13 
     228  Analog 1-8 (1x/2x rate): 16, 19, 22, 25, 28, 31, 34, 37 
     229  Analog 1-8 (4x rate): 10, 13, 16, 19, 22, 25, 28, 31 
     230  MainOut L-R (out, 1x/2x only): 40, 43 
     231  Unknown 1-2 (in, 1x/2x only): 40, 43 
     232  ADAT 1-4 (1x/2x only): 46, 49, 52, 55 
     233  ADAT 5-8 (1x only): 58, 61, 64, 67 
     234  AES/EBU 1-2 (1x with ADAT active): 70, 73 
     235  AES/EBU 1-2 (2x with ADAT active): 58, 61 
     236  AES/EBU 1-2 (1x/2x with ADAT off): 46, 49 
     237 
     238828 Mk 2: 
     239  Mix L-R (in): 10, 13 
     240  Phones L-R (out): 10, 13 
     241  Analog 1-8: 16, 19, 22, 25, 28, 31, 34, 37 
     242  Mic 1-2 (in): 40, 43 
     243  Main L-R (out): 40, 43 
     244  SPDIF 1-2: 46, 49 
     245  ADAT 1-4: 52, 55, 58, 61 
     246  ADAT 5-8 (1x rates only): 64, 67, 70, 73 
     247 
     248Traveler: 
     249  Mix L-R (in, 1x/2x rates only): 10, 13 
     250  Phones L-R (out, 1x/2x rates only): 10, 13 
     251  Analog 1-8 (1x/2x rate): 16, 19, 22, 25, 28, 31, 34, 37 
     252  Analog 1-8 (4x rate): 10, 13, 16, 19, 22, 25, 28, 31 
     253  AES/EBU 1-2 (1x/2x rate): 40, 43 
     254  SPDIF/Toslink 1-2 (1x/2x rate): 46, 49 
     255  ADAT 1-4 (1x/2x rate): 52, 55, 58, 61 
     256  ADAT 5-8 (1x rate): 64, 67, 70, 73 
     257 
     258Ultralite: 
     259  Mix L-R (in): 10, 13 
     260  Phones L-R (out): 10, 13 
     261  Mic 1-2 (in): 16, 19 
     262  Analog 1-2 (out): 16, 19 
     263  Analog 3-8: 22, 25, 28, 31, 34, 37 
     264  SPDIF 1-2 (in): 40, 43 
     265  Main L-R (out): 40, 43 
     266  Padding (in): 46, 49 
     267  SPDIF 1-2 (out): 46, 49 
     268 
     2698Pre: 
     270  Mix L-R (in): 10, 13 
     271  Phones L-R (out): 10, 13 
     272  Analog 1-8 (in): 16, 19, 22, 25, 28, 31, 34, 37 
     273  Main L-R (out): 16, 19 
     274  Padding (out): 22, 25 
     275  ADAT 1-8 (in): 40, 43, 46, 49, 52, 55, 58, 61 
     276  ADAT 1-8 (out): 22, 25, 28, 31, 34, 37, 40, 43 
     277 
     278828 Mk 3: 
     279  Mic 1-2 (in, 1x/2x rates): 10, 13 
     280  Phones L-R (out, 1x/2x rates): 10, 13 
     281  Unknown 1-2 (out, 4x rates): 10, 13 
     282  Analog 1-8: 16, 19, 22, 25, 28, 31, 34, 37 
     283  Return 1-2 (in): 40, 43 
     284  Main L-R (out): 40, 43 
     285  SPDIF 1-2 (1x/2x rates): 46, 49 
     286  Unknown (out, 4x rates): 46, 49 
     287  Reverb 1-2 (in, 1x/2x rates): 52, 55 
     288  [ Optical ports follow according to optical mode: first Optical-A 
     289  channels, then optical-B channels.  Out channels start at 52, in channels 
     290  start at 58.  At 1x rates 58/61 are "unknown" ahead of the optical 
     291  channels, with inputs at 76/79 being unknown at 2x rates. ] 
     292 
     293Ultralite Mk 3: 
     294  Mix L-R (in): 10, 13 
     295  Phones L-R (out): 10, 13 
     296  Mic 1-2 (in): 16, 19 
     297  Analog 1-2 (out): 16, 19 
     298  Analog 3-8: 22, 25, 28, 31, 34, 37 
     299  SPDIF 1-2 (in, 1x/2x rates): 40, 43 
     300  Padding (out, 1x/2x rates): 40, 43 
     301  SPDIF 1-2 (out, 1x/2x rates): 46, 49 
     302 
     303Ultralite Mk 3 hybrid: 
     304  Mix L-R (in): 10, 13 
     305  Phones L-R (out): 10, 13 
     306  Mic 1-2 (in): 16, 19 
     307  Analog 1-2 (out): 16, 19 
     308  Analog 3-8: 22, 25, 28, 31, 34, 37 
     309  SPDIF 1-2 (in, 1x/2x rates): 40, 43 
     310  Main L-R (out): 40, 43 
     311  Reverb 1-2 (in, 1x/2x rates): 46, 49 
     312  SPDIF 1-2 (out, 1x/2x rates): 46, 49 
     313  Unknown 1-4 (in, 1x/2x rates): 52, 55, 58, 61 
     314 
     315Traveler Mk 3: 
     316  Mix L-R (in): 10, 13 
     317  Phones L-R (out): 10, 13 
     318  Analog 1-8: 16, 19, 22, 25, 28, 31, 34, 37 
     319  AES/EBU 1-2 (1x/2x rates): 40, 43 
     320  SPDIF 1-2 (1x/2x rates): 46, 49 
     321  Reverb 1-2 (in, 1x rates): 52, 55 
     322  Unknown 1-2 (in, 1x rates): 58, 61 
     323  [ Optical port channels follow in a similar was as for the 828 Mk 3. 
     324  The precise locations are yet to be confirmed as of 14 Sept 2010. ] 
    210325 
    211326 
     
    471586  0x0000000f = 8pre 
    472587  0x00000015 = 828 Mk 3 
     588  0x00000019 = Ultralite Mk 3 
     589  0x0000001b = Traveler Mk 3 
     590  0x00000030 = Ultralite Mk 3 hybrid 
    473591 
    474592Alternatively one could probe for registers known to exist on only one of