Forum Discussion
Altera_Forum
Honored Contributor
16 years agoAudio CODEC help
Hi, I am a newbie and am trying to get the ADC working on the DE2 board. So far, I am using the MICIN input and I used the ADCDAT to get out the bits serially. I have been reading up on the WM8731...
Altera_Forum
Honored Contributor
16 years agoHello,
1) You need to look up the datasheet for this. There is an I2C interface which is used to set the internal registers. R7 and R8 do this -- see the register map. 2) This is complex. I imagine you would set up a jtag interface then use a tcl function to read data from a register, then write that to a file. 3) Yes- left and right channels are muxed in ADCDAT. Bit 2 of R4 is the INSEL analogue switch which selects either stereo line in or mono mic in (which goes to both channels) for the two adc's. This doesn't affect the ADCDAT output. Best jt