Other Parts Discussed in Thread: PCA9555, TAS2X63EVM
Tool/software:
Hello again!
(https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1328857/tas2563-register-settings-for-48khz-24-bits---mono-out-2x-stereo-in-pdm - sorry for the delay, we had to work on other things in the meantime)
I'm happy to say that we succeeded to implement the TAS2563 to our board. Audio playback and most other things are working fine. But we have troubles with the PDM mics:
For some reason, the byte order seems to be reversed. The attached file (test17.raw) is recorded as S16_LE, but if I open it in Audacity with the recorded settings, it is distorted. BUT: if i import it (Raw data) with
- Signed 16-bit PCM
- Big Endian (which obviously does not match to the recording
- 4 Channels
- 48000 Hz
everything is as expected and the Mics are working fine.
Of course, recorded .wav files are corrupted as well.
So, my question is: How can I correct the byte order of the recording? Is it a setting in PPC3, a register setting (regbin), an entry in the device tree or in the ALSA system?
Screenshots from Audacity:
Little Endian:
Big Endian:
The file test17.raw was recorded as following: