Debugging the WM8731 ADC/DAC with the Bus Pirate

in Bus Pirate by DP | 2 comments


Pasdesignal tweeted, “I solved i2s/i2c issues on my raspberry pi with the help of Bus Pirate”:

I have been experimenting with the WM8731 ADC/DAC chip (datasheet)  and the raspberry pi using i2s and the aSOC drivers.
I chose this CODEC because it already had an aSOC driver written, and Koalo had already written the other driver file required which was based on his experience with the Mikroe audio CODEC proto board. The WM8731 happens to be a Wolfson chip and I have had good experience in the past with another Wolfson DAC – the WM8740 which I used in my DIY USB DAC.
This particular CODEC has both stereo headphone and line level outputs, a line level input plus a separate simple mic input with integrated mic bias. At this stage I am using it with a simple crystal at 12.288MHz. So a decent chip to play around with, and hopefully not much fuss setting it up.

Get an assembled Bus Pirate for $30, including world-wide shipping. Also available from our friendly distributors.

This entry was posted in Bus Pirate and tagged , .


  1. Vikram says:


    i need help with wm8731. should i use the development board or the chip? And how am i supposed to interface it with microcontroller at89c51, this is a real basic microcontroller. How should i program it to get adio samples to the microcontroller?…please help!!!

  2. R Neese says:

    can you give a schematic layout of hoy you interfaced to the pi pn wise

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.