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.

PCM9211 Parity Error Detection_ coutinued

Other Parts Discussed in Thread: PCM9211, PCM9211EVM-U

Hello Matt-san

Please allow me continue the questions again.

I had asked customer to check wheter  input is PCM and PRTPRO[1:0]=10 if input were Non-PCM.

Customer had tried  PRTPRO[1:0}= '10' ,but  could not get any change from INT0 pin in case Parity error...

As I asked you many times , mass production is soon, and Customer is waiting the TI's answer as following.

Would you please let me know about following ?

Q1  PCM9211 can detect the Parity error and can handle ( output go to mute)..

      but  PCM9211 can really detect and output the status from the device?

Q2   PCM9211 can detect and can be have output from INT0 ot INT1 ?

     If yes, would you please check at your side , and let us know the proper procudure ( register settings)?

Q3  PCM9211 can detect and can be have output from MPIO_x ( ex MPIO_B1) ?

    If yes, would you please check at your side, and let us know the proper procedure ( register setting)?

 

In fact, more than 6weeks  had  past  since customer had asked me  how to get the information of

PCM9211 parity error.

Customer hopes to have your answer soon ..

Would you please advise within 2 days?

Sorry to bother you, but with my best regard.

 

https://e2e.ti.com/support/data_converters/audio_converters/f/64/t/420044

  • Hi Kanji,

    We have been testing the parity error to interrupt ability of the PCM9211 for a few days without success. We are going to do some final testing tomorrow morning and will report back with details.

    Justin
  • Hello Justin-san

    Thank you for your reply.

    I  had asked customer to wait your report by tomorrow.

    Hearing from you tomorrow, thank you

    Best Regards

  • Hi Kanji,

    So during testing today we were able to get a parity error to send a pulse interrupt to both INT0 and MPIO_A0. To achieve this it was required that the parity process in register 0x23 be set to the default setting, which is going to mute the output when a parity error is detected. If it not in the mute setting the parity detect will not trigger a pulse on the output pins. Another note is that the parity error is NOT recorded as an error in register 0x2C. We are not sure why it can output a pulse for parity error but does not show up as a registered error in register 0x2C.

    You can try this out with the scripts below.This is for Coax input, and optical output.

    Enable parity error pulse on INT0:
    w 80 60 00
    w 80 34 00
    w 80 25 02
    w 80 2B 00
    w 80 2E 44


    To enable the output on MPIO_A0 add:
    w 80 6E 0E
    w 80 6F C0
    w 80 72 04
    w 80 7B 01

    Justin

  • Hello Justin-san

    Thank you for your test and the recommended setting for this.

    I had informed your answer customer already, and I will inform you later about the customer's result.

     

    PS

    0x2B=00 for INT0?

    ( for the setting  the Parity error trigger to INT0 , 0x2A=00 should be correct, is not it?)

    Also, Customer had been alerady tested with 0x23h= 04 ( default ),

    but customer ( and I ) did not think about  the setting of 0x60h=00 before....is it key point?

     

    With My Best Regards

     

     

     

  •  


    Hello Justin-san


    Thank you for your support
    I had checked the trigger in case parity error using PCM9211EVM-U ( CodecControl.exe)
    and AP2722 DIO.
    I had parity error in the DIO panel of APWIN2700.

    Result:

    (A)
    I can see ~100usec trigger pulse event by parity error for INT0, but I could not get every time.
    ( around 1time/2time missed) for Parity error using script(A) below.

    .... waveform attached

    (B)
    Then I append script (B) in the command buffer window in the  CodecControl.
    I can see ~200msec trigger pulse event by parity error fro MPIO_A0, but I could not
    get every time ( around 1time/2time missed) .
     
    Also , I expected MPIO_A0 and INT0 come simultaneous ( because I append script that ), but both
    comes alternately.

    Also ,MPIO _A0  comes  two case,
    (1) Is before going to mute
    (2)  before going to unmute

    ..... waveform attached


    Script:
    #(A) For INT0

    w 80 23 04
    w 80 60 00
    w 80 34 00
    w 80 25 02
    w 80 2A 00
    w 80 2B 00
    w 80 2E 44
     
    #(B) For MPIO_A0


    w 80 6E 0E
    w 80 6F C0
    w 80 72 04
    w 80 7B 01


    Here is the question

    Q1   If you have the picture when you had tested, would you please send it to me?  

           And also, I hope your whole .txt file in the CodecControl.exe.

    Q2   Did you confirm  INT0 or MPIO_A0  pulse comes every time ( 100%) for parity error event?


          Is there any mistake/ something wrong  for my check?

     

    with my best regards

     

     

    INT0.TIF

     

    MPIO_A0.TIF

     

     

     

     

  •  

    Dear Justin san

    I did not have your answer yet, but would you please advise?

    My understanding is PCM9211 can detect Parity error ( muted automatically) ,

    but hard to get  information from the ouput terminal.

    Because, polling the output  or extenal latch(Flip Flop)  circuitis necessary

    Please advise

     

     

     

  • Hi Kanji,

    You are correct, the mute function seems to work every time, but the interrupt to the pin is physically occurring but not reported in the registers. I will have to retest to verify the reliability of the interrupt happening each time, but there seems to be no way to have the interrupt register report that a parity error occurred.

    Justin
  • Dear Jusin-san

    Thank you for your reply!

    I will inform customer your comment, and please discard this question.

    Thank you