Sonsivri

Electronics => Projects => Topic started by: dspic on January 03, 2011, 10:05:14 10:05



Title: [req] WM8731 Audio Codec example
Post by: dspic on January 03, 2011, 10:05:14 10:05
Hi All,
any one worked with  WM8731 Audio Codec ?

i want to generate voice with PIC18F2550 and  WM8731.
any one can help?

dspic


Title: Re: [req] WM8731 Audio Codec example
Post by: tedz on January 26, 2011, 09:18:22 09:18
Seems like nobody here has had any good advise during the past few weeks. So, I decided to try to help at least a little. Unfortunately I have no hands-on experience on the WM8731 chip. However, it seems  to me, that the control interface can be configured as a "2-wire SPI" -interface. That is same as I2C, if I am not mistaken. And I2C is pretty standard stuff, and thus help should be easy to find. You should look for ready-made and tested I2C solution for PIC18F2550, and configure then the codec for I2C 2-wire interface. The HW connection for I2C  is trivial, and PIC would be the I2C master, and communicating with the codec through I2C protocol: Between chips, data line goes to data line and clock is connected to clock line - those two wires carry all control necessary. Just remember to have a pull-up resistor on I2C data and clock lines - 4k7 or thereabout to the VCC is usually OK.

It might be also helpful to use our friend Google with keywords such as "PIC18F2550 I2C" and "WM8731 application note" and "WM8731 I2C" etc....

Good luck with your project!

- Tedz



Title: Re: [req] WM8731 Audio Codec example
Post by: joator on January 26, 2011, 10:19:15 10:19
Hi

Maby you can find anything useful in Mikroelektronikas sample code for there nice PIC32 board that hace the same mp3 device as you
http://www.mikroe.com/eng/products/view/595/mikrommb-for-pic32-board/

They also have a very nice mp3 board out, but they have not relesed and sample code yet ... but ill hope the do soon.
http://www.mikroe.com/eng/products/view/484/audio-codec-board-proto/


/J


Title: Re: [req] WM8731 Audio Codec example
Post by: Sideshow Bob on January 26, 2011, 12:13:43 12:13
For some reason this user is muted. So he can not post much as long as he is muted


Title: Re: [req] WM8731 Audio Codec example
Post by: metal on January 26, 2011, 02:30:17 14:30
slideshow:

- I don't think he will post again,
   unless the issue is resolved.
   This is unlikely going to happen.
- This is non of your business.
- Would you also like me to mute
   your account for the sake of a
   useless, useless, useless post???