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

Other Parts Discussed in Thread: PCM9211

Hello,


Customter is just now in progress for Mass Production in their SACD-Player and want to fix the software.

They want to detect( interrupt to MCU) of  Pairt Error from INT0 or INT1  pin.

But they could not.

Would you please let us know the correct way for that?

 

* What Customer test is following

   Using AP-- Coax Out to PCM9211 in their PCB.

   Use DIO check Boax ' parity Error ' , p182  in below

  http://exodus.poly.edu/~kurt/manuals/manuals/Other/AUDIO%20PRECISION%20Series%202700%20User%20also%20for%20SYS%2020226.pdf


 20h 00h         //ERRHZ=Output, ERRSEL=ERROR, NPCMHZ=Output, NPCMSEL=NPCM

 23h 04h         //PRTPRO[1:0]=Parity Error=Mute

 25h 2Bh         //EFSCHG=1,ENPCM:=1,EPARITY=1,EUNLOCK=1

 2Ah 5Fh         //MERROR0=0, MEMPHF0=0


* Test result:

1)

#In case 23h=04h , check DIO panel Parity Error cause output from Main Output port of PCM9211 muted.

==> PCM9211 seems to detect parity error.

#In case 23h=00h, offcourse,  not muted.


2)

Customer also tried to read '2Ch' of PCM9211  in case INT0 were changed ( interrupt to MCU, then read ) ,

but,  INT0 does not change  in case 25h=02h.( i.e. in case parity error only)...

Then If customer set 25h= 2Bh ( include UNLOCK and so on), INT0 has changed.

2Ch= 09h and then next read is 00h.

But  We  think INT0 chenged just depends on UNLOCK.


Description Above  is what we did, but we could not find the way to have detection output ( (port INT0/INT1)

and also MPIO_x..

Would you please help us?

Best Regards

 

 

 

 

  • Hi Kanji,

    I'm going to quote a previous post to get some information form you:
    "In register 23h you set it to enable parity error on PCM data only, when the audio is running can you check register 2C and 2D to see what type of audio the part is seeing? If it is non-PCM then your current settings will not produce the parity error. If it is indeed getting non-PCM data then you must change the value for PRTPRO[1:0] to 10."

    What are your reg values for 2C and 2D?

    Additionally, have your customer try the script that Matt suggests in this post for getting the INT pins working:
    e2e.ti.com/.../358950

    Regards,
    Mike Ulrich
  • Dear Mike-san,  

    Thank you for your reply.

    I understood that  PCM9211 can detect Parity error, and we should get the information from INT pin.

    I will check customer again.

    Would you please send me the script that Matt-san suggests befgore?

    I could not get that ( I clicked , but  my access was denied..)

    Best Regards

     

  • Hi Kanji,

    I looked further into Matt's solution and it is a little different application than what you are attempting. Can you get me all the register writes the end customer is doing?

    Also, did you get the values from register 2C and 2D (while the device is running)?

    Regards,
    Mike Ulrich