Results 1 to 10 of 10

Thread: Ask about the DE2 Audio Codec.

  1. #1
    Join Date
    Mar 2008
    Posts
    10
    Rep Power
    1

    Red face Ask about the DE2 Audio Codec.

    I set-up everything as in the manual, and use the reference design to play music(48KHZ,wav). But why there is much noise along with the music from the headset?

    Thanks for help!

  2. #2
    Join Date
    Dec 2007
    Posts
    11
    Rep Power
    1

    Default Re: Ask about the DE2 Audio Codec.

    I came across the same extact problem...When playing in 44.1KHz or 44.8 there was an extremely annoying noise .....I really cannot understand why..........???????

  3. #3
    mirimon Guest

    Default Re: Ask about the DE2 Audio Codec.

    I had the same problem with the sd audio player

    #define LCD_DISPLAY
    #define SEG7_DISPLAY
    #define DISPLAY_WAVE_POWER
    #define SUPPORT_PLAY_MODE

    i commented out these ddefines and the sound was a lot better

  4. #4
    Join Date
    May 2008
    Posts
    3
    Rep Power
    1

    Default Re: Ask about the DE2 Audio Codec.

    Hey! Is there a way to make the ADC output of the Audio Codec (of DE2 Cyclone II board) be written onto the Flash Memory on the board??????

  5. #5
    Join Date
    Dec 2007
    Posts
    11
    Rep Power
    1

    Default Re: Ask about the DE2 Audio Codec.

    yes there is...first u got to add a flash memory controller to the SOPC system of yours, and then from the Nios IDE to choose where to download your program.(From the properties menu of your project)

  6. #6
    Join Date
    May 2008
    Posts
    3
    Rep Power
    1

    Default Re: Ask about the DE2 Audio Codec.

    YA thanks.. but theres a bigger problem. My program is supposed to take in the ADC output into it and then work upon it to give out another set of bits, both input and output being serial. The output then goes into the DAC which gives us the analog signal.. Now, the Audio Codec has an ADC data output, a DAC data input, an ADC sample clock output, a DAC samlpe clock input as well as the master clock. Now we want to synchronize all this with the program but have no idea which clock to use! Please guide!

  7. #7
    Join Date
    Dec 2007
    Location
    Bochum Germany
    Posts
    5,854
    Rep Power
    1

    Default Re: Ask about the DE2 Audio Codec.

    Some confusion may come from the audio codec capabilities to support different modes. I suggest to look at the slave mode configuration shown in Fig. 6 + 7 in the datasheet. It's best suited for FPGA operation and rather straightforward. The codec has to be setup to the respective mode through control interface before operation.

  8. #8
    Join Date
    May 2008
    Posts
    3
    Rep Power
    1

    Default Re: Ask about the DE2 Audio Codec.

    And where do I find this 'control interface' from? The datasheet has given all the controls and settings and the configuration information but it has not mentioned WHERE I can input all this setup parameters like Master or Slave mode, which sampling frequency etc. I am so lost and I am on a frickin' deadline! Thanks for helping out!!

  9. #9
    Join Date
    Dec 2007
    Location
    Bochum Germany
    Posts
    5,854
    Rep Power
    1

    Default Re: Ask about the DE2 Audio Codec.

    Altough the Terasic software examples aren't very instructive, they should be sufficient to see how e. g. the audio codec control interface can be operated. You can consult the DE2_i2sound example. It has a sequence of commands in module clock_500.v that is transmitted through module i2c.v, the I2C-controller that drives the control interface.

  10. #10
    Join Date
    Nov 2010
    Posts
    8
    Rep Power
    1

    Default Re: Ask about the DE2 Audio Codec.

    Hello, i am having the same problem with the SD card, there is considerable noise level on the output, so is there any workaround for this?

    Thanks!

Similar Threads

  1. Need help with DE2 Audio Codec
    By ssuunny2005 in forum IP Discussion
    Replies: 7
    Last Post: December 16th, 2013, 01:51 PM
  2. Help needed about the DE2 Audio Codec
    By ssuunny2005 in forum Development Kit Related
    Replies: 8
    Last Post: December 7th, 2010, 04:58 PM
  3. Help with the Audio Codec
    By patrickbway in forum Development Kit Related
    Replies: 5
    Last Post: December 9th, 2009, 07:48 PM
  4. audio codec -- help help
    By galaxary in forum Development Kit Related
    Replies: 1
    Last Post: April 24th, 2008, 04:24 AM
  5. SPI and an Audio codec
    By eltonlaonong in forum General Discussion Forum
    Replies: 2
    Last Post: October 20th, 2005, 11:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •