splif anyone?
Matt (481) 28 posts |
sorry, spdif I mean. I’ve been trying to write some basic sound drivers on the iMX6 but so far have failed using HDMI and SPDIF. I attempted to port the imx6 sdk platform tests, but when attempting to write to the spdif tx, the system hangs and hdmi gives me silence. I configured the spdif tc as follows: HW_IOMUXC_SW_MUX_CTL_PAD_ENET_RX_DATA0_WR( BF_IOMUXC_SW_MUX_CTL_PAD_ENET_RX_DATA0_SION_V(DISABLED) | BF_IOMUXC_SW_MUX_CTL_PAD_ENET_RX_DATA0_MUX_MODE_V(ALT3)); HW_IOMUXC_SW_MUX_CTL_PAD_ENET_RX_DATA0_WR( BF_IOMUXC_SW_PAD_CTL_PAD_ENET_RX_DATA0_HYS_V(DISABLED) | BF_IOMUXC_SW_PAD_CTL_PAD_ENET_RX_DATA0_PUS_V(100K_OHM_PD) | BF_IOMUXC_SW_PAD_CTL_PAD_ENET_RX_DATA0_PUE_V(KEEP) | BF_IOMUXC_SW_PAD_CTL_PAD_ENET_RX_DATA0_PKE_V(DISABLED) | BF_IOMUXC_SW_PAD_CTL_PAD_ENET_RX_DATA0_ODE_V(DISABLED) | BF_IOMUXC_SW_PAD_CTL_PAD_ENET_RX_DATA0_DSE_V(40_OHM) | BF_IOMUXC_SW_PAD_CTL_PAD_ENET_RX_DATA0_SRE_V(FAST));The rest is no different fromn the platform sdk. I’m thinking maybe I havent got the right clock configured correctly? As far as the HDMI audio, I cant think what could be the problem as there shouldnt be any configuration difference – again I’ve tried a direct port of the platform sdk test but hear nothing. I’ve had a look in the RISC OS sources for the imx hdmi audio driver but not found it.. Any pointers welcome. Thanks, Matt |
Jeffrey Lee (213) 6046 posts |
Those are in a private repository. I’m not sure what the timeline is for releasing them to the public repo – you’d have to check with R-Comp. I can’t remember exactly how I first got HDMI audio working for the iMX6, but one of the key things was to make sure the machine was actually generating a HDMI video signal, not a DVI one! (and as you can probably guess, the necessary video driver bits to allow it to output a HDMI signal aren’t in the public CVS yet) Not sure why SPDIF wouldn’t be working – I haven’t tried touching that hardware yet. |
Andrew Rawnsley (492) 1407 posts |
I think many folks would appreciate a fully featured media player – it is a big hole in current RISC OS software spectrum. As for how many people, hard to say, but all I can do is confirm that i.MX6 has been our biggest seller, eclipsing all other boards put together (I think). As such, it is an ideal test platform, and obviously we’ll give you any assistance you might need. Better to email off-forum though, as you’re likely to get more info from the likes of JB directly, as not everyone reads the ROOL forums. PS, getting SPDIF working would be very cool :) I know several people who would be all over that! |