My design uses IIS audio on BGA pins V16, U16, T16, and V17; configuration 12 in the Pin Mux application for mcasp0:
bone_audio_cape_audio_pins: pinmux_bone_audio_cape_audio_pins {
pinctrl-single,pins = <
0x60 0x26 /* mcasp0_aclkx.mcasp0_aclkx, INPUT | MODE6 */
0x64 0x26 /* mcasp0_fsx.mcasp0_fsx, INPUT | MODE6 */
0x68 0x26 /* mcasp0_ahclkr.mcasp0_axr0, INPUT | MODE6 */
0x6c 0x26 /* mcasp0_ahclkx.mcasp0_axr1, INPUT | MODE6 */
>;
pinctrl-names = "default";
pinctrl-0 = <&bone_audio_cape_audio_pins>;
status = "okay";
op-mode = <0>; /* MCASP_IIS_MODE */
tdm-slots = <2>;
num-serializer = <16>;
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
0 0 0 0
0 0 0 0
0 0 0 0
2 1 0 0
>;
tx-num-evt = <1>;
rx-num-evt = <1>;
When I run speaker-test -c 2 -t wav I get clocks on V16, and appropriate sync (I think) on U16, but no data on V17. Speaker-test also times out with an error message of :
Write error: -5,Input/output error
xrun_recovery failed: -5,Input/output error
Transfer failed: Operation not permitted
Is this configuration supposed to work and, if it is, any suggestions what I configured incorrectly?