Go to advanced search

by bg3mdo
Tue Oct 11, 2016 1:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 472532

Re: The I2S sound thread.

Sorted, I got my card (Audio Codec Board - PROTO, WM8731) from RS component UK, and the board has a wrong crystal. I even requested a replacement, has the same problem, now think about the same batch -- made in Serbia. Should be 12.28MHz, but has 16MHz on, the wrong crystal has component number 430....
by bg3mdo
Mon Oct 10, 2016 4:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pi2B and MikroE Audio Codec Board I2S
Replies: 8
Views: 3458

Re: Pi2B and MikroE Audio Codec Board I2S

RS component (UK) seems sending Audio Codec Proto with a wrong crystal. The WM8731 should work as a master device, which sending clocks to Pi. RS component one has 16MHz crystal other than 12.288Mhz. This is what I get, for example, 64k when setting as 48k ---- 64k/48k = 16/12m... Note the crystal h...
by bg3mdo
Sun Oct 09, 2016 5:27 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 472532

Re: The I2S sound thread.

Even using audioinjector audio card driver, I have exactly the same results, high pitch sound.
by bg3mdo
Sun Oct 09, 2016 4:39 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pi2B and MikroE Audio Codec Board I2S
Replies: 8
Views: 3458

Re: Pi2B and MikroE Audio Codec Board I2S

Sorry, correct myself, it is not doubled, what I got:

96K --> 125K on Pi (Pi outputs this freq.)
48K ---> 62.5K
32K ---> 41.68K
8K ---> 10.42K

It supposed to be a clocking system problem of I2S.

I am on a Pi3
by bg3mdo
Sun Oct 09, 2016 4:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Interfacing with WM8731 Dev Board using SPI and I2C/I2S
Replies: 1
Views: 980

Re: Interfacing with WM8731 Dev Board using SPI and I2C/I2S

This might be useful for you.

https://github.com/raspberrypi/linux/issues/1302

'rpi-proto audio codec on Raspberry Pi v2 model B'

I am using WM8731 on Pi3, but got sampling freq. problem.

Sound is at a high pitch.
by bg3mdo
Sun Oct 09, 2016 2:59 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 472532

Re: The I2S sound thread.

I am currently working on a project, which porting a WM8731 (proto audio card) to Pi 3. HW and SW are based on: https://github.com/raspberrypi/linux/issues/1302 'rpi-proto audio codec on Raspberry Pi v2 model B #1302' Now I am encountering some problems, where my LRCK (sample rate) is much higher th...
by bg3mdo
Sun Oct 09, 2016 12:47 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pi2B and MikroE Audio Codec Board I2S
Replies: 8
Views: 3458

Re: Pi2B and MikroE Audio Codec Board I2S

When I play a wave @48k or not only that rate, I got speed doubled....

Go to advanced search