EasyManua.ls Logo

Phytec i.MX 93 - Audio on Phyboard-Segin

Default Icon
85 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
i.MX 93 BSP Manual PD24.1.1 Documentation Rev.: imx8mp-pd22.1.2-51-ga548be7d
target:~$ cansend can0 123#45.67
target:~$ candump can0
To generate random CAN trac for testing purposes, use cangen:
target:~$ cangen
cansend --help and candump --help provide help messages for further information on options and usage.
Device Tree CAN conguration of imx93-phyboard-segin.dts: https://git.phytec.de/linux-imx/tree/arch/
arm64/boot/dts/freescale/imx93-phyboard-segin.dts?h=v6.1.55_2.2.0-phy3#n147 or https://git.phytec.
de/linux-imx/tree/arch/arm64/boot/dts/freescale/imx93-phyboard-nash.dts?h=v6.1.55_2.2.0-phy3#n105
7.14 Audio on phyBOARD-Segin
On phyBOARD-Segin i.MX 93 the TI TLV320AIC3007 audio codec is used. It uses I2S for data transmission
and I2C for codec control. The audio signals available are:
Stereo LINE IN,
Stereo LINE OUT,
Output where D-Class 1W speaker can be connected
To check if your soundcard driver is loaded correctly and what the device is called, type for playback devices:
target:~$ aplay -L
Or type for recording devices:
target:~$ arecord -L
7.14.1 Alsamixer
To inspect the capabilities of your soundcard, call:
target:~$ alsamixer
You should see a lot of options as the audio-IC has many features you can experiment with. It might be
better to open alsamixer via ssh instead of the serial console, as the console graphical eects are better. You
have either mono or stereo gain controls for all mix points. “MM” means the feature is muted (both output,
left & right), which can be toggled by hitting m. You can also toggle by hitting < for left and > for
right output. With the tab key, you can switch between controls for playback and recording.
7.14.2 Restore default volumes
There are some default settings stored in /var/lib/alsa/asound.state. You can save your current alsa
settings with:
target:~$ alsactl --file </path/to/filename> store
You can restore saved alsa settings with:
target:~$ alsactl --file </path/to/filename> restore
Accessing Peripherals 66