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.

TVP5151 BW and DM368

Other Parts Discussed in Thread: TVP5151

Hi,

I am using a TVP5151 with the DM368 and am having issues with monochrome video sources.  When I attach a color camera to the tvp5151 everything looks fine but when a black and white camera is connected my image is full of red and green.  Can anyone explain why this is the case?

Thanks,

Randy

  • Hi Randy,

    I looked through the DM36x datasheet and the TVP5151 datasheet and I'm not seeing any indications that SW has to do anything special to handle a monochrome input. Is your color camera composite or s-video? Same question for the monochrome camera? Have you tried the monochrome camera plugged into in a different piece of equipment just to verify the camera is in good working condition?

  • Hi Brad,

    Thanks for the reply.  I actually did find the source of our problem.  The TVP5151 driver that we downloaded was checking the status 1 register for lock and one of the bits of interest was the 'color subcarrier lock' status.  Since the camera was monochrome, the color subcarrier was not locked causing the v4l2 sub device to return early from a few ioctl functions.  What threw me was the dm36x vpfe bridge driver did not log any errors and just continued processing even though some of the ioctls it called failed.  This resulted in an incomplete initialization of the dm36x and the resulting image was red and green.  After modifying the TVP5151 driver to not check that color subcarrier lock signal, everything works fine with the monochrome camera.

    I think I downloaded the TVP5151 driver from an omap repository.  If I can find it again, I'll submit a patch or at least inform the author of the problems I've faced with the monochrome camera.

    Thanks!

    Randy Scheifele