This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCMD3180: How to correctly configure the PCMD3180 PDM-TDM converter for 8-channel TDM recording?

Part Number: PCMD3180


Tool/software:

Hi,

I'm working on an audio recording setup using an Android device with a PCMD3180 PDM-TDM converter that supports 8 DMIC inputs.

Despite configuring all 8 channels for recording, only 4 channels are being captured in the output WAV file. Here are the commands I'm using:

==========================

tinymix 'MIC1P Input Mux' 'Digital'

tinymix 'MIC2P Input Mux' 'Digital'

tinymix 'MIC3P Input Mux' 'Digital'

tinymix 'MIC4P Input Mux' 'Digital'

tinymix 'MIC1M Input Mux' 'Digital'

tinymix 'MIC2M Input Mux' 'Digital'

tinymix 'MIC3M Input Mux' 'Digital'

tinymix 'MIC4M Input Mux' 'Digital'

tinymix 'CH1_ASI_EN Switch' 1

tinymix 'CH2_ASI_EN Switch' 1

tinymix 'CH3_ASI_EN Switch' 1

tinymix 'CH4_ASI_EN Switch' 1

tinymix 'CH5_ASI_EN Switch' 1

tinymix 'CH6_ASI_EN Switch' 1

tinymix 'CH7_ASI_EN Switch' 1

tinymix 'CH8_ASI_EN Switch' 1

(follow by some commands to enable the TMD port on host, and then use tunycap to record)

tinycap /data/recording.wav -D 0 -d 24 -c 8 -r 48000 -p 1024 -n 8 -T 10

==========================

After investigation, I noticed that the IN_CH_EN register (0x73) always shows a value of 0xF0, which suggests only 4 channels are being enabled.

Could you please advise on how to properly enable all 8 channels for recording? What might be causing this limitation, and are there any additional settings or registers I should check?

