Page 1 of 1

PCM bus Interface

Posted: Sun Dec 23, 2018 8:11 pm
by eghbaliansajjad
hi
I do a audio project with odroid-c1+ and I should drive the PCM bus interface. I don't know how can I drive the PCM bus in ubuntu. I appreciate if you can help me to over come this problem.

Re: PCM bus Interface

Posted: Mon Dec 24, 2018 10:59 am
by odroid
We have no experience of PCM device driver. I've tested/supported only I2S bus interface.
Which device do you want to connect to C1+?

Re: PCM bus Interface

Posted: Tue Dec 25, 2018 1:41 pm
by eghbaliansajjad
I want to connect C1+ with Le88286 codec. The voice path of Le88286 codec is based on PCM bus interface(G.711).

Re: PCM bus Interface

Posted: Wed Dec 26, 2018 9:19 am
by odroid
I couldn't find any PCM interface on C1+.
https://wiki.odroid.com/odroid-c1/hardw ... connectors

Re: PCM bus Interface

Posted: Wed Dec 26, 2018 3:42 pm
by eghbaliansajjad
The PCM bus interface is :
- GPIOX_6 - PCM_FS_A - PCM frame synchronisation
- GPIOX_7 - PCM_CLK_A - PCM master clock input
- GPIOX_5 - PCM_IN_A - PCM input stream
- GPIOX_4 - PCM_OUT_A - PCM output stream

Re: PCM bus Interface

Posted: Wed Dec 26, 2018 5:36 pm
by odroid
You are right.
But I couldn't find any proper PCM device driver in our Kernel source.
I think you have to develop or port your own driver.

Re: PCM bus Interface

Posted: Wed Dec 26, 2018 7:13 pm
by eghbaliansajjad
Can you help me how can I port my own driver for odroid c1+?

Re: PCM bus Interface

Posted: Wed Dec 26, 2018 7:27 pm
by tobetter
eghbaliansajjad wrote:
Wed Dec 26, 2018 7:13 pm
Can you help me how can I port my own driver for odroid c1+?
Are you meaning you want to port your own PCM driver or something else? You should share the code snip of your own code if you like to port your own driver to the kernel tree. Unless it's a bit of hurdle since no one knows how is your code and how to guide you.

Re: PCM bus Interface

Posted: Sat Dec 29, 2018 4:14 pm
by eghbaliansajjad
Thanks.
How can I know the signaling format of I2S which is implemented in odroid C1?

Re: PCM bus Interface

Posted: Sat Dec 29, 2018 10:05 pm
by tobetter
eghbaliansajjad wrote:
Sat Dec 29, 2018 4:14 pm
Thanks.
How can I know the signaling format of I2S which is implemented in odroid C1?
You can probe the I2S pin pad and its standard format, no specific format for ODROID-C1.