Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Question about I2S audio output

107

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
107

Question about I2S audio output

Posted at 12/8/2014 14:33:02      View:15724 | Replies:9        Print     [Copy Link] 1#

The Firefly RK3288's PCM mode works well, but I want to use I2S audio output with ALSA. I don't know how to configure ES8323 I2S output mode. Please let me know the configuration for the I2S audio output.




Thanks.

?
Reply

Use props Report

107

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
107
Posted at 12/9/2014 12:20:38      2#

As you know default kernel image that Firefly provides is ES8323 PCM output. In the kernel compile configuration, there are two options "SoC I2S Audio support for rockchip -ES8323" and "Soc I2S Audio Support for rockchip - ES8323 for PCM modem". So you suggest that I should compile "SoC I2S Audio support for rockchip - ES8323" option. Is it right? Default kernel device driver in ALSA always provide PCM output and that's why I was wondering about using I2S mode.




Reply

Use props Report

107

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
107
Posted at 12/12/2014 23:49:50      3#

I compiled kernel with "SoC I2S Audio support for rockchip -ES8323" option. But I can't see the I2S driver in Unbuntu. When I list with "aplay -l" command, I see the following devices. There is no I2S driver for ES8323.  Could you help me how to setup I2S?



**** List of PLAYBACK Hardware Devices ****

card 0: RKES8323 [RK_ES8323], device 0: ES8323 PCM ES8323 HiFi-0 []

  Subdevices: 1/1

  Subdevice #0: subdevice #0

card 1: RKHDMISPDIF [RK-HDMI-SPDIF], device 0: SPDIF PCM Playback rk-hdmi-spdif-hifi-0 []

  Subdevices: 1/1

  Subdevice #0: subdevice #0

Reply

Use props Report

107

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
107
Posted at 12/17/2014 10:11:04      4#
I try to connect my PCM5102 DAC through I2S into Firefly Rk3288's GPIO6 I2S pin. But I still can't connect I2S device from GPIO6 I2S at Firefly. Stereo output at Firefly is working but I want a i2s output from Firefly. When I see "/proc/i2s_reg", there is no register values, so I think i2s device driver is not loaded. I2S device driver file which is "kernel/sound/soc/rockchip/rk30_i2s.c" is compiled, but I think it is not loaded. How can I output i2s signal from GPIO6 at Firefly to my PCM5102 I2S device?
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list