@@ -1172,7 +1172,7 @@ Board-specific instructions
11721172 The board uses four **TAD52512 DAC ** and two **PCM6240 ADC ** connected through
11731173 **McASP2 [AXR0,1,3 and 4 for playback, AXR14 for Capture] ** for audio.
11741174 The board features eight TRS 3.5mm jack, that can be used for
1175- simultaneous 8 channel playback and 4 channel recording.
1175+ simultaneous 8 channel playback and 8 channel recording.
11761176
11771177 The AM62D2-EVM audio subsystem provides comprehensive playback and recording
11781178 capabilities through dedicated DACs and ADCs. Use the following command to list
@@ -1242,36 +1242,44 @@ Board-specific instructions
12421242 -> CODEC drivers
12431243 -> Texas Instruments PCM6240 Family Audio chips based on I2C (SND_SOC_PCM6240 [=m])
12441244
1245- Choose active device between two PCM6240 ADC devices :
1245+ Choose active recording profile from the available PCM6240 ADC profiles :
12461246
12471247 .. code-block :: text
12481248
1249- Device 0: PCM6240 at I2C address 0x48 (Connector-J2)
1250- Device 1: PCM6240 at I2C address 0x49 (Connector-J1)
1249+ Profile 0: 8ch Non-Interleaved - All 8 channels from both ADCs in non-interleaved format
1250+ Profile 1: 8ch Interleaved - All 8 channels from both ADCs in interleaved format
1251+ Profile 2: J2A Stereo - Stereo recording from J2A connector (I2C 0x48)
1252+ Profile 3: J2B Stereo - Stereo recording from J2B connector (I2C 0x48)
1253+ Profile 4: J1A Stereo - Stereo recording from J1A connector (I2C 0x49)
1254+ Profile 5: J1B Stereo - Stereo recording from J1B connector (I2C 0x49)
1255+ Profile 6: J2A,J2B 4ch Non-Interleaved - 4-channel non-interleaved from J2 connectors
1256+ Profile 7: J2A,J2B 4ch Interleaved - 4-channel interleaved from J2 connectors
1257+ Profile 8: J1A,J1B 4ch Non-Interleaved - 4-channel non-interleaved from J1 connectors
1258+ Profile 9: J1A,J1B 4ch Interleaved - 4-channel interleaved from J1 connectors
12511259
1252- To select Device 0 (I2C address 0x48) as an active device :
1260+ Example to select Profile 0 (8ch Non-Interleaved - default profile) :
12531261
12541262 .. code-block :: console
12551263
1264+ # To select Profile 0 (8ch Non-Interleaved - default profile)
1265+
12561266 root@am62dxx-evm:~# amixer cset name='pcm6240-2dev-reg PCM6240 i2c1 Profile id' 0
12571267 numid=17,iface=MIXER,name='pcm6240-2dev-reg PCM6240 i2c1 Profile id'
1258- type=INTEGER,access=rw------,values=1,min=0,max=3 ,step=0
1268+ type=INTEGER,access=rw------,values=1,min=0,max=9 ,step=0
12591269 values=0
12601270
1261- To select Device 1 (I2C address 0x49) as an active device:
1262-
1263- .. code-block :: console
1264-
1271+ # To select Profile 1 (8ch Interleaved):
1272+
12651273 root@am62dxx-evm:~# amixer cset name='pcm6240-2dev-reg PCM6240 i2c1 Profile id' 1
12661274 numid=17,iface=MIXER,name='pcm6240-2dev-reg PCM6240 i2c1 Profile id'
1267- type=INTEGER,access=rw------,values=1,min=0,max=3 ,step=0
1275+ type=INTEGER,access=rw------,values=1,min=0,max=9 ,step=0
12681276 values=1
12691277
1270- To record 4 -channel audio at 48kHz sample rate with 32-bit depth:
1278+ To record 8 -channel audio at 48kHz sample rate with 32-bit depth:
12711279
12721280 .. code-block :: console
12731281
1274- root@am62dxx-evm:~# arecord -c 4 -r 48000 -f S32_LE test.wav
1282+ root@am62dxx-evm:~# arecord -c 8 -r 48000 -f S32_LE test.wav
12751283
12761284 Potential issues
12771285^^^^^^^^^^^^^^^^
@@ -1435,4 +1443,4 @@ Additional Information
14351443 :name: additional-information-mcasp-docs
14361444
14371445#. `McASP Hardware Design Guide
1438- <https://www.ti.com/lit/pdf/sprack0> `__
1446+ <https://www.ti.com/lit/pdf/sprack0> `__
0 commit comments