• Resolved

Can I set TVP5158 working at 1-Ch ,Non-interleaved, 27M and BT.656 output mode?

      After I set the TVP5158 working at 1-Ch ,Non-interleaved, 27M and BT.656  , PAL output mode, I get data like as follows:

      ff 08 00 00    ec 80 19 80   18 80 19 80   19 81 19 80    80 10 80 10     80 10 80 10     80 10 80 10 
     80 10 80 10   80 10 ff 08     00 00 c7 80   11 80 12 80    10 80 10 80     10 80 10 80     10 80 10 80 
    10 80 10 80   10 80 10 80   10 ff 08 00     00 c7 80 11     10 80 10 80     10 80 10 80     10 80 10 80 
    10 80 10 80   10 80 10 80   10 ff 08 00     00 80 80 11     10 80 10 80     10 80 10 80     10 80 10 80
    10 80 10 80   10 80 10 80   10 80 10 80   10 80 10 ff        80 10 80 10      80 10 80 10     8010 80 10  

   1) if  removing  the data 08 ," ff  00 00 ec"  is same as the SAV or EAV ,  Why do I  get a invalid data 08?

    2) Between SAV and EAV , there is 280 or 268 bytes controling signal, but there is few  data between that.

   3) In register B0h,  Channel_Mux_Number  00  means  "1-Ch (reserved)" , can I set TVP5158 work at "1-Ch (reserved)"?

 

 

  • In reply to Viet Dinh:

     

    Hi Viet

    I am facing an issue of detecting which field is even and which is odd in the interrupt handler. I cannot read I2C register in the ISR context, can you help me with detection of even/odd field ?

     

    Sudhanshu

  • In reply to Sudhanshu Saxena:

    Hello Sudhanshu,

    Do you get a interrupt every field?  You can read the current field status from I2C register 01h bit 4.  Can you poll and save the field status every field and use it when you get an interrupt?  It is just my suggestion since you cannot read I2C in ISR.

    Regards,

    Viet