This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Multiple Sine Wave Generator with different frequencies

Other Parts Discussed in Thread: TMDX5535EZDSP

Hi,

I have TMDX5535EZDSP kit and I have been working on the sine wave examples. If I am not mistaken, C5535 uses the sine wave constants and makes the calculations according to fixed-point feature. I can only create two outputs since the kit has two headphone outputs (left and right) via AIC3204 codec.

I would like to create 8 different sine wave outputs (10kHz-30kHz range) from the kit. Is that possible with C5535? If so, how can I do it? If not, why and what should I use instead?

I was thinking of using 4xAIC3204 in parallel to generate the sine waves?

Thanks for advance

  • Hi Onur,

    The edge connector of the TMDX5535EZDSP routes all 4 C5535 I2S ports.

    You could wire each I2S to an AIC3204 EVM (http://www.ti.com/tool/tlv320aic3204evm-k)

    See also http://support.spectrumdigital.com/boards/assy515102/revb/

    This board has 2 codecs connected to I2S2 and I2S3, but the codec on the eZdsp also uses I2S2...

    Contact Spectrum Digital for more info on this board.

    Hope this helps,
    Mark

  • Thanks Mark, I have received AIC3204 EVM board recently. Although I have troubles to connect the kit to a PC, I really do not need that.

    I am confused that don't I need to connect I2C pins? Since C5535 has only one port for I2C communication and I guess AIC3204 does not have any address inputs to change I2C address, do I need to send/receive data packets to the same I2C address for both AIC3204 boards, while sending sound data to different ports of I2S of C5535?

    Thanks for advance,

    Onur

  • Hi Onur,

    Good catch!

    AIC3204 does require configuration through either I2C or SPI. Then each codec needs a separate I2S port to stream audio to/from.

    But AIC3204 does not allow you to change its I2C address - all AIC3204 devices on the I2C bus will respond to the I2C address of 0011000.

    I don't recommend writing to multiple AIC3204s simultaneously (ie. address and write to 2 codecs at the same time).

    You can pass the I2C signals through a mux to select only one codec at a time.

    You can also use SPI instead of I2C to initialize the AIC3204 - flip SW1 on the AIC3204 EVM to use SPI instead of I2C.

    I think all of our code examples use I2C to configure the codec, so you may have to adapt these functions to SPI if you choose that route.

    Hope this helps,
    Mark

  • hello,

            can u plz tell me how can i set a frequency range of a multifrequency generator in TINA simulation ckt and how can i check it from AC characteristics.

    charu singh