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.

TLV320AIC1110 PCM CODEC. Driving PCMSYNC from the Codec.

Other Parts Discussed in Thread: TLV320AIC1110

Hi!

Datasheet (SLAS359 – DECEMBER 2001) on page 6 says:

"The PCMCLK can be tied directly to the 128-kHz or 2.048-MHz master clock (MCLK). The PCMSYN can be driven by an external source or derived from the master clock and used as an interrupt to the host controller."

But how can I enable mode "derived from the master clock and used as an interrupt to the host controller"? Are there some configuration bits? 

And how host controller should process PCMCLK in this mode? Should it do first clock on interrupt, and then do eight clocks with data capture? Or it must do only eight clocks on interrupt?

Thx in advice.

  • Hi,

    The AIC1110 is always a slave, so PCMSYN is always an input at the sample rate. The datasheet is referring to the possibility that you can use the PCMCLK with an external divider.

    You might want to look at something like the AIC3104 which is a much newer and more versatile device.  

  • Thank you for the answer. 

    We have some problems with using PCM interface. I2C interface works normally. We tested sideton mode: when we connected audio output to codec microphone input and earphone codec output to speaker, we heared sound. Also we tested DTMF generation: it works, we hear tones.

    But when we try to exchange via PCM we cant output sound to output or even retrieve noice data. We receive only FF.

    Codec works on 2.048 MHz generator, and SPI master's clock is 2.0 MHz. We generate SYN Signal from master with ~8 kHz frequency:

    There are response from first byte after reset(sometimes it is 0xD5):

    But on all next bytes MISO is 0xFF(I think we must see some noice or ALow zeros):

    File with logic analyser data:  

    Our I2C configuration is:

    TLV320_REGADDR_PWRCTL, 0x9B
    TLV320_REGADDR_MODECTL, 0x91
    TLV320_REGADDR_TXPGA, 0x70
    TLV320_REGADDR_RXPGA, 0x27
    TLV320_REGADDR_AUX, 0x40
    TLV320_REGADDR_LDTMF, 59 
    TLV320_REGADDR_HDTMF, 209

  • Hi everone!
    I have a question about TLV320AIC1110 PCM data size. In datasheet at page 28 in table 6 shown that data transfer in any (companded or linear) mode should consist of 16bits. Am i right?

  • Yes, 16 bits with either 8 bit companded or 15 bit linear data.

  • Thanks! This was solution of the problem. Thanks. I could not find in datasheet the fact of exchanging 16 bits in 8 bit companded  mode.