AR1335 camera sensor driver

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

AR1335 camera sensor driver

31,793 Views
fmabrouk
Contributor III

@kerryzhou 

I am wondering if you have used this camera sensor: AR1335 with any of your NXP MCUs. If so please share with me the driver source code.

Regards,

Farid

0 Kudos
Reply
24 Replies

9,696 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi fmabrouk,

  Thanks for your information.

   Please keep patient, I will check more details about your code, and check with our internal CSI expert.

  After I get any valuable information, I will let you know ASAP.

  Please give me more time, thanks so much!

 

Best Regards,

kerry

0 Kudos
Reply

9,661 Views
fmabrouk
Contributor III

@kerryzhou

i hope you are doing well! I just want to follow up with you and see if you got any updates for my issue. 

Again I need help configure the CSI driver so that I can capture the 10 bits raw data for each output pixel data. After capturing the data I can use my own software to convert data to a RGB 888 format. 

Thank you! 

0 Kudos
Reply

9,563 Views
fmabrouk
Contributor III

Any feedback to my issue from other members of the forum or NXP team. I’m really out of time and need to sort this out! Please help if you can. 

 

0 Kudos
Reply

9,580 Views
fmabrouk
Contributor III

Hello Kerry,

One more thing I want to let you know about is that the output format of the camera sensor is: RAW10 ( 10 bits) and in the current nXP CSI/camera driver I dont see this format supported. I see only these ones:

/*! @brief Pixel format definition. */
typedef enum _video_pixel_format
{
/* RGB */
kVIDEO_PixelFormatXRGB8888 = FSL_VIDEO_FOURCC('X', 'R', '2', '4'), /*!< 32-bit XRGB8888. */
kVIDEO_PixelFormatRGBX8888 = FSL_VIDEO_FOURCC('R', 'X', '2', '4'), /*!< 32-bit RGBX8888. */
kVIDEO_PixelFormatXBGR8888 = FSL_VIDEO_FOURCC('X', 'B', '2', '4'), /*!< 32-bit XBGR8888. */
kVIDEO_PixelFormatBGRX8888 = FSL_VIDEO_FOURCC('B', 'X', '2', '4'), /*!< 32-bit BGRX8888. */

kVIDEO_PixelFormatRGB888 = FSL_VIDEO_FOURCC('R', 'G', '2', '4'), /*!< 24-bit RGB888. */
kVIDEO_PixelFormatBGR888 = FSL_VIDEO_FOURCC('B', 'G', '2', '4'), /*!< 24-bit BGR888. */

kVIDEO_PixelFormatRGB565 = FSL_VIDEO_FOURCC('R', 'G', '1', '6'), /*!< 16-bit RGB565. */
kVIDEO_PixelFormatBGR565 = FSL_VIDEO_FOURCC('B', 'G', '1', '6'), /*!< 16-bit BGR565. */

kVIDEO_PixelFormatXRGB1555 = FSL_VIDEO_FOURCC('X', 'R', '1', '5'), /*!< 16-bit XRGB1555. */
kVIDEO_PixelFormatRGBX5551 = FSL_VIDEO_FOURCC('R', 'X', '1', '5'), /*!< 16-bit RGBX5551. */
kVIDEO_PixelFormatXBGR1555 = FSL_VIDEO_FOURCC('X', 'B', '1', '5'), /*!< 16-bit XBGR1555. */
kVIDEO_PixelFormatBGRX5551 = FSL_VIDEO_FOURCC('B', 'X', '1', '5'), /*!< 16-bit BGRX5551. */

kVIDEO_PixelFormatXRGB4444 = FSL_VIDEO_FOURCC('X', 'R', '1', '2'), /*!< 16-bit XRGB4444. */
kVIDEO_PixelFormatRGBX4444 = FSL_VIDEO_FOURCC('R', 'X', '1', '2'), /*!< 16-bit RGBX4444. */
kVIDEO_PixelFormatXBGR4444 = FSL_VIDEO_FOURCC('X', 'B', '1', '2'), /*!< 16-bit XBGR4444. */
kVIDEO_PixelFormatBGRX4444 = FSL_VIDEO_FOURCC('B', 'X', '1', '2'), /*!< 16-bit BGRX4444. */

/* YUV. */
kVIDEO_PixelFormatYUYV = FSL_VIDEO_FOURCC('Y', 'U', 'Y', 'V'), /*!< YUV422, Y-U-Y-V. */
kVIDEO_PixelFormatYVYU = FSL_VIDEO_FOURCC('Y', 'V', 'Y', 'U'), /*!< YUV422, Y-V-Y-U. */
kVIDEO_PixelFormatUYVY = FSL_VIDEO_FOURCC('U', 'Y', 'V', 'Y'), /*!< YUV422, U-Y-V-Y. */
kVIDEO_PixelFormatVYUY = FSL_VIDEO_FOURCC('V', 'Y', 'U', 'Y'), /*!< YUV422, V-Y-U-Y. */

kVIDEO_PixelFormatXYUV = FSL_VIDEO_FOURCC('X', 'Y', 'U', 'V'), /*!< YUV444, X-Y-U-V. */
kVIDEO_PixelFormatXYVU = FSL_VIDEO_FOURCC('X', 'Y', 'V', 'U'), /*!< YUV444, X-Y-V-U. */
} video_pixel_format_t;

 

