2 questions about mx31's CSI interface

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

2 questions about mx31's CSI interface

3,063 Views
Ken_Lin
Contributor I
Hi,everybody.
I'm new for the MX31.In my project, i must use MX31's Camera Sensor Interface. And my sensor output in BT.656 YUV422. But i have 2 questions about the CSI.
 
1. My sensor output 8-bits data, should i connect them to Mx31's CSI_D6~13 pins or CSI_D8~D15 pins or others?
2. How should I set the CSI CCIR Code Registers?
 
Should any one help me? Thanks.
0 Kudos
5 Replies

1,179 Views
Ken_Lin
Contributor I

Hi,DurianBoy

I found that Interlace 2 Progressive is a terrible job in MX31, and I've give up that idea.

I only use one field in 2 fields of a frame as many guys do.

It's a late reply, and i wish you've solved it.

0 Kudos

1,179 Views
enricobe
Contributor II
Hi, Ken,
by the way, does your camera send interlaced or progressive frame?
I've got values for CCIR registers with interlaced mode, but conversion from interlaced to progressive is not functional.

        __raw_writel(0x40596, CSI_CCIR_CODE_1);
        __raw_writel(0xD07DF, CSI_CCIR_CODE_2);
        __raw_writel(0xFF0000, CSI_CCIR_CODE_3);

E

0 Kudos

1,179 Views
DurianBoy
Contributor I

Hi Eric and Ken, I am also using an interlaced camera device and I need the MX35 to convert it to progressive mode before sending the buffer on to a computer VGA monitor. Did you guys get this to work?

What registers need to change to do this conversion?

 

Thanks a million!

0 Kudos

1,179 Views
enricobe
Contributor II
Hi,
you have to use D8-15 when using a 8-bit sensor/decoder.
Regards,
Enrico

0 Kudos

1,179 Views
ADUBOST
Contributor I
Hi,

I don't know if it will be usefull for you but I changed the original iMAGIC CMOS sensor by a video decoder on an iMX27 and i connected it on CSI D0-D7.

Bye

adubost
0 Kudos