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.

about pcm9211

Other Parts Discussed in Thread: PCM9211, MSP430F5325

Hello alll, 

i am using msp430F5325 and pcm9211, here i find some problem in SYSTEM CLOCK FREQUENCY (31h). i am using two crystal, 24.576MHz and 22.5792MHz. my problem that by which i can adjust sampling frequency( like 32k, 44.1,88.2kHz). what is the setting for 31h resister??? 

if we assign all possible frequencies at this place then what changes will done??

can anyone have idea about professional and consumer audio standard ??

  • Hi Pratreek,

    The PCM9211 is a large and complex device so there are multiple clock domains in the device. Depending on which port you are trying to change the sampling rate of, there are a few registers to change. While register 31h is the primary frequency settings, register 33h controls the secondary settings. Within the GUI a setting for most ports are which clock tree it will run off of, the main, secondary, or recovered clock from the DIR. Could you explain in more detain which port and what clock tree you are trying to change?

    Justin
  • Hi Justin,

    I am working on adc part, in data sheet there are some sampling frequency's setting are present but i want to change it to 32KHz, 44.1KHz , 88.2KHz and so on. if i see the adc part then maximum sampling frequency is 96KHz but here 192KHz frequency also present, if i see DIR part then maximun read sampling frequency is 216KHz. so i want to know if i can change then we have another clock coz 44.1 and 88.2 are not implemented by 24.576MHz crystal so have 22.5792MHz crystal for both frequencies. so we change clock using relays. i want to change resister setting for 32 and 44.1. what is the setting for 31h and 33h ??

    one more ques, it is possible to generate 32KHz sampling frequency by 22.576 MHz crystal ???

    regards,
    Prateek
  • Hi Prateek,

    You must use a 24.576 MHz clock on the XTI pin. You can use a 32 KHz sampling rate but you must get a system clock from one of the inputs either a MPIO SCKI or the DIR can recover a clock that can be divided down to 32 KHz. If one of the inputs has a 32 KHz sampling rate input to it, it can send those clocks and data to another part of the PCM9211.

    Justin
  • Hello justin,

    I am using audio input ( l,r channel ) which is connected to pcm9211, L and R port and I want to change it to digital at sampling frequency 32,44.1, 48 and 96 kHz, rest of the frequency configured but only 32 kHz not done. So I just want to know how we can solve this problem. 
    Sorry but I don't understand what you say. 

    On Saturday, February 28, 2015, Justin Bohr <bounce-3441231@mail.e2e.ti.com> wrote:

     

    A Message from the TI E2E™ Community
    Texas Instruments

     

    Justin Bohr replied to about pcm9211.

    Hi Prateek,

    You must use a 24.576 MHz clock on the XTI pin. You can use a 32 KHz sampling rate but you must get a system clock from one of the inputs either a MPIO SCKI or the DIR can recover a clock that can be divided down to 32 KHz. If one of the inputs has a 32 KHz sampling rate input to it, it can send those clocks and data to another part of the PCM9211.

    Justin

     

     

    You received this notification because you subscribed to the forum.  To unsubscribe from only this thread, go here.

    Flag this post as spam/abuse.



    --





    Regards,
    Prateek Agrawal
    Comcon Industries Ltd.
    +91-8800147079
  • It sounds like you are inputting a signal to the ADC and then want to output it at 32 kHz? If so that means you will need to make the port you are outputting to a slave, and have a 32 KHz sampling clock along with BCK and SCKI being sent to the output port. Then run the ADC from the clocks coming into the slave output port. You can operate the ADC in standalone mode and then input the desired clocks into MPIO_C. However you must follow table 3 on page 19 of the data sheet.

    Justin
  • Hi Justin,

    we are trying to solve some sample rate for my design.

    you can check if i am going to wrong way. i can learn many thing about to pcm9211.

    so plz check setting for 31h

    for 48KHz - 1A ( working)
    for 96KHz - 05  ( working )
    for 24 KHz- 2F 
    for 192 khz- 00 

    if you have any solution about this then plz tell me.