Thanks a lot.

  • 000: 00
    001: 00
    002: 81
    003: 00
    004: 00
    005: 05
    006: 00
    007: 30
    008: 01
    009: 00
    00a: 00
    00b: 00
    00c: 01
    00d: 02
    00e: 03
    00f: 04
    010: 05
    011: 06
    012: 07
    013: 02
    014: 48
    015: 48
    016: 10
    017: 00
    018: 00
    019: 00
    01a: 00
    01b: 00
    01c: 00
    01d: 00
    01e: 00
    01f: 40
    020: 00
    021: 00
    022: 41
    023: 41
    024: 41
    025: 41
    026: 00
    027: 00
    028: 00
    029: 00
    02a: 00
    02b: 45
    02c: 67
    02d: 00
    02e: 00
    02f: 00
    030: 00
    031: 00
    032: 00
    033: ff
    034: 00
    035: 00
    036: 00
    037: 00
    038: 00
    039: 00
    03a: 00
    03b: 00
    03c: 40
    03d: 00
    03e: c9
    03f: 80
    040: 00
    041: 40
    042: 00
    043: c9
    044: 80
    045: 00
    046: 40
    047: 00
    048: c9
    049: 80
    04a: 00
    04b: 40
    04c: 00
    04d: c9
    04e: 80
    04f: 00
    050: 00
    051: 00
    052: c9
    053: 80
    054: 00
    055: 00
    056: 00
    057: c9
    058: 80
    059: 00
    05a: 00
    05b: 00
    05c: c9
    05d: 80
    05e: 00
    05f: 00
    060: 00
    061: c9
    062: 80
    063: 00
    064: 00
    065: 00
    066: 00
    067: 00
    068: 00
    069: 00
    06a: 00
    06b: 01
    06c: 40
    06d: 7b
    06e: 00
    06f: 00
    070: e7
    071: 00
    072: 00
    073: f0
    074: ff
    075: 60
    076: f0
    077: e0
    078: 00
    079: 00
    07a: 00
    07b: 40
    07c: 00
    07d: 00
    07e: 00
    07f: 00
    080: 00
    081: 00
    082: 00
    083: 00
    084: 00
    085: 00
    086: 00
    087: 00
    088: 00
    089: 00
    08a: 00
    08b: 00
    08c: 00
    08d: 00
    08e: 00
    08f: 00
    090: 00
    091: 00
    092: 00
    093: 00
    094: 00
    095: 00
    096: 00
    097: 00
    098: 00
    099: 00
    09a: 00
    09b: 00
    09c: 00
    09d: 00
    09e: 00
    09f: 00
    0a0: 00
    0a1: 00
    0a2: 00
    0a3: 00
    0a4: 00
    0a5: 00
    0a6: 00
    0a7: 00
    0a8: 00
    0a9: 00
    0aa: 00
    0ab: 00
    0ac: 00
    0ad: 00
    0ae: 00
    0af: 00
    0b0: 00
    0b1: 00
    0b2: 00
    0b3: 00
    0b4: 00
    0b5: 00
    0b6: 00
    0b7: 00
    0b8: 00
    0b9: 00
    0ba: 00
    0bb: 00
    0bc: 00
    0bd: 00
    0be: 00
    0bf: 00
    0c0: 00
    0c1: 00
    0c2: 00
    0c3: 00
    0c4: 00
    0c5: 00
    0c6: 00
    0c7: 00
    0c8: 00
    0c9: 00
    0ca: 00
    0cb: 00
    0cc: 00
    0cd: 00
    0ce: 00
    0cf: 00
    0d0: 00
    0d1: 00
    0d2: 00
    0d3: 00
    0d4: 00
    0d5: 00
    0d6: 00
    0d7: 00
    0d8: 00
    0d9: 00
    0da: 00
    0db: 00
    0dc: 00
    0dd: 00
    0de: 00
    0df: 00
    0e0: 00
    0e1: 00
    0e2: 00
    0e3: 00
    0e4: 00
    0e5: 00
    0e6: 00
    0e7: 00
    0e8: 00
    0e9: 00
    0ea: 00
    0eb: 00
    0ec: 00
    0ed: 00
    0ee: 00
    0ef: 00
    0f0: 00
    0f1: 00
    0f2: 00
    0f3: 00
    0f4: 00
    0f5: 00
    0f6: 00
    0f7: 00
    0f8: 00
    0f9: 00
    0fa: 00
    0fb: 00
    0fc: 00
    0fd: 00
    0fe: 00
    0ff: 00
    100: 00
    101: 00
    102: 00
    103: 00
    104: 00
    105: 00
    106: 00
    107: 00
    108: 00
    109: 00
    10a: 00
    10b: 00
    10c: 00
    10d: 00
    10e: 00
    10f: 00
    110: 00
    111: 00
    112: 00
    113: 00
    114: 00
    115: 00
    116: 00
    117: 00
    118: 00
    119: 00
    11a: 00
    11b: 00
    11c: 00
    11d: 00
    11e: 00
    11f: 00
    120: 00
    121: 00
    122: 00
    123: 00
    124: 00
    125: 00
    126: 00
    127: 00
    128: 00
    129: 00
    12a: 00
    12b: 00
    12c: 00
    12d: 00
    12e: 00
    12f: 00
    130: 00
    131: 00
    132: 00
    133: 00
    134: 00
    135: 00
    136: 00
    137: 00
    138: 00
    139: 00
    13a: 00
    13b: 00
    13c: 00
    13d: 00
    13e: 00
    13f: 00
    140: 00
    141: 00
    142: 00
    143: 00
    144: 00
    145: 00
    146: 00
    147: 00
    148: 00
    149: 00
    14a: 00
    14b: 00
    14c: 00
    14d: 00
    14e: 00
    14f: 00
    150: 00
    151: 00
    152: 00
    153: 00
    154: 00
    155: 00
    156: 00
    157: 00
    158: 00
    159: 00
    15a: 00
    15b: 00
    15c: 00
    15d: 00
    15e: 00
    15f: 00
    160: 00
    161: 00
    162: 00
    163: 00
    164: 00
    165: 00
    166: 00
    167: 00
    168: 00
    169: 00
    16a: 00
    16b: 00
    16c: 00
    16d: 00
    16e: 00
    16f: 00
    170: 00
    171: 00
    172: 00
    173: 00
    174: 00
    175: 00
    176: 00
    177: 00
    178: 00
    179: 00
    17a: 00
    17b: 00
    17c: 00
    17d: 00
    17e: 00
    17f: 00
    180: 00
    181: 00
    182: 00
    183: 00
    184: 00
    185: 00
    186: 00
    187: 00
    188: 00
    189: 00
    18a: 00
    18b: 00
    18c: 00
    18d: 00
    18e: 00
    18f: 00
    190: 00
    191: 00
    192: 00
    193: 00
    194: 00
    195: 00
    196: 00
    197: 00
    198: 00
    199: 00
    19a: 00
    19b: 00
    19c: 00
    19d: 00
    19e: 00
    19f: 00
    1a0: 00
    1a1: 00
    1a2: 00
    1a3: 00
    1a4: 00
    1a5: 00
    1a6: 00
    1a7: 00
    1a8: 00
    1a9: 00
    1aa: 00
    1ab: 00
    1ac: 00
    1ad: 00
    1ae: 00
    1af: 00
    1b0: 00
    1b1: 00
    1b2: 00
    1b3: 00
    1b4: 00
    1b5: 00
    1b6: 00
    1b7: 00
    1b8: 00
    1b9: 00
    1ba: 00
    1bb: 00
    1bc: 00
    1bd: 00
    1be: 00
    1bf: 00
    1c0: 00
    1c1: 00
    1c2: 00
    1c3: 00
    1c4: 00
    1c5: 00
    1c6: 00
    1c7: 00
    1c8: 00
    1c9: 00
    1ca: 00
    1cb: 00
    1cc: 00
    1cd: 00
    1ce: 00
    1cf: 00
    1d0: 00
    1d1: 00
    1d2: 00
    1d3: 00
    1d4: 00
    1d5: 00
    1d6: 00
    1d7: 00
    1d8: 00
    1d9: 00
    1da: 00
    1db: 00
    1dc: 00
    1dd: 00
    1de: 00
    1df: 00
    1e0: 00
    1e1: 00
    1e2: 00
    1e3: 00
    1e4: 00
    1e5: 00
    1e6: 00
    1e7: 00
    1e8: 00
    1e9: 00
    1ea: 00
    1eb: 00
    1ec: 00
    1ed: 00
    1ee: 00
    1ef: 00
    1f0: 00
    1f1: 00
    1f2: 00
    1f3: 00
    1f4: 00
    1f5: 00
    1f6: 00
    1f7: 00
    1f8: 00
    1f9: 00
    1fa: 00
    1fb: 00
    1fc: 00
    1fd: 00
    1fe: 00
    1ff: 00
    200: 00
    201: 00
    202: 00
    203: 00
    204: 00
    205: 00
    206: 00
    207: 00
    208: 00
    209: 00
    20a: 00
    20b: 00
    20c: 00
    20d: 00
    20e: 00
    20f: 00
    210: 00
    211: 00
    212: 00
    213: 00
    214: 00
    215: 00
    216: 00
    217: 00
    218: 00
    219: 00
    21a: 00
    21b: 00
    21c: 00
    21d: 00
    21e: 00
    21f: 00
    220: 00
    221: 00
    222: 00
    223: 00
    224: 00
    225: 00
    226: 00
    227: 00
    228: 00
    229: 00
    22a: 00
    22b: 00
    22c: 00
    22d: 00
    22e: 00
    22f: 00
    230: 00
    231: 00
    232: 00
    233: 00
    234: 00
    235: 00
    236: 00
    237: 00
    238: 00
    239: 00
    23a: 00
    23b: 00
    23c: 00
    23d: 00
    23e: 00
    23f: 00
    240: 00
    241: 00
    242: 00
    243: 00
    244: 00
    245: 00
    246: 00
    247: 00
    248: 00
    249: 00
    24a: 00
    24b: 00
    24c: 00
    24d: 00
    24e: 00
    24f: 00
    250: 00
    251: 00
    252: 00
    253: 00
    254: 00
    255: 00
    256: 00
    257: 00
    258: 00
    259: 00
    25a: 00
    25b: 00
    25c: 00
    25d: 00
    25e: 00
    25f: 00
    260: 00
    261: 00
    262: 00
    263: 00
    264: 00
    265: 00
    266: 00
    267: 00
    268: 00
    269: 00
    26a: 00
    26b: 00
    26c: 00
    26d: 00
    26e: 00
    26f: 00
    270: 00
    271: 00
    272: 00
    273: 00
    274: 00
    275: 00
    276: 00
    277: 00
    278: 00
    279: 00
    27a: 00
    27b: 00
    27c: 00
    27d: 00
    27e: 00
    27f: 00
    280: 00
    281: 00
    282: 00
    283: 00
    284: 00
    285: 00
    286: 00
    287: 00
    288: 00
    289: 00
    28a: 00
    28b: 00
    28c: 00
    28d: 00
    28e: 00
    28f: 00
    290: 00
    291: 00
    292: 00
    293: 00
    294: 00
    295: 00
    296: 00
    297: 00
    298: 00
    299: 00
    29a: 00
    29b: 00
    29c: 00
    29d: 00
    29e: 00
    29f: 00
    2a0: 00
    2a1: 00
    2a2: 00
    2a3: 00
    2a4: 00
    2a5: 00
    2a6: 00
    2a7: 00
    2a8: 00
    2a9: 00
    2aa: 00
    2ab: 00
    2ac: 00
    2ad: 00
    2ae: 00
    2af: 00
    2b0: 00
    2b1: 00
    2b2: 00
    2b3: 00
    2b4: 00
    2b5: 00
    2b6: 00
    2b7: 00
    2b8: 00
    2b9: 00
    2ba: 00
    2bb: 00
    2bc: 00
    2bd: 00
    2be: 00
    2bf: 00
    2c0: 00
    2c1: 00
    2c2: 00
    2c3: 00
    2c4: 00
    2c5: 00
    2c6: 00
    2c7: 00
    2c8: 00
    2c9: 00
    2ca: 00
    2cb: 00
    2cc: 00
    2cd: 00
    2ce: 00
    2cf: 00
    2d0: 00
    2d1: 00
    2d2: 00
    2d3: 00
    2d4: 00
    2d5: 00
    2d6: 00
    2d7: 00
    2d8: 00
    2d9: 00
    2da: 00
    2db: 00
    2dc: 00
    2dd: 00
    2de: 00
    2df: 00
    2e0: 00
    2e1: 00
    2e2: 00
    2e3: 00
    2e4: 00
    2e5: 00
    2e6: 00
    2e7: 00
    2e8: 00
    2e9: 00
    2ea: 00
    2eb: 00
    2ec: 00
    2ed: 00
    2ee: 00
    2ef: 00
    2f0: 00
    2f1: 00
    2f2: 00
    2f3: 00
    2f4: 00
    2f5: 00
    2f6: 00
    2f7: 00
    2f8: 00
    2f9: 00
    2fa: 00
    2fb: 00
    2fc: 00
    2fd: 00
    2fe: 00
    2ff: 00
    300: 00
    301: 00
    302: 00
    303: 00
    304: 00
    305: 00
    306: 00
    307: 00
    308: 00
    309: 00
    30a: 00
    30b: 00
    30c: 00
    30d: 00
    30e: 00
    30f: 00
    310: 00
    311: 00
    312: 00
    313: 00
    314: 00
    315: 00
    316: 00
    317: 00
    318: 00
    319: 00
    31a: 00
    31b: 00
    31c: 00
    31d: 00
    31e: 00
    31f: 00
    320: 00
    321: 00
    322: 00
    323: 00
    324: 00
    325: 00
    326: 00
    327: 00
    328: 00
    329: 00
    32a: 00
    32b: 00
    32c: 00
    32d: 00
    32e: 00
    32f: 00
    330: 00
    331: 00
    332: 00
    333: 00
    334: 00
    335: 00
    336: 00
    337: 00
    338: 00
    339: 00
    33a: 00
    33b: 00
    33c: 00
    33d: 00
    33e: 00
    33f: 00
    340: 00
    341: 00
    342: 00
    343: 00
    344: 00
    345: 00
    346: 00
    347: 00
    348: 00
    349: 00
    34a: 00
    34b: 00
    34c: 00
    34d: 00
    34e: 00
    34f: 00
    350: 00
    351: 00
    352: 00
    353: 00
    354: 00
    355: 00
    356: 00
    357: 00
    358: 00
    359: 00
    35a: 00
    35b: 00
    35c: 00
    35d: 00
    35e: 00
    35f: 00
    360: 00
    361: 00
    362: 00
    363: 00
    364: 00
    365: 00
    366: 00
    367: 00
    368: 00
    369: 00
    36a: 00
    36b: 00
    36c: 00
    36d: 00
    36e: 00
    36f: 00
    370: 00
    371: 00
    372: 00
    373: 00
    374: 00
    375: 00
    376: 00
    377: 00
    378: 00
    379: 00
    37a: 00
    37b: 00
    37c: 00
    37d: 00
    37e: 00
    37f: 00
    380: 00
    381: 00
    382: 00
    383: 00
    384: 00
    385: 00
    386: 00
    387: 00
    388: 00
    389: 00
    38a: 00
    38b: 00
    38c: 00
    38d: 00
    38e: 00
    38f: 00
    390: 00
    391: 00
    392: 00
    393: 00
    394: 00
    395: 00
    396: 00
    397: 00
    398: 00
    399: 00
    39a: 00
    39b: 00
    39c: 00
    39d: 00
    39e: 00
    39f: 00
    3a0: 00
    3a1: 00
    3a2: 00
    3a3: 00
    3a4: 00
    3a5: 00
    3a6: 00
    3a7: 00
    3a8: 00
    3a9: 00
    3aa: 00
    3ab: 00
    3ac: 00
    3ad: 00
    3ae: 00
    3af: 00
    3b0: 00
    3b1: 00
    3b2: 00
    3b3: 00
    3b4: 00
    3b5: 00
    3b6: 00
    3b7: 00
    3b8: 00
    3b9: 00
    3ba: 00
    3bb: 00
    3bc: 00
    3bd: 00
    3be: 00
    3bf: 00
    3c0: 00
    3c1: 00
    3c2: 00
    3c3: 00
    3c4: 00
    3c5: 00
    3c6: 00
    3c7: 00
    3c8: 00
    3c9: 00
    3ca: 00
    3cb: 00
    3cc: 00
    3cd: 00
    3ce: 00
    3cf: 00
    3d0: 00
    3d1: 00
    3d2: 00
    3d3: 00
    3d4: 00
    3d5: 00
    3d6: 00
    3d7: 00
    3d8: 00
    3d9: 00
    3da: 00
    3db: 00
    3dc: 00
    3dd: 00
    3de: 00
    3df: 00
    3e0: 00
    3e1: 00
    3e2: 00
    3e3: 00
    3e4: 00
    3e5: 00
    3e6: 00
    3e7: 00
    3e8: 00
    3e9: 00
    3ea: 00
    3eb: 00
    3ec: 00
    3ed: 00
    3ee: 00
    3ef: 00
    3f0: 00
    3f1: 00
    3f2: 00
    3f3: 00
    3f4: 00
    3f5: 00
    3f6: 00
    3f7: 00
    3f8: 00
    3f9: 00
    3fa: 00
    3fb: 00
    3fc: 00
    3fd: 00
    3fe: 00
    3ff: 00
    400: 00
    401: 00
    402: 00
    403: 00
    404: 00
    405: 00
    406: 00
    407: 00
    408: 00
    409: 00
    40a: 00
    40b: 00
    40c: 00
    40d: 00
    40e: 00
    40f: 00
    410: 00
    411: 00
    412: 00
    413: 00
    414: 00
    415: 00
    416: 00
    417: 00
    418: 00
    419: 00
    41a: 00
    41b: 00
    41c: 00
    41d: 00
    41e: 00
    41f: 00
    420: 00
    421: 00
    422: 00
    423: 00
    424: 00
    425: 00
    426: 00
    427: 00
    428: 00
    429: 00
    42a: 00
    42b: 00
    42c: 00
    42d: 00
    42e: 00
    42f: 00
    430: 00
    431: 00
    432: 00
    433: 00
    434: 00
    435: 00
    436: 00
    437: 00
    438: 00
    439: 00
    43a: 00
    43b: 00
    43c: 00
    43d: 00
    43e: 00
    43f: 00
    440: 00
    441: 00
    442: 00
    443: 00
    444: 00
    445: 00
    446: 00
    447: 00
    448: 00
    449: 00
    44a: 00
    44b: 00
    44c: 00
    44d: 00
    44e: 00
    44f: 00
    450: 00
    451: 00
    452: 00
    453: 00
    454: 00
    455: 00
    456: 00
    457: 00
    458: 00
    459: 00
    45a: 00
    45b: 00
    45c: 00
    45d: 00
    45e: 00
    45f: 00
    460: 00
    461: 00
    462: 00
    463: 00
    464: 00
    465: 00
    466: 00
    467: 00
    468: 00
    469: 00
    46a: 00
    46b: 00
    46c: 00
    46d: 00
    46e: 00
    46f: 00
    470: 00
    471: 00
    472: 00
    473: 00
    474: 00
    475: 00
    476: 00
    477: 00
    478: 00
    479: 00
    47a: 00
    47b: 00
    47c: 00
    47d: 00
    47e: 00
    47f: 00
    480: 00
    481: 00
    482: 00
    483: 00
    484: 00
    485: 00
    486: 00
    487: 00
    488: 00
    489: 00
    48a: 00
    48b: 00
    48c: 00
    48d: 00
    48e: 00
    48f: 00
    490: 00
    491: 00
    492: 00
    493: 00
    494: 00
    495: 00
    496: 00
    497: 00
    498: 00
    499: 00
    49a: 00
    49b: 00
    49c: 00
    49d: 00
    49e: 00
    49f: 00
    4a0: 00
    4a1: 00
    4a2: 00
    4a3: 00
    4a4: 00
    4a5: 00
    4a6: 00
    4a7: 00
    4a8: 00
    4a9: 00
    4aa: 00
    4ab: 00
    4ac: 00
    4ad: 00
    4ae: 00
    4af: 00
    4b0: 00
    4b1: 00
    4b2: 00
    4b3: 00
    4b4: 00
    4b5: 00
    4b6: 00
    4b7: 00
    4b8: 00
    4b9: 00
    4ba: 00
    4bb: 00
    4bc: 00
    4bd: 00
    4be: 00
    4bf: 00
    4c0: 00
    4c1: 00
    4c2: 00
    4c3: 00
    4c4: 00
    4c5: 00
    4c6: 00
    4c7: 00
    4c8: 00
    4c9: 00
    4ca: 00
    4cb: 00
    4cc: 00
    4cd: 00
    4ce: 00
    4cf: 00
    4d0: 00
    4d1: 00
    4d2: 00
    4d3: 00
    4d4: 00
    4d5: 00
    4d6: 00
    4d7: 00
    4d8: 00
    4d9: 00
    4da: 00
    4db: 00
    4dc: 00
    4dd: 00
    4de: 00
    4df: 00
    4e0: 00
    4e1: 00
    4e2: 00
    4e3: 00
    4e4: 00
    4e5: 00
    4e6: 00
    4e7: 00
    4e8: 00
    4e9: 00
    4ea: 00
    4eb: 00
    4ec: 00
    4ed: 00
    4ee: 00
    4ef: 00
    4f0: 00
    4f1: 00
    4f2: 00
    4f3: 00
    4f4: 00
    4f5: 00
    4f6: 00
    4f7: 00
    4f8: 00
    4f9: 00
    4fa: 00
    4fb: 00
    4fc: 00
    4fd: 00
    4fe: 00
    4ff: 00
    500: 00
    501: 00
    502: 00
    503: 00
    504: 00
    505: 00
    506: 00
    507: 00
    508: 00
    509: 00
    50a: 00
    50b: 00
    50c: 00
    50d: 00
    50e: 00
    50f: 00
    510: 00
    511: 00
    512: 00
    513: 00
    514: 00
    515: 00
    516: 00
    517: 00
    518: 00
    519: 00
    51a: 00
    51b: 00
    51c: 00
    51d: 00
    51e: 00
    51f: 00
    520: 00
    521: 00
    522: 00
    523: 00
    524: 00
    525: 00
    526: 00
    527: 00
    528: 00
    529: 00
    52a: 00
    52b: 00
    52c: 00
    52d: 00
    52e: 00
    52f: 00
    530: 00
    531: 00
    532: 00
    533: 00
    534: 00
    535: 00
    536: 00
    537: 00
    538: 00
    539: 00
    53a: 00
    53b: 00
    53c: 00
    53d: 00
    53e: 00
    53f: 00
    540: 00
    541: 00
    542: 00
    543: 00
    544: 00
    545: 00
    546: 00
    547: 00
    548: 00
    549: 00
    54a: 00
    54b: 00
    54c: 00
    54d: 00
    54e: 00
    54f: 00
    550: 00
    551: 00
    552: 00
    553: 00
    554: 00
    555: 00
    556: 00
    557: 00
    558: 00
    559: 00
    55a: 00
    55b: 00
    55c: 00
    55d: 00
    55e: 00
    55f: 00
    560: 00
    561: 00
    562: 00
    563: 00
    564: 00
    565: 00
    566: 00
    567: 00
    568: 00
    569: 00
    56a: 00
    56b: 00
    56c: 00
    56d: 00
    56e: 00
    56f: 00
    570: 00
    571: 00
    572: 00
    573: 00
    574: 00
    575: 00
    576: 00
    577: 00
    578: 00
    579: 00
    57a: 00
    57b: 00
    57c: 00
    57d: 00
    57e: 00
    57f: 00
    580: 00
    581: 00
    582: 00
    583: 00
    584: 00
    585: 00
    586: 00
    587: 00
    588: 00
    589: 00
    58a: 00
    58b: 00
    58c: 00
    58d: 00
    58e: 00
    58f: 00
    590: 00
    591: 00
    592: 00
    593: 00
    594: 00
    595: 00
    596: 00
    597: 00
    598: 00
    599: 00
    59a: 00
    59b: 00
    59c: 00
    59d: 00
    59e: 00
    59f: 00
    5a0: 00
    5a1: 00
    5a2: 00
    5a3: 00
    5a4: 00
    5a5: 00
    5a6: 00
    5a7: 00
    5a8: 00
    5a9: 00
    5aa: 00
    5ab: 00
    5ac: 00
    5ad: 00
    5ae: 00
    5af: 00
    5b0: 00
    5b1: 00
    5b2: 00
    5b3: 00
    5b4: 00
    5b5: 00
    5b6: 00
    5b7: 00
    5b8: 00
    5b9: 00
    5ba: 00
    5bb: 00
    5bc: 00
    5bd: 00
    5be: 00
    5bf: 00
    5c0: 00
    5c1: 00
    5c2: 00
    5c3: 00
    5c4: 00
    5c5: 00
    5c6: 00
    5c7: 00
    5c8: 00
    5c9: 00
    5ca: 00
    5cb: 00
    5cc: 00
    5cd: 00
    5ce: 00
    5cf: 00
    5d0: 00
    5d1: 00
    5d2: 00
    5d3: 00
    5d4: 00
    5d5: 00
    5d6: 00
    5d7: 00
    5d8: 00
    5d9: 00
    5da: 00
    5db: 00
    5dc: 00
    5dd: 00
    5de: 00
    5df: 00
    5e0: 00
    5e1: 00
    5e2: 00
    5e3: 00
    5e4: 00
    5e5: 00
    5e6: 00
    5e7: 00
    5e8: 00
    5e9: 00
    5ea: 00
    5eb: 00
    5ec: 00
    5ed: 00
    5ee: 00
    5ef: 00
    5f0: 00
    5f1: 00
    5f2: 00
    5f3: 00
    5f4: 00
    5f5: 00
    5f6: 00
    5f7: 00
    5f8: 00
    5f9: 00
    5fa: 00
    5fb: 00
    5fc: 00
    5fd: 00
    5fe: 00
    5ff: 00
    600: 00
    
    Hi, Attach 3180's registers during recording. Even I modified the default value in adcx140_reg_defaults[], 0x73 is always read 0xf0 during recording. Any comments will be appreciated!

  • Hi,

    If we write 0xFF into 0x73 register before recording through i2cwrite command, does the recording then contain all 8 microphone data?

    Thanks and Regards,

    Lakshmi Narasimhan

  • Hi Lakshmi,

    Thanks for the prompt response.

    However, I can only read registers by cat /d/regmap/n-004c/registers in this system.

    /d/regmap/n-004c/registers seems to be read-only.

    And there is no i2c-tools.

    Is there any other way that I can try to write data into registers?

    Thanks,

    Lei

  • Hi,

    I tried to set ADCX140_IN_CH_EN to 0xff in adcx140_hw_params() and I can record 8 channels now.

    Could you please suggest the correct sequence of tinymix commands to enable 8-channel recording?

    Thanks a lot!

    Lei

  • Hi Lei,

    Glad to hear it's working. Today is a holiday in India so Lakshmi will follow up with you tomorrow on the tinymix commands.

    Best regards,
    Jeff McPherson

  • Jeff,

    Thanks for help. And please comment after holiday.

    Brs

  • Hi Paul,

    Of course. Lakshmi should be following up with you soon.

    Best regards,
    Jeff McPherson

  • Hi,

    The above mixer commands, along with keeping the setting for register 0x73 as 0xFF (instead of 0xF0), should be sufficient to enable 8 channel recording.

    Thanks and Regards,

    Lakshmi Narasimhan

  • Hi,

    I still have 2 questions

    1. 

    I set all the 'Input Mux' to 'Digital', but register 0x73 was still 0xF0 during recording.

    It will only work if I added snd_soc_component_update_bits(component, ADCX140_IN_CH_EN, 0xff, 0xff) in the end of adcx140_hw_params().

    Will "tinymix 'MIC1P Input Mux' 'Digital'" change register 0x73?

    2.

    Is it necessary to make micbias, pdm channels, and pll into power off state before tinymix? For example, set 0x75 to 0 before I try to configure 0x73.

    Thanks,

    Lei

  • Hi,

    The 'MIC1P Input MUX' does not correspond to the register 0x73. It helps configure the 'CH1_CFG0' register of the PCMD3180.

    By default, this register is at 0x00 (Input source not enabled). Writing " tinymix 'MIC1P Input Mux' 'Digital' " configures the register for digital microphone input.

    Same applies for the other "MICxP Input Mux" being set to 'Digital'.

    2) Yes, it is recommended to configure the register 0x73, then power up the ADC using register 0x75.

    Thanks and Regards,

    Lakshmi Narasimhan