using TV decoder(tvp5158) on IMX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

using TV decoder(tvp5158) on IMX6

Jump to solution
4,978 Views
hyunhoshin
Contributor III

I'm using tv decoder(tvp5158) on IMX6 and output of tv decoder is BT656(NTSC input,720*480@30fps)

when capture frame using v4l2 application

picture is same as attached files
(frame1~5.jpg)

has anyone idea about this situations?


I'm using Linux 3.0.15 and setting value of csi_param as below

data_width: 1
clk_mode : 2
ext_vsync : 0
Vsync_pol : 0
Hsync_pol : 0
pixclk_pol : 1
data_pol : 0
sens_clksrc : 0
pack_tight : 0
force_eof : 0
data_en_pol : 0
data_fmt : UYVY
csi : 0
mclk : 0

please help me...

Labels (2)
0 Kudos
1 Solution
2,866 Views
hyunhoshin
Contributor III

TVP5158 setting was fine

CSI input size was 720 x 525 in base source(IMX6 original code)

I changed that 720 x 525 to 720 x 488 and EAV/SAV code exchange. so, it work fine(no image rolling)

thanks to your opinion.

View solution in original post

0 Kudos
9 Replies
2,866 Views
翔李
Contributor IV

Hi

I am using tvp5158 on Imx6q board, Linux,can you share your tvp5158 driver source?

My email:xiang.li@ivicar.cn

thanks.

0 Kudos
2,866 Views
zhangjay
Contributor II

Hi

I am using tvp5158 on mx53 board, can you share your tvp5158 driver source?

Thanks!

0 Kudos
2,866 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,hyunho,

      It seems that image on screen is scrolling up and down , Right ?

Regards,

Weidong

2,866 Views
hyunhoshin
Contributor III

you're right, screen is rolling to upside. maybe about 2 pixels every frame

0 Kudos
2,866 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello,hyunho,

     I judge the issue looks like different CVBS standard. For example:

(1)NTSC

if CVBS camera is NTSC , TVP5158 should be set NTSC standard.

(2)PAL

if CVBS camera is PAL, TVP5158 should be set PAL standard.

So, I feel standard setting in TVP5158 is differenct from it's CVBS signal(camera) input.

check it and try !

Regards,

Weidong

0 Kudos
2,866 Views
翔李
Contributor IV

Hi

I am using tvp5158 on Imx6q board, Linux,can you share your tvp5158 driver source?

My email:xiang.li@ivicar.cn

thanks.

0 Kudos
2,866 Views
zhangjay
Contributor II

Hi

Can you help me with this issue?

https://community.freescale.com/message/358505#358505

0 Kudos
2,867 Views
hyunhoshin
Contributor III

TVP5158 setting was fine

CSI input size was 720 x 525 in base source(IMX6 original code)

I changed that 720 x 525 to 720 x 488 and EAV/SAV code exchange. so, it work fine(no image rolling)

thanks to your opinion.

0 Kudos
2,866 Views
翔李
Contributor IV

Hi

I am using tvp5158 on Imx6q board, Linux,can you share your tvp5158 driver source?

My email:xiang.li@ivicar.cn

0 Kudos