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.

TLV320AIC3104: How to read frequencies

Part Number: TLV320AIC3104
Other Parts Discussed in Thread: TLV320AIC3254

Hi,

I´m wondering if there is any possibility to know using this codec the different frequencies of a noise that enters to this codec as an analog input. I´ve seen in the firmware of the codec that there is a prebuilt function called "TLV320_get_dBs". I guess this function will convert the analog audio input in dBs, so the output is the quantity of dBs, but in my case I would like to know how this input is distributed in frequency, that is, how many dBs are in different frequency bands. Can this codec provide me that information?

Regards,

  • User,  

    Which firmware are you referring to?   The TLV320AIC3104 does not have a programmable DSP, and this functionality is not built in to the device.  if you are looking for something like this the TLV320AIC3254 can implement a spectrum analyzer.  See the below Screenshot from the GUI. this is one of the DSP examples for the TLV320AIC3254. 

    best regards,

    -Steve Wilson

  • Hi Steve,

    When I said firmware I meant the typical code that the manufactures send as a starting point in which there are some functions prebuilt.

    According to TLV320AIC3254, could I apply gains in frequency bands using this codec?

    Regards,

  • User,

    where did you find this firmware that references "TLV320_get_dbs" ?

    the TLV320AIC3254 has digital biquad filters as well that can be used as an equalizer too.

    The issue is going to come down to how many frequency bands you will be able to have an analyzer and filter for at the same time.

    do you have requirements?

    best regards,
    -Steve wilson
  • Hi Steve,

    According to the function get_dbs, the firmware we have in our device, where is mounted the TLV320AIC3104, was developed for a third party company. Reviewing this firmware I´ve seen many functions that I thought the manufacturer had done it. The same as when someone buys a microprocessor and the manufacturer sends a starting point software. 

    Regarding the other codec, I don´t have requirements I only wanted to know the possibilities in terms of frequencies about other codecs.

    Best regards,

  • User,

    At one time there were many 3rd party developers for TI's MiniDSP, so it does not surprise me that you would have some 3rd party firmware. Unfortunately it also means that I don't have much insight into that third party developed firmware.

    let me know if you have any more questions, we're happy to help

    best regards,
    -steve Wilson
  • Thanks a lot Steve!

    Best regards!