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.

CCS/TLV320AIC3256: TLV320AIC3256

Part Number: TLV320AIC3256

Tool/software: Code Composer Studio

Hi 

I'm working with the TLV320AIC3256EVM-U and the PurePath Studio for its programing. 

I could program and work with the LINE INPUT, USB - Audio EVM through the component inputs, DEC1,2,..., I2S-IN, MONOI2S and MONO DEC. 
Always from the PC or from some device through the Line Input; but; I can't introduce any sound from the Microphone Input. I used microphones 
from the headset, electrelect, semi profesional but nothing occurs. 

Could someone of the colleagues borrow me a schematic in .pfw to try or give me clue about what it's occurring. 

Looking forward to hearing from you soon, best regards

Daniel 

  • HI, Daniel,

    This seems related to the input configuration of the device. From the miniDSP point of view, you have only an input from the ADC (Decimators), that sends the digital data to the miniDSP from the configured  analog inputs. If you are using PurePath Studio, by default inputs IN1L and IN1R are selected, in the EVM, IN3L and IN3R are used for the mic input. You need to change the device configuration script from PurePath Studio to select IN3L and IN3R as the ADC inputs, as well as configure the respective micPGA.  In this wiki article, you will find the instructions on how to change the device configuration in PurePath studio.

    Basically, you need to make the following changes:

    reg[ 1][ 52] = 0x04 ; Route IN3L to LEFT_P with 10K input impedance
    reg[ 1][ 55] = 0x04 ; Route IN3R to RIGHT_P with 10K input impedance

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego

    Do you speak Spanish? As per your name and surname it's very posible. Thank you for your quick reply to my problem I think it would be solved in a minute when we change the script for the inputs. The big problem I have now is I tested some projects designed for the AIC3254. Those projects changed the sample frequency of my EVM to 16,000 instead 44Khz. When I get back to the projects for the AIC3256 several errors were issue by the PPS. I try to install the .bin for 44Khz and now the EVM do not connect with the PC. Do you know the procedure to get back to the initial configuration in the EEPROM to have the EVM working again?
    Best regards
    Daniel Alayon
  • Hi, Daniel,

    Thanks for the feedback!, I do speak Spanish (is my mother tongue actually), but in E2E we need to keep the conversation in English :).

    It seems that PPS re-programmed the EEPROM of your EVM, I think this is a problem with the way the software makes this process. Please try the steps mentioned in this wiki article to re-program the EEPROM of your EVM.

    Whenever PurePath Studio request to change the sampling rate by reprogramming the EEPROM, please ignore the request and change the firmware manually.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Thank you Diego; have a nice weekend

    Regards

    Daniel Alayon
  • Hola Diego

    When I have done the steps in the wiki to reprogram the EEPROM the system (OS Windows 10) do not wait for the installation of the driver.
    The system says is configuring the device and put a new device as UNKNOWN with no controller.
    I made several (ten or more) times the procedure in the wiki but the messages from the BFUTEST are always the same telling there is no EEPROM at the desired address. We short the P1 and P2 pines as there are no other chance to short the SDA and SCL pins of the EEPROM.

    Do you have some other tip to us to reconfigure the EVM board?

    Best regards

    Daniel Alayon
  • Hola Daniel,

    This might be a problem caused by Windows forcing the automatic driver install. I haven't experienced a similar issue before. One thing you might try would be to manually force the correct driver to the EVM, then it should be recognized as DFUUSB device so you can use the tool to program the EEPROM.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego

    I use a old PC with XP and now all it's working fine.

    Only one exception; the microphone of the headset Works well (I think it's one electrect type) but the semi-proffesional ones not. 

    The sound it's very very low; do you think it would be the DC bias or other kind of configuration should be done for this device?

    Best regards

    Daniel Alayon

  • Hola Daniel,

    Thanks for the feedback, I'm glad to hear the main issue was solved. 

    Regarding the mic problems, it is possible that ass you mention the semi-professional mic requires a higher biasing voltage to operate properly. This coded is set to be used in portable applications where the general  used mics are electret type ones. You might try increasing the PGA gain and see if you can increase the input signal. 

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego

    Thanks a lot for your assistance and Support, it was very useful to solve the problems we have had.

    Is it enough the "TLV320AIC3256 Application Reference Guide" to manage the registers and functions availables through the "AIC3256-U Control Software";

    or there are other resources to increase the knowledge in the AIC3256 miniDSP?

    Best regards

    Daniel Alayon

  • Hi, Daniel,

    I'm glad to hear your issue was solved. Regarding your question, the application reference guide should be enough to configure and control the device with the register settings, just as the Control Software. For miniDSP development, you can take a look to this wiki entry to find more information,

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego

    Thanks a lot for your support; five stars for you.*****

    Best regards

    Daniel Alayon

  •  Hi Diego

    I had installed the different softwares for the AIC3254  in my lab with in a computer with Windows 7 (32bits) Proffesional but the interfase for the app AIC3256EVM-U CS when it's opened it do not shows the functions in the White window. Attached is an image.

    Could you give us a clue about what is happing?

    Regards

    Daniel Alayon

  • Hola, Daniel,

    Sorry for the delay, I was on Holiday since Nov 1st.

    This is a known issue for this GUI, the control commands will not appear if the software is not executed as Administrator.

    Please run the GUI as Admin to fix the issue.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hola Diego

    The issue was solved also using the "compatibility" in "properties" we signal to run as Windows XP SP3 and the issue was out.

    Regards

    Daniel Alayon

  • Hola Diego

    There are some reports saying the AIC3254/56 do not fulfill the functionality for ANC by cause the clock velocity.

    Do you recommend other miniDSP and its board evaluation for Active Noise Cancellation?

    Best regards

    Daniel Alayon

  • Hola, Daniel.

    As you mention, the miniDSP on the TLV320AIC3256/54 doesn't support ANC. Unfortunately, the miniDSP of our devices doesn't have enough capabilities to make an effective algorithm for noise cancellation. For a ANC implementation, we recommend to use external DSP.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hola Diego

    Do you suggest or indicate which one external DSP, model, serial number?

    Regards

    Daniel Alayon

  • Hi, Daniel,

    Unfortunately I don't have the full context to suggest a preferred DSP for this type of applications, I would recommend you to check with my colleagues of the C55x DSP forum for the best device recommendation for your application.

    Saludos!

      -Diego Meléndez López
       Audio Applications Engineer

  • Hola Diego

    Thanks for your suggest. I will continue for the moment doing tests with the 3256 as we are looking to reduct the noise in the band that is going from the 20 to 200 Hz. As they are low I have hope the 3256 has enough power to manage the active filters and the AD - DA converters into that range with property.

    Regards

    Daniel Alayon

  • Hola, Daniel,

    Thanks for the feedback. For basic filtering like reducing the amplitude of certain frequency band, the miniDSP of the  'AIC3256 can be used without issues as there are a couple BiQuad and Equalization blocks available in PurePath Studio.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego

    Which would be the function (parameter) in the PurePath Studio to invert one of the channels?

    Best regards

    Daniel Alayon

  • Hola Daniel,

    You might try with the Negate function that is available under the Basic  DSP section. I haven't tried it yet, but it seems that this block can be used to invert the signal.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hola Diego

    It sounds good and with sense

    Muchas gracias

    Daniel Alayon

  • Hola Diego

    "Negate" function Works very well to invert the signal from one chanel. Düring the compilation of the code the PPS says the board is at 8KHz of sampling instead 44KHz. 

    1) How may I change the sample rate of the board?

    2) The information of the board says there is necessary an external audio input for 86KHz and 192KHz; what it's means?

    Regards 

    Daniel Alayón 

  • Hola Daniel,

    Glad to hear the Negate function worked fine. Please refer to my comments below:

    1. The sampling rate of the board can be updated by following the steps mentioned in the wiki I mentioned before to re-flash the EEPROM, just change the image to the desired sampling rate [step 13].
    2. This note means that in order to get higher sampling rates (like 86KHz and 192KHz), an external interface should be used to drive the device, this is because the EVM supports only up to 48KHz sampling rate.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hola Diego

    Thanks for your reply.

    About answer 2.-; is there some examples to see in the wikies the implementation with an external interface to reach those sample frequencies?

    Saludos

    Daniel Alayon

  • Hi, Daniel,

    The device supports those higher sampling rates, the limitation comes from the USBMODEVM board as the USB interface device supports up to 48KHz sampling rate. In order to use higher sampling rates, you should connect an external interface to jumper J14 of the motherboard. The Switch SW2 should be configured as indicated below to use the external interface:

    The configuration of the device should be done accordingly to the sampling rate used and clocks provided. 

    Saludos!,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hola Diego

    This is not the board we have, the one we have is the AIC3256 EVM :

    Regards

    Daniel Alayon

  • Hola Daniel,

    Thanks for the clarification and sorry for the confusion, I thought you were using an 'AIC3254 EVM. For the 'AIC3256EVM, unfortunately there is no a direct way to input an external I²S interface without reworking the board [remove the TAS120B USB interface].

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Thank you Diego

    Best regards

    Daniel Alayon

  • Hola Diego; Feliz Año Nuevo!!!

    Regarding about the mic problems, it's sure it would be produced by the low biasing in the AIC3256; could you Please give us directions how to change the register R51 to deliver 2.5 volts as bias?

    Best regards

    Daniel Alayon

  • Hola Daniel,

    In order to configure the micbias of the 'AIC3256 as 2.5V, Page 1: Register 51 bits D5 and D4 should be set to "11".

    2.5V will be the micbias voltage with this configuration as long as the full Chip Common mode is set as 0.9V (Page 1: Register 10, Bit D6).

    Feliz año!

    Best Regards

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego, same for you!!!

    Then in Register 51, Page 1 it would be filled with 0x30 and for Register 10 at Page 1 it would be 0x40, that's right?

    Regards

    Daniel Alayon

  • Hola Daniel,

    For register 51, 0x30 will set the micbias as 2.5V, however, you also need to turn micbias ON. So the correct value to turn micbias ON and set it as 2.5V for Page 1: Register 51 is 0x70. Please note that this assumes that micbias is generated from AVDD (bit D3 = 0).

    Page 1: Register 10, Bit D6 should be 0 to set the common mode voltage as 0.9V, so the correct value should be 0x00

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hola Diego

    A lot of thanks Amigo

    Best regards

    Daniel Alayon