Hello,
I have an issue using a tas2563 amplifier on an imx8m-plus:
Audio playback is working fine, but recording the PDM microphone via the tas2563 chip results in reversed endiannes of the recordes .wav files. If I import them with big-endianess (wrong setting for .wav files), they sound well. I already talked plenty of times to the ti support without success.
My question is:
Is there a possibility to reverse the byte order from Big Endian to Little Endian within your drivers / the simple-audio-card / device tree settings or in the ALSA subsystem? Important: only the RX channels should be reversed.
I'm currently on Yocto Kirkstone, Kernel 5.15.71.
The codec driver is from https://git.ti.com/cgit/tas2781-linux-drivers/tas2781-linux-driver
Kind Regards,
Christian
Device Tree excerpt:
Hello,
You have to change the endianess in kernel mode, please check it:
https://kernelnewbies.org/EndianIssues
Regards