Can Raw10 be converted to RGB888 in the application code?

I attached some data sheets for your reference.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1235304%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1235304%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60336%22%20target%3D%22_blank%22%3E%40kerryzhou%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20wondering%20if%20you%20have%20used%20this%20camera%20sensor%3A%20AR1335%20with%20any%20of%20your%20NXP%20MCUs.%20If%20so%20please%20share%20with%20me%20the%20driver%20source%20code.%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EFarid%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1668563%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1668563%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Fabio%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20using%20yocto.%3CBR%20%2F%3EYou%20will%20find%20latest%20ar1335%20sensor%20kernel%20driver%20here%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fisp-vvcam%2Ftree%2Flf-5.15.y_2.0.0%2Fvvcam%2Fv4l2%2Fsensor%2Far1335%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fisp-vvcam%2Ftree%2Flf-5.15.y_2.0.0%2Fvvcam%2Fv4l2%2Fsensor%2Far1335%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20use%20Yocto%2C%20you%20also%20need%3CSTRONG%3E%20isp-imx%3C%2FSTRONG%3E%20additionally%20to%20%3CSTRONG%3Eisp-vvcam%3C%2FSTRONG%3E%20above%3A%3CBR%20%2F%3EIf%20you%20are%20interested%20in%20this%20source%20code%2C%20you%20can%20get%20it%20by%20downloading%20and%20executing%20bin%20file%20in%20your%20Ubuntu%20Host%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Flgfiles%2FNMG%2FMAD%2FYOCTO%2Fisp-imx-4.2.2.20.0.bin%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Flgfiles%2FNMG%2FMAD%2FYOCTO%2Fisp-imx-4.2.2.20.0.bin%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EReplace%20version%20with%20what%20you%20are%20using%20in%20your%20BSP%20(here%20we%20use%20v20)%3CBR%20%2F%3EHere%20is%20an%20example%20on%20how%20to%20deploy%20driver%20for%20another%20sensor%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN13712.pdf%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fapplication-note%2FAN13712.pdf%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1668275%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1668275%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20thank%20you.%20I%20am%20new%20in%20this%2C%20so%20my%20question%20can%20be%20silly.%26nbsp%3B%20Did%20you%20use%20Debian%20or%20Yocto%3F%20Could%20you%20please%20provide%20link%20for%20stock%20driver%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1665320%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1665320%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Fabio%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYes%2C%20I%20was%20able%20to%20do%20it%20using%20stock%20driver.%3CBR%20%2F%3EI%20used%20HD%201080p%20resolution%20so%20far.%3CBR%20%2F%3EThe%20plan%20is%20to%20also%20try%204K%20and%20above%20in%20a%20few%20days.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1665113%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1665113%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello.%3C%2FP%3E%3CP%3EI%20am%20interested%20to%20know%20if%20u%20were%20successful%20with%20the%20connection%20of%20camera%20AR1335%20with%20Mx8%20plus%3C%2FP%3E%3CP%3Eplease%3C%2FP%3E%3CP%3EFabio%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1501923%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1501923%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Michael%2C%3C%2FP%3E%3CP%3E%26gt%3B%26gt%3B%3CSPAN%3EI%20already%20have%20this%20sensor%20running%20using%20an%20NXP%20iMX8M%20Mini%20SoC%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20am%20very%20interested%20in%20this.%20Is%20it%20possible%20for%20you%20to%20provide%20the%20source%20code%20as%20well%20as%20device%20tree%20file%3F%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20make%20this%20work%20for%26nbsp%3B%3CSPAN%3EiMX8M-plus%20which%20is%20very%20similar.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EThank%20you%2C%20MC%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1270615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1270615%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3Emichael_parthei%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20Already%20have%20you%20double%20check%20with%20our%20internal%20expert%20and%20reply%20you%20in%20your%20new%20post.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20Any%20new%20issues%2C%20please%20follow%20that%20new%20post.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ekerry%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1270312%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1270312%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThanks%2C%20Kerry!%20I%20opened%20a%20new%20topic%20to%20discuss%20this%20issue%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT%2FRT1170-Using-MIPI-CSI-with-grayscale-or-raw-image-sensors%2Fm-p%2F1270310%23M14031%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-RT%2FRT1170-Using-MIPI-CSI-with-grayscale-or-raw-image-sensors%2Fm-p%2F1270310%23M14031%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1269993%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1269993%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3Emichael_parthei%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BFrom%20the%20internal%20AE%20description%2C%20it%20is%20the%20chip%20MIPI%20CSI%20can't%20support%20it%2C%20not%20the%20SDK%20issues.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20So%20the%20reference%20manual%20will%20add%20the%20related%20description%20in%20the%20future.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3BBut%20if%20you%20want%20to%20use%20the%20raw%20data%2C%20you%20need%20to%20use%20the%20parallel%20CSI%20interface%20instead%20of%20the%20mipi-csi.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BSorry%20for%20the%20inconvenience%20we%20bring%20you.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ekerry%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1269614%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1269614%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Kerry%2C%3C%2FP%3E%3CP%3Ejust%20for%20clarification%3A%20does%20this%20mean%20using%20an%208bit%20monochrome%20grayscale%20image%20sensor%20is%20impossible%20with%20the%20RT1176%20(OV9281%20to%20be%20precise%2C%20data%20format%20is%20RAW8)%3F%20Is%20this%20a%20fundamental%20limitation%20of%20the%20hardware%2C%20or%20just%20an%20issue%20in%20the%20SDK%20that%20will%20be%20fixed%20in%20the%20future%3F%3C%2FP%3E%3CP%3EI%20already%20have%20this%20sensor%20running%20using%20an%20NXP%20iMX8M%20Mini%20SoC%20which%20seems%20to%20use%20a%20similar%20MIPI%20CSI%20peripheral%2C%20but%20need%20to%20port%20to%20RT1176.%3C%2FP%3E%3CP%3EBest%2C%20Michael%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1268389%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1268389%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAR1335%20Linux%20device%20driver%20for%20Jetson%20nano%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.arducam.com%2Fdocs%2Fcamera-for-jetson-nano%2Fmipi-camera-modules-for-jetson-nano%2Fdriver-installation%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.arducam.com%2Fdocs%2Fcamera-for-jetson-nano%2Fmipi-camera-modules-for-jetson-nano%2Fdriver-installation%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1254130%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1254130%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%20class%3D%22%22%3E%3CA%20id%3D%22link_12%22%20class%3D%22lia-link-navigation%20lia-page-link%20lia-user-name-link%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180445%22%20target%3D%22_self%22%3Efmabrouk%3C%2FA%3E%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3E%26nbsp%3B%20I%20am%20really%20so%20sorry%20for%20the%20later%20reply.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3E%26nbsp%3B%20%26nbsp%3BJust%20get%20the%20internal%20AE%20reply%2C%20and%20really%20a%20sad%20story%20to%20you%3A%20MIPI-CSI2%20can't%20support%20raw%20data%20due%20to%20VIDEO_MUX%20bugs%2C%20and%20this%20information%20will%20add%20to%20the%20RT1170%20reference%20manual.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3E%26nbsp%3B%20So%2C%20could%20you%20please%20check%20your%20external%20AR1335%2C%20whether%20that%20can%20be%20configured%20to%20support%2C%20eg.%20RGB%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3ETo%20raw%20data%2010bit%20now%2C%20really%20no%20workaround%20now.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3E%26nbsp%3B%20I%20am%20so%20sorry%20for%20the%20later%20response%20and%20thanks%20so%20much%20for%20your%20effort.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3EBest%20Regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22%22%3EKerry%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1254006%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1254006%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EAny%20feedback%20to%20my%20issue%20from%20other%20members%20of%20the%20forum%20or%20NXP%20team.%20I%E2%80%99m%20really%20out%20of%20time%20and%20need%20to%20sort%20this%20out!%20Please%20help%20if%20you%20can.%26nbsp%3B%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1253290%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1253290%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60336%22%20target%3D%22_blank%22%3E%40kerryzhou%3C%2FA%3E%3C%2FP%3E%3CP%3Ei%20hope%20you%20are%20doing%20well!%20I%20just%20want%20to%20follow%20up%20with%20you%20and%20see%20if%20you%20got%20any%20updates%20for%20my%20issue.%26nbsp%3B%3C%2FP%3E%3CP%3EAgain%20I%20need%20help%20configure%20the%20CSI%20driver%20so%20that%20I%20can%20capture%20the%2010%20bits%20raw%20data%20for%20each%20output%20pixel%20data.%20After%20capturing%20the%20data%20I%20can%20use%20my%20own%20software%20to%20convert%20data%20to%20a%20RGB%20888%20format.%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1251486%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1251486%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Kerry%2C%3C%2FP%3E%0A%3CP%3EOne%20more%20thing%20I%20want%20to%20let%20you%20know%20about%20is%20that%20the%20output%20format%20of%20the%20camera%20sensor%20is%3A%20RAW10%20(%2010%20bits)%20and%20in%20the%20current%20nXP%20CSI%2Fcamera%20driver%20I%20dont%20see%20this%20format%20supported.%20I%20see%20only%20these%20ones%3A%3C%2FP%3E%0A%3CP%3E%3CEM%3E%2F*!%20%40brief%20Pixel%20format%20definition.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3Etypedef%20enum%20_video_pixel_format%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%7B%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%2F*%20RGB%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatXRGB8888%20%3D%20FSL_VIDEO_FOURCC('X'%2C%20'R'%2C%20'2'%2C%20'4')%2C%20%2F*!%26lt%3B%2032-bit%20XRGB8888.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatRGBX8888%20%3D%20FSL_VIDEO_FOURCC('R'%2C%20'X'%2C%20'2'%2C%20'4')%2C%20%2F*!%26lt%3B%2032-bit%20RGBX8888.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatXBGR8888%20%3D%20FSL_VIDEO_FOURCC('X'%2C%20'B'%2C%20'2'%2C%20'4')%2C%20%2F*!%26lt%3B%2032-bit%20XBGR8888.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatBGRX8888%20%3D%20FSL_VIDEO_FOURCC('B'%2C%20'X'%2C%20'2'%2C%20'4')%2C%20%2F*!%26lt%3B%2032-bit%20BGRX8888.%20*%2F%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EkVIDEO_PixelFormatRGB888%20%3D%20FSL_VIDEO_FOURCC('R'%2C%20'G'%2C%20'2'%2C%20'4')%2C%20%2F*!%26lt%3B%2024-bit%20RGB888.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatBGR888%20%3D%20FSL_VIDEO_FOURCC('B'%2C%20'G'%2C%20'2'%2C%20'4')%2C%20%2F*!%26lt%3B%2024-bit%20BGR888.%20*%2F%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EkVIDEO_PixelFormatRGB565%20%3D%20FSL_VIDEO_FOURCC('R'%2C%20'G'%2C%20'1'%2C%20'6')%2C%20%2F*!%26lt%3B%2016-bit%20RGB565.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatBGR565%20%3D%20FSL_VIDEO_FOURCC('B'%2C%20'G'%2C%20'1'%2C%20'6')%2C%20%2F*!%26lt%3B%2016-bit%20BGR565.%20*%2F%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EkVIDEO_PixelFormatXRGB1555%20%3D%20FSL_VIDEO_FOURCC('X'%2C%20'R'%2C%20'1'%2C%20'5')%2C%20%2F*!%26lt%3B%2016-bit%20XRGB1555.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatRGBX5551%20%3D%20FSL_VIDEO_FOURCC('R'%2C%20'X'%2C%20'1'%2C%20'5')%2C%20%2F*!%26lt%3B%2016-bit%20RGBX5551.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatXBGR1555%20%3D%20FSL_VIDEO_FOURCC('X'%2C%20'B'%2C%20'1'%2C%20'5')%2C%20%2F*!%26lt%3B%2016-bit%20XBGR1555.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatBGRX5551%20%3D%20FSL_VIDEO_FOURCC('B'%2C%20'X'%2C%20'1'%2C%20'5')%2C%20%2F*!%26lt%3B%2016-bit%20BGRX5551.%20*%2F%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EkVIDEO_PixelFormatXRGB4444%20%3D%20FSL_VIDEO_FOURCC('X'%2C%20'R'%2C%20'1'%2C%20'2')%2C%20%2F*!%26lt%3B%2016-bit%20XRGB4444.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatRGBX4444%20%3D%20FSL_VIDEO_FOURCC('R'%2C%20'X'%2C%20'1'%2C%20'2')%2C%20%2F*!%26lt%3B%2016-bit%20RGBX4444.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatXBGR4444%20%3D%20FSL_VIDEO_FOURCC('X'%2C%20'B'%2C%20'1'%2C%20'2')%2C%20%2F*!%26lt%3B%2016-bit%20XBGR4444.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatBGRX4444%20%3D%20FSL_VIDEO_FOURCC('B'%2C%20'X'%2C%20'1'%2C%20'2')%2C%20%2F*!%26lt%3B%2016-bit%20BGRX4444.%20*%2F%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3E%2F*%20YUV.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatYUYV%20%3D%20FSL_VIDEO_FOURCC('Y'%2C%20'U'%2C%20'Y'%2C%20'V')%2C%20%2F*!%26lt%3B%20YUV422%2C%20Y-U-Y-V.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatYVYU%20%3D%20FSL_VIDEO_FOURCC('Y'%2C%20'V'%2C%20'Y'%2C%20'U')%2C%20%2F*!%26lt%3B%20YUV422%2C%20Y-V-Y-U.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatUYVY%20%3D%20FSL_VIDEO_FOURCC('U'%2C%20'Y'%2C%20'V'%2C%20'Y')%2C%20%2F*!%26lt%3B%20YUV422%2C%20U-Y-V-Y.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatVYUY%20%3D%20FSL_VIDEO_FOURCC('V'%2C%20'Y'%2C%20'U'%2C%20'Y')%2C%20%2F*!%26lt%3B%20YUV422%2C%20V-Y-U-Y.%20*%2F%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EkVIDEO_PixelFormatXYUV%20%3D%20FSL_VIDEO_FOURCC('X'%2C%20'Y'%2C%20'U'%2C%20'V')%2C%20%2F*!%26lt%3B%20YUV444%2C%20X-Y-U-V.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EkVIDEO_PixelFormatXYVU%20%3D%20FSL_VIDEO_FOURCC('X'%2C%20'Y'%2C%20'V'%2C%20'U')%2C%20%2F*!%26lt%3B%20YUV444%2C%20X-Y-V-U.%20*%2F%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3E%7D%20video_pixel_format_t%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CEM%3ECan%20Raw10%20be%20converted%20to%20RGB888%20in%20the%20application%20code%3F%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3EI%20attached%20some%20data%20sheets%20for%20your%20reference.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1251073%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1251073%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3Efmabrouk%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20Thanks%20for%20your%20information.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BPlease%20keep%20patient%2C%20I%20will%20check%20more%20details%20about%20your%20code%2C%20and%20check%20with%20our%20internal%20CSI%20expert.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20After%20I%20get%20any%20valuable%20information%2C%20I%20will%20let%20you%20know%20ASAP.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20Please%20give%20me%20more%20time%2C%20thanks%20so%20much!%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ekerry%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1250671%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1250671%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60336%22%20target%3D%22_blank%22%3E%40kerryzhou%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F61241%22%20target%3D%22_blank%22%3E%40jingpan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20verified%20with%20my%20scope%20that%20the%20camera%20sensor%20is%20streaming%20data%3B%20and%20I%20was%20able%20to%20capture%20the%20CSI%20reading%20registers%20while%20debugging%20my%20code%3A%20please%20see%20attached%20screen%20shot.%20However%2C%20I%20am%20not%20able%20to%20get%20a%20full%20frame%20buffer%20CSI%20interrupt.%20Again%20this%20has%20to%20do%20with%20the%20way%20I%20initialized%20the%20MIPI%20CSI%2C%20could%20you%20or%20some%20one%20else%20help%20me%20set%20thiis%20up%20properly%2C%20based%20on%20the%20image%20requirements%20I%20stated%20in%20my%20previous%20email.%3C%2FP%3E%3CP%3ECheers!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1249952%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1249952%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60336%22%20target%3D%22_blank%22%3E%40kerryzhou%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBelow%20is%20a%20summary%20of%20the%20image%20parameters%20that%20I%20am%20interested%20in%3A%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%5BPLL%20PARAMETERS%5D%3CBR%20%2F%3E%3B%20Target%20Vt%20Pixel%20Frequency%3A%20220%20MHz%3CBR%20%2F%3E%3B%20Input%20Clock%20Frequency%3A%2024%20MHz%3CBR%20%2F%3E%3B%3CBR%20%2F%3E%3B%20Actual%20Vt%20Pixel%20Clock%3A%20220%20MHz%3CBR%20%2F%3E%3B%20Actual%20Op%20Pixel%20Clock%3A%20110%20MHz%3CBR%20%2F%3E%3B%3CBR%20%2F%3E%3B%20pll_multiplier%20(M%20value)%20%3D%2055%3CBR%20%2F%3E%3B%20pre_pll_clk_div%20(N%20value)%20%3D%202%3CBR%20%2F%3E%3B%20pll_multiplier2%20(M2%20value)%20%3D%2055%3CBR%20%2F%3E%3B%20pre_pll_clk_div2%20(N2%20value)%20%3D%202%3CBR%20%2F%3E%3B%20Fpfd%20%3D%2012%20MHz%3CBR%20%2F%3E%3B%20Fvco%20%3D%20660%20MHz%3CBR%20%2F%3E%3B%20Fvco2%20%3D%20660%20MHz%3CBR%20%2F%3E%3B%20Vt%20Sys%20Divider%20%3D%201%3CBR%20%2F%3E%3B%20Vt%20Pix%20Divider%20%3D%203%3CBR%20%2F%3E%3B%20Op%20Sys%20Divider%20%3D%201%3CBR%20%2F%3E%3B%20Op%20Pix%20Divider%20%3D%206%3CBR%20%2F%3E%3B%3CBR%20%2F%3E%3B%20%5BIMAGE%20PARAMETERS%5D%3CBR%20%2F%3E%3B%20Requested%20Frames%20Per%20Second%3A%2030%3CBR%20%2F%3E%3B%20Output%20Columns%3A%20640%3CBR%20%2F%3E%3B%20Output%20Rows%3A%20480%3CBR%20%2F%3E%3B%20Use%20Y%20Summing%3A%20Unchecked%3CBR%20%2F%3E%3B%20X-only%20Binning%3A%20Unchecked%3CBR%20%2F%3E%3B%20Allow%20Skipping%3A%20Checked%3CBR%20%2F%3E%3B%20Blanking%20Computation%3A%20HB%20Max%20then%20VB%3CBR%20%2F%3E%3B%3CBR%20%2F%3E%3B%20Max%20Frame%20Time%3A%2033.3333%20msec%3CBR%20%2F%3E%3B%20Max%20Frame%20Clocks%3A%207333333.3%20clocks%3CBR%20%2F%3E%3B%20Readout%20Mode%3A%201%2C%20YSum%3A%20No%2C%20XBin%3A%20No%3CBR%20%2F%3E%3B%20Horiz%20clks%3A%20640%20active%20%2B%201688%20blank%20%3D%202328%20total%3CBR%20%2F%3E%3B%20Vert%20rows%3A%20480%20active%20%2B%202674%20blank%20%3D%203154%20total%3CBR%20%2F%3E%3B%20Output%20Cols%3A%20640%3CBR%20%2F%3E%3B%20Output%20Rows%3A%20480%3CBR%20%2F%3E%3B%20FOV%20Cols%3A%20640%3CBR%20%2F%3E%3B%20FOV%20Rows%3A%20480%3CBR%20%2F%3E%3B%20Actual%20Frame%20Clocks%3A%207342512%20clocks%3CBR%20%2F%3E%3B%20Row%20Time%3A%2010.582%20usec%20%2F%202328%20clocks%3CBR%20%2F%3E%3B%20Integration%20Time%3A%2033%20msec.%3CBR%20%2F%3E%3B%20Frame%20time%3A%2033.375055%20msec%3CBR%20%2F%3E%3B%20Maximum%20Frame%20Rate%20allowed%3A%20191.739fps%3CBR%20%2F%3E%3B%20Frames%20per%20Sec%3A%2029.962%20fps%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1249947%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1249947%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60336%22%20target%3D%22_blank%22%3E%40kerryzhou%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20mipi%20CSI2%20demo%20code%20on%20imx%20RT1170%20to%20get%20an%20480x640%20image%20from%20AR1335.%3C%2FP%3E%3CP%3EI%20found%20that%20the%20output%20format%20of%20this%20camera%20sensor%20is%3A%2010bits.%20what%20changes%20do%20I%20need%20to%20do%20in%20the%20CSI%20driver%20so%20that%20I%20can%20capture%20the%20image%20i%20need.%3C%2FP%3E%3CP%3EI%20used%20a%20manufacturer%20tool%20to%20generate%20the%20configuration%20file%2C%20yet%20i%20am%20far%20from%20getting%20an%20image%20due%20to%20my%20wrongfully%20configured%20CSI%20driver.%3C%2FP%3E%3CP%3ECould%20you%20please%20advice%20on%20what%20need%20to%20be%20modified%20in%20the%20demo%20code%20CSI%20driver%20to%20capture%20an%20image%20from%20AR1335.%3C%2FP%3E%3CP%3EKind%20regards%2C%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1248599%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1248599%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3Efmabrouk%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BUntil%20now%2C%20we%20still%20don't%20have%20the%20directly%20document%20about%26nbsp%3Bimporting%20another%20camera%20sensor.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BAs%20I%20know%2C%20the%20camera%20sensor%20should%20also%20have%20the%20configure%20tools%2C%20which%20can%20do%20the%20configuration%20and%20generate%20the%20code.%26nbsp%3B%20Whether%20your%26nbsp%3BAR1335%26nbsp%3Balready%20have%20the%20related%20drivers%20from%20it's%20own%20company%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BI%20also%20check%20internally%2C%20didn't%20find%20the%20AR1335%20RT%20related%20drivers%20until%20now.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Ekerry%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1248464%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1248464%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60336%22%20target%3D%22_blank%22%3E%40kerryzhou%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20using%20this%20camera%20sensor%3A%20AR1335%20instead%20of%20OV5640%20on%20imX%20RT1170%20dev%20board.%20AR1335%20sends%20out%20only%2010%20bits%20image.%20I%20believe%20OV5640%20pixel%20data%20bus%20is%2016%20bits.%3C%2FP%3E%3CP%3EHow%20can%20I%20modify%20the%20mipi%20csi%20demo%20code%20you%20that%20comes%20with%20the%20NXP%20sdk%20so%20that%20I%20can%20get%20an%20image%20with%20this%20sensor%3F%3C%2FP%3E%3CP%3EI%20wished%20if%20there%20some%20documentation%20that%20guides%20through%20the%20process%20of%20importing%20another%20camera%20sensor%20into%20this%20demo%20code.%3C%2FP%3E%3CP%3EThank%20you%20so%20much%20in%20advance!%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CFONT%20color%3D%22%23000000%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1244541%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1244541%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3Efmabrouk%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BAbout%20your%20mentioned%20clock%2C%20you%20can%20find%20it%20from%20the%20RT1170%20reference%20manual%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kerryzhou_0-1615519963656.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22kerryzhou_0-1615519963656.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139453i21EFA55A81A317E2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22kerryzhou_0-1615519963656.png%22%20alt%3D%22kerryzhou_0-1615519963656.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Ekerryzhou_0-1615519963656.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kerryzhou_1-1615519969817.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22kerryzhou_1-1615519969817.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139454i024C03C0E2AB75A1%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22kerryzhou_1-1615519969817.png%22%20alt%3D%22kerryzhou_1-1615519969817.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Ekerryzhou_1-1615519969817.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kerryzhou_2-1615520019886.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22kerryzhou_2-1615520019886.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F139455iA02F026F647EFE09%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22kerryzhou_2-1615520019886.png%22%20alt%3D%22kerryzhou_2-1615520019886.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Ekerryzhou_2-1615520019886.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EWish%20it%20helps%20you!%3C%2FP%3E%0A%3CP%3EBest%20Regards%2C%3C%2FP%3E%0A%3CP%3EKerry%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1243723%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1243723%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60336%22%20target%3D%22_blank%22%3E%40kerryzhou%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F61241%22%20target%3D%22_blank%22%3E%40jingpan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBesides%20the%20questions%20I%20posted%20above%2C%20if%20I%20need%20to%20setup%20my%20pixel%20clock%20to%2080MHz.%20What%20registers%20should%20I%20change%20in%20CSI2%20mipi%20demo%20code%20of%20imx%20RT1170%3F%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1243666%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1243666%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F61241%22%20target%3D%22_blank%22%3E%40jingpan%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60336%22%20target%3D%22_blank%22%3E%40kerryzhou%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20still%20trying%20to%20port%20AR1335%20camera%20driver%20to%20ImX%20RT1170%20CCI2%20mipi%20demo%20code.%3C%2FP%3E%3CP%3EIn%20the%20CS2%20mipi%20code%20I%20found%20these%20clocks%3A%3C%2FP%3E%3CP%3ECLOCK_SetRootClock(kCLOCK_Root_Csi2%2C%20%26amp%3Bcsi2ClockConfig)%3B%3CBR%20%2F%3ECLOCK_SetRootClock(kCLOCK_Root_Csi2_Esc%2C%20%26amp%3Bcsi2EscClockConfig)%3B%3CBR%20%2F%3ECLOCK_SetRootClock(kCLOCK_Root_Csi2_Ui%2C%20%26amp%3Bcsi2UiClockConfig)%3B%3C%2FP%3E%3CP%3ECan%20anyone%20explains%20what%20these%20clocks%20are%20for%3F%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1235521%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20AR1335%20camera%20sensor%20driver%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1235521%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3Efmabrouk%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BUntil%20now%2C%20I%20didn't%20find%20the%20RT%20chip%20driver%20about%20the%26nbsp%3BAR1335%26nbsp%3B%2C%20I%20also%20search%20it%20internally%2C%20didn't%20find%20it.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BMaybe%20you%20can%20search%20it%20from%20the%20internet%2C%20some%203rd%20part%20may%20have%20AR1335%20drivers.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3BNxp%20official%20side%2C%20didn't%20find%20it%2C%20until%20now%2C%20RT%20mainly%20use%26nbsp%3B%3C%2FSPAN%3EMT9M114%20or%20OV7725%20camera%20module.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%20%26nbsp%3BSorry%20for%20the%20inconvenience%20bring%20you%2C%20and%20thanks%20a%20lot%20for%20your%20understanding.%3C%2FP%3E%0A%3CP%3EBest%20Regards%2C%3C%2FP%3E%0A%3CP%3EKerry%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E