PCM bus Interface

Post Reply
eghbaliansajjad
Posts: 5
Joined: Sun Dec 23, 2018 8:05 pm
languages_spoken: english
ODROIDs: C1+
Contact:

PCM bus Interface

Unread post by eghbaliansajjad » Sun Dec 23, 2018 8:11 pm

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.

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: PCM bus Interface

Unread post by odroid » Mon Dec 24, 2018 10:59 am

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+?

eghbaliansajjad
Posts: 5
Joined: Sun Dec 23, 2018 8:05 pm
languages_spoken: english
ODROIDs: C1+
Contact:

Re: PCM bus Interface

Unread post by eghbaliansajjad » Tue Dec 25, 2018 1:41 pm

I want to connect C1+ with Le88286 codec. The voice path of Le88286 codec is based on PCM bus interface(G.711).

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: PCM bus Interface

Unread post by odroid » Wed Dec 26, 2018 9:19 am

I couldn't find any PCM interface on C1+.
https://wiki.odroid.com/odroid-c1/hardw ... connectors

eghbaliansajjad
Posts: 5
Joined: Sun Dec 23, 2018 8:05 pm
languages_spoken: english
ODROIDs: C1+
Contact:

Re: PCM bus Interface

Unread post by eghbaliansajjad » Wed Dec 26, 2018 3:42 pm

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

User avatar
odroid
Site Admin
Posts: 29372
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: PCM bus Interface

Unread post by odroid » Wed Dec 26, 2018 5:36 pm

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.

eghbaliansajjad
Posts: 5
Joined: Sun Dec 23, 2018 8:05 pm
languages_spoken: english
ODROIDs: C1+
Contact:

Re: PCM bus Interface

Unread post by eghbaliansajjad » Wed Dec 26, 2018 7:13 pm

Can you help me how can I port my own driver for odroid c1+?

User avatar
tobetter
Posts: 2581
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Contact:

Re: PCM bus Interface

Unread post by tobetter » Wed Dec 26, 2018 7:27 pm

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.

eghbaliansajjad
Posts: 5
Joined: Sun Dec 23, 2018 8:05 pm
languages_spoken: english
ODROIDs: C1+
Contact:

Re: PCM bus Interface

Unread post by eghbaliansajjad » Sat Dec 29, 2018 4:14 pm

Thanks.
How can I know the signaling format of I2S which is implemented in odroid C1?

User avatar
tobetter
Posts: 2581
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Contact:

Re: PCM bus Interface

Unread post by tobetter » Sat Dec 29, 2018 10:05 pm

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.

Post Reply

Return to “I2S Devices (HiFi Shield DAC and Stereo Boom Bonnet Kit)”

Who is online

Users browsing this forum: No registered users and 1 guest