<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Sampling issue while streaming for Bayer sensor in iMX95 FRDM in i.MX Solutions</title>
    <link>https://community.nxp.com/t5/i-MX-Solutions/Sampling-issue-while-streaming-for-Bayer-sensor-in-iMX95-FRDM/m-p/2385878#M738</link>
    <description>&lt;P&gt;Hi Team,&lt;BR /&gt;We are currently bringing up a Bayer sensor in&amp;nbsp;&lt;STRONG&gt;IMX95 FRDM&amp;nbsp;&lt;/STRONG&gt;kit. We initially verified the stream with OS08A20 (reference camera from NXP) we were able to stream. Based on the driver we bringup a driver to support our sensor. It probes fine and media nodes gets generated properly. The media linking is proper which we verified with the media architecture of OS08A20.&amp;nbsp;&lt;BR /&gt;We have attached the dmesg log below.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently we configured the sensor in 8 bit mode (ar0234 sensor) . Current data rate is 800 MBPS per lane . &amp;nbsp;Data will be out in 4 lane for the sensor . We are able to probe and register.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cam -l&lt;BR /&gt;[0:08:06.049058684] [858]&amp;nbsp; INFO Camera camera_manager.cpp:340 libcamera v0.0.0+6489-lf-6.18.2-1.0.0&lt;BR /&gt;[0:08:06.155690529] [859]&amp;nbsp; INFO MediaPipeline media_pipeline.cpp:240 Found pipeline: [ar0830 3-0042|0] -&amp;gt; [0|csidev-4ad30000.csi|1] -&amp;gt; [0|4ac10000.syscon:formatter@20|1] -&amp;gt; [2|crossbar]&lt;BR /&gt;[0:08:06.156726940] [859]&amp;nbsp; WARN CameraSensorProperties camera_sensor_properties.cpp:586 No static properties available for 'ar0830'&lt;BR /&gt;[0:08:06.156904446] [859]&amp;nbsp; WARN CameraSensorProperties camera_sensor_properties.cpp:588 Please consider updating the camera sensor properties database&lt;BR /&gt;[0:08:06.157054248] [859]&amp;nbsp; INFO Camera camera_manager.cpp:223 Adding camera '/base/soc/bus@42000000/i2c@42540000/ar0234_mipi@42' for pipeline handler imx8-isi&lt;BR /&gt;Available cameras:&lt;BR /&gt;1: External camera 'ar0234' (/base/soc/bus@42000000/i2c@42540000/ar0234_mipi@42)&lt;/P&gt;&lt;P&gt;our camera has been successfully detected , as mentioned above&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;v4l2-ctl -d 0 -v width=1920,height=1200,pixelformat='GRBG'&amp;nbsp; --stream-mmap&amp;nbsp; --verbose&lt;BR /&gt;VIDIOC_QUERYCAP: ok&lt;BR /&gt;VIDIOC_G_FMT: ok&lt;BR /&gt;VIDIOC_S_FMT: ok&lt;BR /&gt;Format Video Capture Multiplanar:&lt;BR /&gt;  Width/Height&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1920/1200&lt;BR /&gt;  Pixel Format&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 'GRBG' (8-bit Bayer GRGR/BGBG)&lt;BR /&gt;  Field&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : None&lt;BR /&gt;  Number of planes&amp;nbsp; : 1&lt;BR /&gt;  Flags&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp;&lt;BR /&gt;  Colorspace&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : sRGB&lt;BR /&gt;  Transfer Function : sRGB&lt;BR /&gt;  YCbCr/HSV Encoding: ITU-R 601&lt;BR /&gt;  Quantization&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Limited Range&lt;BR /&gt;  Plane 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;BR /&gt;   &amp;nbsp; Bytes per Line : 1920&lt;BR /&gt;   &amp;nbsp; Size Image&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2304000&lt;BR /&gt;    VIDIOC_REQBUFS returned 0 (Success)&lt;BR /&gt;    VIDIOC_CREATE_BUFS returned 0 (Success)&lt;BR /&gt;    VIDIOC_QUERYBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QUERYBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QUERYBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QUERYBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_G_FMT returned 0 (Success)&lt;BR /&gt;    VIDIOC_QBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_STREAMON returned 0 (Success)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We are able to get frames from the camera sensor which we probed with the DSO and verified but the platform is &lt;STRONG&gt;unable&lt;/STRONG&gt; to sample it properly. No error comes in the dmesg.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have we missed anything else from the sensor configuration perspective?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, do the data rate or pixel clock values need to be communicated to the platform through the Device Tree?&lt;/P&gt;&lt;P&gt;Specifically, should the following D-PHY parameters be configured in the Device Tree?&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;cfg-clk-range = &amp;lt;28&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hs-clk-range  = &amp;lt;0x2b&amp;gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;If these parameters are required, could you clarify on what basis the cfg-clk-range and hs-clk-range values are selected?&lt;/P&gt;&lt;P&gt;Are these values derived from the MIPI CSI-2 lane data rate, sensor output resolution, frame rate, or pixel clock?&lt;/P&gt;&lt;P&gt;Additionally, what data-rate or pixel-clock range corresponds to the values 28 and 0x2b? Is there a reference table or formula that should be used to determine the correct settings for a given sensor configuration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DMESG LOG&lt;/P&gt;&lt;P&gt;[ 104.760033] camera-mipi-clk = 800MHz&lt;BR /&gt;[ 115.837690] ar0234 3-0042: MIPI Clock = 800, MIPI Lanes = 4&lt;BR /&gt;[ 115.837737] ar0234 3-0042: supply avdd not found, using dummy regulator&lt;BR /&gt;[ 115.837911] ar0234 3-0042: supply dovdd not found, using dummy regulator&lt;BR /&gt;[ 115.837955] ar0234 3-0042: supply dvdd not found, using dummy regulator&lt;BR /&gt;[ 115.988087] Current Firmware Version - (11eONO25V6XXX011106014eceGCORAL3)&lt;BR /&gt;[ 115.988115] Current Firmware Version - (11eONO25V6XXX011106014eceGCORAL3)&lt;BR /&gt;[ 115.989053] priv-&amp;gt;mipi_lane_config is 4&lt;BR /&gt;[ 120.297214] SENSOR ID=0x0a56&lt;BR /&gt;[ 120.297245] mcu_isp_init&lt;BR /&gt;[ 125.401238] Detected ar0234 sensor&lt;BR /&gt;[ 125.453854] ar0234_propagate_fmt is called&lt;BR /&gt;[ 125.463674] ar0234_propagate_fmt is called&lt;BR /&gt;[ 125.463959] entering the enum mbus code&lt;BR /&gt;[ 125.463975] code is 12290&lt;BR /&gt;[ 125.463982] entering the enum mbus code&lt;BR /&gt;[ 125.463989] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 125.463995] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 125.463999] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 125.464004] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 125.464033] inside the ar0234_get_selection functions&lt;BR /&gt;[ 125.464041] inside the ar0234_get_selection functions&lt;BR /&gt;[ 125.464045] inside the ar0234_get_selection functions&lt;BR /&gt;[ 126.637118] ar0234_propagate_fmt is called&lt;BR /&gt;[ 126.637658] entering the enum mbus code&lt;BR /&gt;[ 126.637681] code is 12290&lt;BR /&gt;[ 126.637702] entering the enum mbus code&lt;BR /&gt;[ 126.637719] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 126.637736] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 126.637751] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 126.637765] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 126.637856] inside the ar0234_get_selection functions&lt;BR /&gt;[ 126.637877] inside the ar0234_get_selection functions&lt;BR /&gt;[ 126.637892] inside the ar0234_get_selection functions&lt;BR /&gt;[ 204.157151] audit: type=1006 audit(1782310053.402:28): pid=805 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=4 res=1&lt;BR /&gt;[ 204.157191] audit: type=1300 audit(1782310053.402:28): arch=c00000b7 syscall=64 success=yes exit=1 a0=a a1=ffffc191b2d0 a2=1 a3=0 items=0 ppid=1 pid=805 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm="sshd-session" exe="/usr/libexec/sshd-session" key=(null)&lt;BR /&gt;[ 204.157211] audit: type=1327 audit(1782310053.402:28): proctitle=737368642D73657373696F6E3A20726F6F74205B707269765D&lt;BR /&gt;[ 206.826792] ar0234_propagate_fmt is called&lt;BR /&gt;[ 206.826975] entering the enum mbus code&lt;BR /&gt;[ 206.826986] code is 12290&lt;BR /&gt;[ 206.826994] entering the enum mbus code&lt;BR /&gt;[ 206.827000] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 206.827006] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 206.827010] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 206.827014] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 206.827057] inside the ar0234_get_selection functions&lt;BR /&gt;[ 206.827065] inside the ar0234_get_selection functions&lt;BR /&gt;[ 206.827070] inside the ar0234_get_selection functions&lt;BR /&gt;[ 224.637904] ar0234_propagate_fmt is called&lt;BR /&gt;[ 224.676405] ar0234_propagate_fmt is called&lt;BR /&gt;[ 224.676442] entering ar0234_set_fmt&lt;BR /&gt;[ 224.676447] inside the set format loop if condition&lt;BR /&gt;[ 224.676451] ar0234-&amp;gt;mcu_cam_frmfmt[mode].size.width is 1920&lt;BR /&gt;[ 224.676456] ar0234_set_fmt: setting resolution width=1920 height=1200, mode=0&lt;BR /&gt;[ 224.680462] priv-&amp;gt;mcu_cam_frmfmt[mode].size.width is 1920&lt;BR /&gt;[ 224.680476] mc_data[8] = 0x07 (7)&lt;BR /&gt;[ 224.680480] mc_data[9] = 0x80 (128)&lt;BR /&gt;[ 224.680484] mc_data[10] = 0x04 (4)&lt;BR /&gt;[ 224.680487] mc_data[11] = 0xb0 (176)&lt;BR /&gt;[ 228.270636] ar0234_propagate_fmt is called&lt;BR /&gt;[ 228.270815] entering the enum mbus code&lt;BR /&gt;[ 228.270823] code is 12290&lt;BR /&gt;[ 228.270832] entering the enum mbus code&lt;BR /&gt;[ 228.270838] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 228.270843] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 228.270848] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 228.270912] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 228.270958] inside the ar0234_get_selection functions&lt;BR /&gt;[ 228.270965] inside the ar0234_get_selection functions&lt;BR /&gt;[ 228.270970] inside the ar0234_get_selection functions&lt;BR /&gt;[ 237.329660] dwc-mipi-csi2 4ad30000.csi: Remote sub-device on pad 1 should implement .get_frame_desc! Forcing VC = 0 and DT = 2a&lt;BR /&gt;[ 487.004807] ar0234_propagate_fmt is called&lt;BR /&gt;[ 487.004984] entering the enum mbus code&lt;BR /&gt;[ 487.005053] code is 12290&lt;BR /&gt;[ 487.005065] entering the enum mbus code&lt;BR /&gt;[ 487.005073] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 487.005079] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 487.005083] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 487.005087] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 487.005138] inside the ar0234_get_selection functions&lt;BR /&gt;[ 487.005146] inside the ar0234_get_selection functions&lt;BR /&gt;[ 487.005150] inside the ar0234_get_selection functions&lt;BR /&gt;[ 695.743591] audit: type=1006 audit(1782310544.949:29): pid=869 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=5 res=1&lt;BR /&gt;[ 695.743649] audit: type=1300 audit(1782310544.949:29): arch=c00000b7 syscall=64 success=yes exit=1 a0=a a1=ffffef74ca20 a2=1 a3=0 items=0 ppid=1 pid=869 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=5 comm="sshd-session" exe="/usr/libexec/sshd-session" key=(null)&lt;BR /&gt;[ 695.743685] audit: type=1327 audit(1782310544.949:29): proctitle=737368642D73657373696F6E3A20726F6F74205B707269765D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jun 2026 14:47:50 GMT</pubDate>
    <dc:creator>Harish_V</dc:creator>
    <dc:date>2026-06-24T14:47:50Z</dc:date>
    <item>
      <title>Sampling issue while streaming for Bayer sensor in iMX95 FRDM</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/Sampling-issue-while-streaming-for-Bayer-sensor-in-iMX95-FRDM/m-p/2385878#M738</link>
      <description>&lt;P&gt;Hi Team,&lt;BR /&gt;We are currently bringing up a Bayer sensor in&amp;nbsp;&lt;STRONG&gt;IMX95 FRDM&amp;nbsp;&lt;/STRONG&gt;kit. We initially verified the stream with OS08A20 (reference camera from NXP) we were able to stream. Based on the driver we bringup a driver to support our sensor. It probes fine and media nodes gets generated properly. The media linking is proper which we verified with the media architecture of OS08A20.&amp;nbsp;&lt;BR /&gt;We have attached the dmesg log below.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently we configured the sensor in 8 bit mode (ar0234 sensor) . Current data rate is 800 MBPS per lane . &amp;nbsp;Data will be out in 4 lane for the sensor . We are able to probe and register.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cam -l&lt;BR /&gt;[0:08:06.049058684] [858]&amp;nbsp; INFO Camera camera_manager.cpp:340 libcamera v0.0.0+6489-lf-6.18.2-1.0.0&lt;BR /&gt;[0:08:06.155690529] [859]&amp;nbsp; INFO MediaPipeline media_pipeline.cpp:240 Found pipeline: [ar0830 3-0042|0] -&amp;gt; [0|csidev-4ad30000.csi|1] -&amp;gt; [0|4ac10000.syscon:formatter@20|1] -&amp;gt; [2|crossbar]&lt;BR /&gt;[0:08:06.156726940] [859]&amp;nbsp; WARN CameraSensorProperties camera_sensor_properties.cpp:586 No static properties available for 'ar0830'&lt;BR /&gt;[0:08:06.156904446] [859]&amp;nbsp; WARN CameraSensorProperties camera_sensor_properties.cpp:588 Please consider updating the camera sensor properties database&lt;BR /&gt;[0:08:06.157054248] [859]&amp;nbsp; INFO Camera camera_manager.cpp:223 Adding camera '/base/soc/bus@42000000/i2c@42540000/ar0234_mipi@42' for pipeline handler imx8-isi&lt;BR /&gt;Available cameras:&lt;BR /&gt;1: External camera 'ar0234' (/base/soc/bus@42000000/i2c@42540000/ar0234_mipi@42)&lt;/P&gt;&lt;P&gt;our camera has been successfully detected , as mentioned above&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;v4l2-ctl -d 0 -v width=1920,height=1200,pixelformat='GRBG'&amp;nbsp; --stream-mmap&amp;nbsp; --verbose&lt;BR /&gt;VIDIOC_QUERYCAP: ok&lt;BR /&gt;VIDIOC_G_FMT: ok&lt;BR /&gt;VIDIOC_S_FMT: ok&lt;BR /&gt;Format Video Capture Multiplanar:&lt;BR /&gt;  Width/Height&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1920/1200&lt;BR /&gt;  Pixel Format&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 'GRBG' (8-bit Bayer GRGR/BGBG)&lt;BR /&gt;  Field&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : None&lt;BR /&gt;  Number of planes&amp;nbsp; : 1&lt;BR /&gt;  Flags&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp;&lt;BR /&gt;  Colorspace&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : sRGB&lt;BR /&gt;  Transfer Function : sRGB&lt;BR /&gt;  YCbCr/HSV Encoding: ITU-R 601&lt;BR /&gt;  Quantization&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Limited Range&lt;BR /&gt;  Plane 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;BR /&gt;   &amp;nbsp; Bytes per Line : 1920&lt;BR /&gt;   &amp;nbsp; Size Image&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2304000&lt;BR /&gt;    VIDIOC_REQBUFS returned 0 (Success)&lt;BR /&gt;    VIDIOC_CREATE_BUFS returned 0 (Success)&lt;BR /&gt;    VIDIOC_QUERYBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QUERYBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QUERYBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QUERYBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_G_FMT returned 0 (Success)&lt;BR /&gt;    VIDIOC_QBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_QBUF returned 0 (Success)&lt;BR /&gt;    VIDIOC_STREAMON returned 0 (Success)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;We are able to get frames from the camera sensor which we probed with the DSO and verified but the platform is &lt;STRONG&gt;unable&lt;/STRONG&gt; to sample it properly. No error comes in the dmesg.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have we missed anything else from the sensor configuration perspective?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Also, do the data rate or pixel clock values need to be communicated to the platform through the Device Tree?&lt;/P&gt;&lt;P&gt;Specifically, should the following D-PHY parameters be configured in the Device Tree?&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;cfg-clk-range = &amp;lt;28&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hs-clk-range  = &amp;lt;0x2b&amp;gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;If these parameters are required, could you clarify on what basis the cfg-clk-range and hs-clk-range values are selected?&lt;/P&gt;&lt;P&gt;Are these values derived from the MIPI CSI-2 lane data rate, sensor output resolution, frame rate, or pixel clock?&lt;/P&gt;&lt;P&gt;Additionally, what data-rate or pixel-clock range corresponds to the values 28 and 0x2b? Is there a reference table or formula that should be used to determine the correct settings for a given sensor configuration?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DMESG LOG&lt;/P&gt;&lt;P&gt;[ 104.760033] camera-mipi-clk = 800MHz&lt;BR /&gt;[ 115.837690] ar0234 3-0042: MIPI Clock = 800, MIPI Lanes = 4&lt;BR /&gt;[ 115.837737] ar0234 3-0042: supply avdd not found, using dummy regulator&lt;BR /&gt;[ 115.837911] ar0234 3-0042: supply dovdd not found, using dummy regulator&lt;BR /&gt;[ 115.837955] ar0234 3-0042: supply dvdd not found, using dummy regulator&lt;BR /&gt;[ 115.988087] Current Firmware Version - (11eONO25V6XXX011106014eceGCORAL3)&lt;BR /&gt;[ 115.988115] Current Firmware Version - (11eONO25V6XXX011106014eceGCORAL3)&lt;BR /&gt;[ 115.989053] priv-&amp;gt;mipi_lane_config is 4&lt;BR /&gt;[ 120.297214] SENSOR ID=0x0a56&lt;BR /&gt;[ 120.297245] mcu_isp_init&lt;BR /&gt;[ 125.401238] Detected ar0234 sensor&lt;BR /&gt;[ 125.453854] ar0234_propagate_fmt is called&lt;BR /&gt;[ 125.463674] ar0234_propagate_fmt is called&lt;BR /&gt;[ 125.463959] entering the enum mbus code&lt;BR /&gt;[ 125.463975] code is 12290&lt;BR /&gt;[ 125.463982] entering the enum mbus code&lt;BR /&gt;[ 125.463989] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 125.463995] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 125.463999] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 125.464004] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 125.464033] inside the ar0234_get_selection functions&lt;BR /&gt;[ 125.464041] inside the ar0234_get_selection functions&lt;BR /&gt;[ 125.464045] inside the ar0234_get_selection functions&lt;BR /&gt;[ 126.637118] ar0234_propagate_fmt is called&lt;BR /&gt;[ 126.637658] entering the enum mbus code&lt;BR /&gt;[ 126.637681] code is 12290&lt;BR /&gt;[ 126.637702] entering the enum mbus code&lt;BR /&gt;[ 126.637719] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 126.637736] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 126.637751] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 126.637765] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 126.637856] inside the ar0234_get_selection functions&lt;BR /&gt;[ 126.637877] inside the ar0234_get_selection functions&lt;BR /&gt;[ 126.637892] inside the ar0234_get_selection functions&lt;BR /&gt;[ 204.157151] audit: type=1006 audit(1782310053.402:28): pid=805 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=4 res=1&lt;BR /&gt;[ 204.157191] audit: type=1300 audit(1782310053.402:28): arch=c00000b7 syscall=64 success=yes exit=1 a0=a a1=ffffc191b2d0 a2=1 a3=0 items=0 ppid=1 pid=805 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4 comm="sshd-session" exe="/usr/libexec/sshd-session" key=(null)&lt;BR /&gt;[ 204.157211] audit: type=1327 audit(1782310053.402:28): proctitle=737368642D73657373696F6E3A20726F6F74205B707269765D&lt;BR /&gt;[ 206.826792] ar0234_propagate_fmt is called&lt;BR /&gt;[ 206.826975] entering the enum mbus code&lt;BR /&gt;[ 206.826986] code is 12290&lt;BR /&gt;[ 206.826994] entering the enum mbus code&lt;BR /&gt;[ 206.827000] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 206.827006] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 206.827010] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 206.827014] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 206.827057] inside the ar0234_get_selection functions&lt;BR /&gt;[ 206.827065] inside the ar0234_get_selection functions&lt;BR /&gt;[ 206.827070] inside the ar0234_get_selection functions&lt;BR /&gt;[ 224.637904] ar0234_propagate_fmt is called&lt;BR /&gt;[ 224.676405] ar0234_propagate_fmt is called&lt;BR /&gt;[ 224.676442] entering ar0234_set_fmt&lt;BR /&gt;[ 224.676447] inside the set format loop if condition&lt;BR /&gt;[ 224.676451] ar0234-&amp;gt;mcu_cam_frmfmt[mode].size.width is 1920&lt;BR /&gt;[ 224.676456] ar0234_set_fmt: setting resolution width=1920 height=1200, mode=0&lt;BR /&gt;[ 224.680462] priv-&amp;gt;mcu_cam_frmfmt[mode].size.width is 1920&lt;BR /&gt;[ 224.680476] mc_data[8] = 0x07 (7)&lt;BR /&gt;[ 224.680480] mc_data[9] = 0x80 (128)&lt;BR /&gt;[ 224.680484] mc_data[10] = 0x04 (4)&lt;BR /&gt;[ 224.680487] mc_data[11] = 0xb0 (176)&lt;BR /&gt;[ 228.270636] ar0234_propagate_fmt is called&lt;BR /&gt;[ 228.270815] entering the enum mbus code&lt;BR /&gt;[ 228.270823] code is 12290&lt;BR /&gt;[ 228.270832] entering the enum mbus code&lt;BR /&gt;[ 228.270838] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 228.270843] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 228.270848] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 228.270912] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 228.270958] inside the ar0234_get_selection functions&lt;BR /&gt;[ 228.270965] inside the ar0234_get_selection functions&lt;BR /&gt;[ 228.270970] inside the ar0234_get_selection functions&lt;BR /&gt;[ 237.329660] dwc-mipi-csi2 4ad30000.csi: Remote sub-device on pad 1 should implement .get_frame_desc! Forcing VC = 0 and DT = 2a&lt;BR /&gt;[ 487.004807] ar0234_propagate_fmt is called&lt;BR /&gt;[ 487.004984] entering the enum mbus code&lt;BR /&gt;[ 487.005053] code is 12290&lt;BR /&gt;[ 487.005065] entering the enum mbus code&lt;BR /&gt;[ 487.005073] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 487.005079] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 487.005083] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 487.005087] entering the ar0234_enum_frame_sizes functions&lt;BR /&gt;[ 487.005138] inside the ar0234_get_selection functions&lt;BR /&gt;[ 487.005146] inside the ar0234_get_selection functions&lt;BR /&gt;[ 487.005150] inside the ar0234_get_selection functions&lt;BR /&gt;[ 695.743591] audit: type=1006 audit(1782310544.949:29): pid=869 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=5 res=1&lt;BR /&gt;[ 695.743649] audit: type=1300 audit(1782310544.949:29): arch=c00000b7 syscall=64 success=yes exit=1 a0=a a1=ffffef74ca20 a2=1 a3=0 items=0 ppid=1 pid=869 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=5 comm="sshd-session" exe="/usr/libexec/sshd-session" key=(null)&lt;BR /&gt;[ 695.743685] audit: type=1327 audit(1782310544.949:29): proctitle=737368642D73657373696F6E3A20726F6F74205B707269765D&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jun 2026 14:47:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/Sampling-issue-while-streaming-for-Bayer-sensor-in-iMX95-FRDM/m-p/2385878#M738</guid>
      <dc:creator>Harish_V</dc:creator>
      <dc:date>2026-06-24T14:47:50Z</dc:date>
    </item>
  </channel>
</rss>

