Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Question about WM8731

I use a MIC to give a signal into wm8731 throuth the "MICIN" pin,I want to set the sample rate at 8kHz and let the digital audio data output through the "ADCDAT" pin.While I want it output sound through "LHPOUT" pin and "RHPOUT" pin.

How should I configure the wm8731?

Which bit do I need to set?

Do I need to connect an external crystal?

English is not my first language,read the datasheet of wm8731 is difficult for me.Please help me,Thank You!

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can configure WM8731 thru 2-wire / 3-wire method. I recommend u to download a IP core called video_audio_config from altera website and auto-initialize all these parameters . It works out fine for me. Also, you can use HAL to access the configuration register in WM8731 and configure it with reference to datasheet. You should search related topics and they will help you out :D

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i don't find video_audio_config ip in altera website. please help me to find it.