Skip to content

Commit 88c54b1

Browse files
feat(linux): AM62DX: Update audio troubleshooting guide
- Replace audio issue description with actionable troubleshooting steps. - Add comprehensive TAD5212 DAC reset and reconfiguration script. - Include i2c commands for all DAC addresses (0x50-0x53) on AM62D EVM. - Provide complete bash script for audio channel restoration. Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
1 parent f8133b3 commit 88c54b1

File tree

1 file changed

+78
-6
lines changed
  • source/linux/Foundational_Components/Kernel/Kernel_Drivers

1 file changed

+78
-6
lines changed

source/linux/Foundational_Components/Kernel/Kernel_Drivers/Audio.rst

Lines changed: 78 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -722,12 +722,84 @@ Potential issues
722722

723723
.. ifconfig:: CONFIG_part_variant in ('AM62DX')
724724

725-
Following additional issues were observed for AM62D2-EVM in this release:
726-
727-
- The device requires a restart if audio is missing or plays through
728-
only one channel during simultaneous playback and recording.
729-
- Starting playback while recording is active introduces a small glitch
730-
in the recording.
725+
**To resolve audio problems during simultaneous playback and recording,
726+
such as missing audio or mono output—consider these approaches:**
727+
728+
- Reset DACs using the below script
729+
730+
.. code-block:: bash
731+
732+
#!/bin/bash
733+
734+
#reset and reconfigure TAD5212 DACs on AM62D EVM
735+
736+
for i in {50..53}; do
737+
echo "Reconfiguring DAC@0x$i"
738+
i2cset -f -y 1 0x"$i" 0x00 0x00
739+
i2cset -f -y 1 0x"$i" 0x01 0x01
740+
i2cset -f -y 1 0x"$i" 0x00 0x00
741+
i2cset -f -y 1 0x"$i" 0x02 0x01
742+
i2cset -f -y 1 0x"$i" 0x05 0x15
743+
i2cset -f -y 1 0x"$i" 0x06 0x35
744+
i2cset -f -y 1 0x"$i" 0x10 0x52
745+
i2cset -f -y 1 0x"$i" 0x11 0x80
746+
i2cset -f -y 1 0x"$i" 0x18 0x40
747+
i2cset -f -y 1 0x"$i" 0x1A 0x30
748+
i2cset -f -y 1 0x"$i" 0x1c 0x01
749+
i2cset -f -y 1 0x"$i" 0x1f 0x01
750+
i2cset -f -y 1 0x"$i" 0x20 0x02
751+
i2cset -f -y 1 0x"$i" 0x21 0x03
752+
i2cset -f -y 1 0x"$i" 0x22 0x04
753+
i2cset -f -y 1 0x"$i" 0x23 0x05
754+
i2cset -f -y 1 0x"$i" 0x24 0x06
755+
i2cset -f -y 1 0x"$i" 0x25 0x07
756+
i2cset -f -y 1 0x"$i" 0x26 0x01
757+
i2cset -f -y 1 0x"$i" 0x28 0x20
758+
i2cset -f -y 1 0x"$i" 0x29 0x21
759+
i2cset -f -y 1 0x"$i" 0x2a 0x02
760+
i2cset -f -y 1 0x"$i" 0x2b 0x03
761+
i2cset -f -y 1 0x"$i" 0x2c 0x04
762+
i2cset -f -y 1 0x"$i" 0x2d 0x05
763+
i2cset -f -y 1 0x"$i" 0x2e 0x06
764+
i2cset -f -y 1 0x"$i" 0x2f 0x07
765+
i2cset -f -y 1 0x"$i" 0x34 0x40
766+
i2cset -f -y 1 0x"$i" 0x37 0x20
767+
i2cset -f -y 1 0x"$i" 0x42 0x11
768+
i2cset -f -y 1 0x"$i" 0x43 0x54
769+
i2cset -f -y 1 0x"$i" 0x4c 0x2e
770+
i2cset -f -y 1 0x"$i" 0x50 0x04
771+
i2cset -f -y 1 0x"$i" 0x52 0xa1
772+
i2cset -f -y 1 0x"$i" 0x53 0x80
773+
i2cset -f -y 1 0x"$i" 0x55 0x04
774+
i2cset -f -y 1 0x"$i" 0x57 0xa1
775+
i2cset -f -y 1 0x"$i" 0x58 0x80
776+
i2cset -f -y 1 0x"$i" 0x5b 0xa1
777+
i2cset -f -y 1 0x"$i" 0x5c 0x80
778+
i2cset -f -y 1 0x"$i" 0x5f 0xa1
779+
i2cset -f -y 1 0x"$i" 0x60 0x80
780+
i2cset -f -y 1 0x"$i" 0x64 0x28
781+
i2cset -f -y 1 0x"$i" 0x65 0x60
782+
i2cset -f -y 1 0x"$i" 0x66 0x20
783+
i2cset -f -y 1 0x"$i" 0x67 0xc9
784+
i2cset -f -y 1 0x"$i" 0x68 0x80
785+
i2cset -f -y 1 0x"$i" 0x69 0xc9
786+
i2cset -f -y 1 0x"$i" 0x6a 0x80
787+
i2cset -f -y 1 0x"$i" 0x6b 0x28
788+
i2cset -f -y 1 0x"$i" 0x6c 0x60
789+
i2cset -f -y 1 0x"$i" 0x6d 0x20
790+
i2cset -f -y 1 0x"$i" 0x6e 0xc9
791+
i2cset -f -y 1 0x"$i" 0x6f 0x80
792+
i2cset -f -y 1 0x"$i" 0x70 0xc9
793+
i2cset -f -y 1 0x"$i" 0x71 0x80
794+
i2cset -f -y 1 0x"$i" 0x72 0x18
795+
i2cset -f -y 1 0x"$i" 0x73 0x18
796+
i2cset -f -y 1 0x"$i" 0x77 0xa0
797+
i2cset -f -y 1 0x"$i" 0x7a 0x80
798+
i2cset -f -y 1 0x"$i" 0x7c 0xc0
799+
i2cset -f -y 1 0x"$i" 0x7d 0x10
800+
i2cset -f -y 1 0x"$i" 0x7e 0xc1
801+
done
802+
- Restart the device
731803

732804
Additional Information
733805
^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)