How to find FlexIO Camera Driver in SDK?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to find FlexIO Camera Driver in SDK?

1,284件の閲覧回数
jdfxlsy
Contributor I

I'm using MCUXpresso Config Tool 5.0, MCUXpresso SDK V2.5 and a board with iMXRT1052. I just want to read data from a camera with 8 data pins, a HERF pin, a PCLK pin and a VSYNC pin. In SDK reference manual, there is a "FlexIO Camera Driver". But I can't find any files in SDK. There is no "FLEXIO_CAMERA_Type", no "flexio_camera_edma_handle_t", no functions about how to initialize the camera. The Config Tool can only initialize FlexIO as SPI, I2C, UART, I2S pin.

TIM截图20190113115817.png

TIM截图20190113115840.png

So how to use FlexIO as a camera driver with SDK?

Is there some diver files missing in the SDK?

0 件の賞賛
返信
2 返答(返信)

1,119件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi :

The flexio interface is for Kinetis parts. Not sure this example has ported to i.mx RT .

The i.MX RT1050 processor has the special camera sensor interface (CSI) module, especially meant for parallel camera connection. So, there is no need of using FlexIO modules.

For the example of the CSI module use, please refer to the AN12110 Application note and the corresponding example, available on below link

https://www.nxp.com/docs/en/application-note/AN12110.pdf 

pastedImage_2.png

1,119件の閲覧回数
jdfxlsy
Contributor I

Thank you for your reply. But I have some other questions.

In my application, I have to use up to three cameras. So I want to use CSI to get data form one camera and use FlexIOs to get data from others. I've already succeed in reading one camera from CSI interface. I noticed that in the reference manual, it said that "To connect with two 8-bit sensors, the sensor data interfaces should connect to CSI_DATA[7:0] and CSI_DATA[15:8]." But I don't know how to connect VSYNC, HSYNC and  PIXCLK signals from two different cameras to RT1052 CSI interface.

So could you tell my or give me a demo to show how to read data from two different cameras with CSI interface?

0 件の賞賛
返信