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.

TLV320ADC5140: [TLV320ADC5140] One sound choose error channel number

Part Number: TLV320ADC5140
Other Parts Discussed in Thread: TAS5805M, TAS5805

Hi,team

We use ADC record two analog single-ended input and one analog differential input

From above design.the two single will record in slot 0 and slot 1(32 slot TDM).

But if we enable the differential input,differential input will  occupy the slot 1.

And slot 1 don't have single data.

As i wish,two single shoud occupy slot 0 and slot 1,differential input should occupy slot 2.

There is the regs map in recording,please help check it

thanks

  • Hello,

    I will take a look at this and get back to you within 48 hours.

    Best Regards,

    Carson 

    Low Power Audio Apps

  • Hello Again,

    In register 7 you are setting slot length to 16 Bits, ASI_WLEN[1:0] = 0 when it should 3

    Best Regards,

    Carson

  • Hi,Carson Allen

    Thank you for replay.

    If we set ASI_WLEN to 3,there have noise in record data.

    We use TDM BCLK is 24.576M = 16bit * 32 slot * 48K.

    This ADC have problem and use 3 analog input.

    Other three ADC use DMIC don't have this problem.(24 slot corresponding 24 DMIC)

    Please help check it.

    thanks

  • Hello,

    Are these other ADCs sharing clocks and same audio data bus?

    Carson

  • Hi,

    Yes,all ADC use same TDM clk.

    By the way,when the problem happen....other ADC channel also change changnnel position.

    Let me summarize the status

    1)If we don't enable analog input.

    slot0 - slot7 is NULL and slot 8 - slot 31 is ADC data.

    2)But if we enable analog input

    analog input is slot 1 and slot 7 - slot 30 is ADC data

    3)We wish status is 

    analog input is slot 2 and slot 8 - slot 31 is ADC data.

    thanks

  • Hello,

    So in register map I see that register 0x46 is still at default value, are you making sure to adjust it to differential instead of single-ended?

    Also are all the TLV320ADC5140s set to same word length?

    Best Regards

    Carson

  • Hi

    I try to changed CH3_INSRC[1:0] to differential or single-enable.

    it has no impact or change.

    all the TLV320ADC5140s set to same word length?

    >>>

    Yes,all slot set to 16bit word length.

    And we also find a problem.

    If ADC record sound after play music to pa,this problem don't happen.analog input is slot 1

    But if you record sound before play,this problem will happen.analog input is normal slot 2

    thanks

  • Hello Zeng,

    Is it possible for you to try this same configuration on one of the devices you have and see if issue is recurring?

    Best,

    Carson

  • Hi

    We are in EVT stage and The factory has produced many machines.

    I have tested 20 machines and also have the problem.

    In fact, we have a similar problem.

    We use your PA tas5805m which use same TDM with ADC.

    If ADC record befor playback,it's OK.

    But if ADCrecord after playback,the tas5805m volume will increase and there will be noise.

    I think maybe it's same problem.

    Is it possible that it is due to CLK timing?

    thanks

  • Hello Zeng, 

    This probably most likely has to do with TDM settings being same for each device with shared data line or possibly clock timing.

    Could you verify if TDM settings are lined up to be same on each device and recorded clock on input is synchronized.

    There may also be problem with sync of device to convert analog especially differential into output data vs converting Digital MIC conversion on different device but using same data line out for transmission. There may be a incompatibility there but have you or do you have ability to add TX_OFFSET to see if that makes a difference. 

    I will reach out to colleagues for more opinion on this set-up.

  • Could you test output condition when only device connected to output is the device that has analog input?

  • Hi,Carson Allen

    OFFSET

    >>>

    We got new progress.

    If ADC record sound after tas5805 playback.

    The  tas5805 will get noise and  volume gets louder.

    The problem is fixed after change tas5805 OFFSET to 4 bit.

    As you know,if ADC record sound before tas5805 playback,the ADC channel also change.

    So i think the two problem both cause by clk timing.

    I have asked HW team help confirm it.

    thanks

  • Alright good to hear progress has been made, keep me updated if more answers from my side are required

    Carson