<?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 Re: IMX8M Nano : AR0521 Camera Interface : Continously Image not Capture in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Nano-AR0521-Camera-Interface-Continously-Image-not-Capture/m-p/1466784#M191008</link>
    <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I have also dumped CSI Register while Image is not captured.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;--------------------------First Dump--------------------------------------
[ 6784.470793]         CSIS_VERSION[0]: 0x03060301
[ 6784.475370]        CSIS_CMN_CTRL[4]: 0x00004b05
[ 6784.480510]        CSIS_CLK_CTRL[8]: 0x000f0000
[ 6784.485287]          CSIS_INTMSK[10]: 0x0fffff1f
[ 6784.490127]          CSIS_INTSRC[14]: 0x00000000
[ 6784.494971]      CSIS_DPHYSTATUS[20]: 0x000000f0
[ 6784.499811]        CSIS_DPHYCTRL[24]: 0x0d80001f
[ 6784.504653]     CSIS_DPHYBCTRL_L[30]: 0x000001f4
[ 6784.509534]     CSIS_DPHYBCTRL_H[34]: 0x00000000
[ 6784.514392]     CSIS_DPHYSCTRL_L[38]: 0x00000000
[ 6784.519239]     CSIS_DPHYSCTRL_H[3c]: 0x00000000
[ 6784.524083]   CSIS_ISPCONFIG_CH0[40]: 0x000000ac
[ 6784.528926]   CSIS_ISPCONFIG_CH1[50]: 0x000008fd
[ 6784.533789]   CSIS_ISPCONFIG_CH2[60]: 0x000008fe
[ 6784.538629]   CSIS_ISPCONFIG_CH3[70]: 0x000008ff
[ 6784.543485]    CSIS_ISPRESOL_CH0[44]: 0x07a00a28
[ 6784.548370]    CSIS_ISPRESOL_CH1[54]: 0x80008000
[ 6784.553216]    CSIS_ISPRESOL_CH2[64]: 0x80008000
[ 6784.558057]    CSIS_ISPRESOL_CH3[74]: 0x80008000
[ 6784.562899]     CSIS_ISPSYNC_CH0[48]: 0x00000000
[ 6784.567745]     CSIS_ISPSYNC_CH1[58]: 0x00000000
[ 6784.572585]     CSIS_ISPSYNC_CH2[68]: 0x00000000
[ 6784.577464]     CSIS_ISPSYNC_CH3[78]: 0x00000000
[ 6784.582322] MIPI_CSIS_FRAME_COUNTER_CH0[100]: 0x00000000
[ 6784.587858] MIPI_CSIS_FRAME_COUNTER_CH1[104]: 0x00000000
[ 6784.593395] MIPI_CSIS_FRAME_COUNTER_CH2[108]: 0x00000000
[ 6784.598934] MIPI_CSIS_FRAME_COUNTER_CH3[10c]: 0x00000000
[ 6784.604474]    GPR_GASKET_0_CTRL[60]: 0xffff8000
[ 6784.609330]   GPR_GASKET_0_HSIZE[64]: 0xffff8000
[ 6784.614178]   GPR_GASKET_0_VSIZE[68]: 0xffff8000
--------------------------Second dump-------------------------------------
[ 6785.702922]         CSIS_VERSION[0]: 0x03060301
[ 6785.707501]        CSIS_CMN_CTRL[4]: 0x00004b05
[ 6785.712712]        CSIS_CLK_CTRL[8]: 0x000f0000
[ 6785.717506]          CSIS_INTMSK[10]: 0x0fffff1f
[ 6785.722347]          CSIS_INTSRC[14]: 0x00000000
[ 6785.727192]      CSIS_DPHYSTATUS[20]: 0x00000000  --&amp;gt; change value in second dump
[ 6785.732034]        CSIS_DPHYCTRL[24]: 0x0d80001f
[ 6785.736879]     CSIS_DPHYBCTRL_L[30]: 0x000001f4
[ 6785.741720]     CSIS_DPHYBCTRL_H[34]: 0x00000000
[ 6785.746566]     CSIS_DPHYSCTRL_L[38]: 0x00000000
[ 6785.751440]     CSIS_DPHYSCTRL_H[3c]: 0x00000000
[ 6785.756281]   CSIS_ISPCONFIG_CH0[40]: 0x000000ac
[ 6785.761125]   CSIS_ISPCONFIG_CH1[50]: 0x000008fd
[ 6785.766025]   CSIS_ISPCONFIG_CH2[60]: 0x000008fe
[ 6785.770869]   CSIS_ISPCONFIG_CH3[70]: 0x000008ff
[ 6785.775710]    CSIS_ISPRESOL_CH0[44]: 0x07a00a28
[ 6785.780549]    CSIS_ISPRESOL_CH1[54]: 0x80008000
[ 6785.785412]    CSIS_ISPRESOL_CH2[64]: 0x80008000
[ 6785.790251]    CSIS_ISPRESOL_CH3[74]: 0x80008000
[ 6785.795092]     CSIS_ISPSYNC_CH0[48]: 0x00000000
[ 6785.799932]     CSIS_ISPSYNC_CH1[58]: 0x00000000
[ 6785.804774]     CSIS_ISPSYNC_CH2[68]: 0x00000000
[ 6785.809621]     CSIS_ISPSYNC_CH3[78]: 0x00000000
[ 6785.814483] MIPI_CSIS_FRAME_COUNTER_CH0[100]: 0x00000000
[ 6785.820020] MIPI_CSIS_FRAME_COUNTER_CH1[104]: 0x00000000
[ 6785.825609] MIPI_CSIS_FRAME_COUNTER_CH2[108]: 0x00000000
[ 6785.831144] MIPI_CSIS_FRAME_COUNTER_CH3[10c]: 0x00000000
[ 6785.836684]    GPR_GASKET_0_CTRL[60]: 0xffff8000
[ 6785.841540]   GPR_GASKET_0_HSIZE[64]: 0xffff8000
[ 6785.846382]   GPR_GASKET_0_VSIZE[68]: 0xffff8000
&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 31 May 2022 11:36:33 GMT</pubDate>
    <dc:creator>milav_soni</dc:creator>
    <dc:date>2022-05-31T11:36:33Z</dc:date>
    <item>
      <title>IMX8M Nano : AR0521 Camera Interface : Continously Image not Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Nano-AR0521-Camera-Interface-Continously-Image-not-Capture/m-p/1455764#M190211</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;We have designed the Imx8m Nano-based Boards, in which we have connected the ar0521 camera sensor through MIPI CSI.&lt;/P&gt;&lt;P&gt;We have updated the BSP as per our sensor hardware configuration and captured an image successfully.&lt;/P&gt;&lt;P&gt;But the problem is, that we did not get the raw images sometimes. and BSP is stuck at the below function in the "&lt;U&gt;&lt;STRONG&gt;videobuf2-core.c&lt;/STRONG&gt;&lt;/U&gt;" file.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Last print&lt;/STRONG&gt; &lt;/U&gt;: printk("will sleep waiting for buffers\n"); (&amp;lt;---------- &lt;FONT color="#FF0000"&gt;code stuck after this print)&lt;/FONT&gt;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;static int __vb2_wait_for_done_vb(struct vb2_queue *q, int nonblocking)
{
	/*
	 * All operations on vb_done_list are performed under done_lock
	 * spinlock protection. However, buffers may be removed from
	 * it and returned to userspace only while holding both driver's
	 * lock and the done_lock spinlock. Thus we can be sure that as
	 * long as we hold the driver's lock, the list will remain not
	 * empty if list_empty() check succeeds.
	 */
		
	for (;;) {
		int ret;

		if (q-&amp;gt;waiting_in_dqbuf) {
			dprintk(1, "another dup()ped fd is waiting for a buffer\n");
			return -EBUSY;
		}

		if (!q-&amp;gt;streaming) {
			dprintk(1, "streaming off, will not wait for buffers\n");
			return -EINVAL;
		}

		if (q-&amp;gt;error) {
			dprintk(1, "Queue in error state, will not wait for buffers\n");
			return -EIO;
		}

		if (q-&amp;gt;last_buffer_dequeued) {
			dprintk(3, "last buffer dequeued already, will not wait for buffers\n");
			return -EPIPE;
		}

		if (!list_empty(&amp;amp;q-&amp;gt;done_list)) {
			/*
			 * Found a buffer that we were waiting for.
			 */
			break;
		}

		if (nonblocking) {
			dprintk(3, "nonblocking and no buffers to dequeue, will not wait\n");
			return -EAGAIN;
		}

		q-&amp;gt;waiting_in_dqbuf = 1;
		/*
		 * We are streaming and blocking, wait for another buffer to
		 * become ready or for streamoff. Driver's lock is released to
		 * allow streamoff or qbuf to be called while waiting.
		 */
		call_void_qop(q, wait_prepare, q);

		/*
		 * All locks have been released, it is safe to sleep now.
		 */
		dprintk(3, "will sleep waiting for buffers\n");
		printk("will sleep waiting for buffers\n");
		ret = wait_event_interruptible(q-&amp;gt;done_wq,
				!list_empty(&amp;amp;q-&amp;gt;done_list) || !q-&amp;gt;streaming ||
				q-&amp;gt;error);
				
		/*
		 * We need to reevaluate both conditions again after reacquiring
		 * the locks or return an error if one occurred.
		 */
		call_void_qop(q, wait_finish, q);
		q-&amp;gt;waiting_in_dqbuf = 0;
		if (ret) {
			dprintk(1, "sleep was interrupted\n");
			return ret;
		}
	}
	
	return 0;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have gone through the all files associated with the V4L2 Framework.&lt;/P&gt;&lt;P&gt;Queueing of three buffers is done successfully, Stream on IOCTL is also working fine.&lt;/P&gt;&lt;P&gt;But at last of VIDIOC_STREAMON, there is IRQ handler, which is not called in this situation.&lt;/P&gt;&lt;P&gt;and we have stuck in VIDIOC_DQBUF in the above functions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="milav_soni_0-1652191689183.png" style="width: 718px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179373i81AED5155F55F80C/image-dimensions/718x409?v=v2" width="718" height="409" role="button" title="milav_soni_0-1652191689183.png" alt="milav_soni_0-1652191689183.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can you please help me out with this problem?&lt;/P&gt;&lt;P&gt;I have attached the log for your reference.&lt;/P&gt;&lt;P&gt;Waiting for your reply.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:14:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Nano-AR0521-Camera-Interface-Continously-Image-not-Capture/m-p/1455764#M190211</guid>
      <dc:creator>milav_soni</dc:creator>
      <dc:date>2022-05-10T14:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8M Nano : AR0521 Camera Interface : Continously Image not Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Nano-AR0521-Camera-Interface-Continously-Image-not-Capture/m-p/1465521#M190906</link>
      <description>&lt;P&gt;Hello Teams,&lt;/P&gt;&lt;P&gt;I am waiting for reply.&lt;/P&gt;&lt;P&gt;I have also added ISI Dump register value when Image is not capture.&lt;/P&gt;&lt;P&gt;When "&lt;STRONG&gt;mxc_isi_channel_enable&lt;/STRONG&gt;" following is ISI register value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[  118.035014] ISI CHNLC register dump, isi0
[  118.039105]            CHNL_CTRL[0x00]: e2000000
[  118.044716]        CHNL_IMG_CTRL[0x04]: c000001
[  118.049543]    CHNL_OUT_BUF_CTRL[0x08]: 70707
[  118.054128]         CHNL_IMG_CFG[0x0c]: 7a00a28
[  118.058881]             CHNL_IER[0x10]: 3df80000
[  118.063713]             CHNL_STS[0x14]: 200
[  118.068108]    CHNL_SCALE_FACTOR[0x18]: 10001000
[  118.072955]    CHNL_SCALE_OFFSET[0x1c]: 00
[  118.077262]        CHNL_CROP_ULC[0x20]: 00
[  118.081570]        CHNL_CROP_LRC[0x24]: 00
[  118.085892]      CHNL_CSC_COEFF0[0x28]: 00
[  118.090358]      CHNL_CSC_COEFF1[0x2c]: 00
[  118.094718]      CHNL_CSC_COEFF2[0x30]: 00
[  118.099032]      CHNL_CSC_COEFF3[0x34]: 00
[  118.103344]      CHNL_CSC_COEFF4[0x38]: 00
[  118.107653]      CHNL_CSC_COEFF5[0x3c]: 00
[  118.111964]     CHNL_ROI_0_ALPHA[0x40]: 00
[  118.116345]       CHNL_ROI_0_ULC[0x44]: 00
[  118.120674]       CHNL_ROI_0_LRC[0x48]: 00
[  118.124991]     CHNL_ROI_1_ALPHA[0x4c]: 00
[  118.129301]       CHNL_ROI_1_ULC[0x50]: 00
[  118.133612]       CHNL_ROI_1_LRC[0x54]: 00
[  118.137920]     CHNL_ROI_2_ALPHA[0x58]: 00
[  118.142229]       CHNL_ROI_2_ULC[0x5c]: 00
[  118.146535]       CHNL_ROI_2_LRC[0x60]: 00
[  118.150858]     CHNL_ROI_3_ALPHA[0x64]: 00
[  118.155169]       CHNL_ROI_3_ULC[0x68]: 00
[  118.159477]       CHNL_ROI_3_LRC[0x6c]: 00
[  118.163786] CHNL_OUT_BUF1_ADDR_Y[0x70]: 5e000000
[  118.168618] CHNL_OUT_BUF1_ADDR_U[0x74]: 00
[  118.172952] CHNL_OUT_BUF1_ADDR_V[0x78]: 00
[  118.177265]   CHNL_OUT_BUF_PITCH[0x7c]: 1450
[  118.181750]     CHNL_IN_BUF_ADDR[0x80]: 00
[  118.186063]    CHNL_IN_BUF_PITCH[0x84]: 00
[  118.190382]     CHNL_MEM_RD_CTRL[0x88]: 00
[  118.194697] CHNL_OUT_BUF2_ADDR_Y[0x8c]: 5c200000
[  118.199526] CHNL_OUT_BUF2_ADDR_U[0x90]: 00
[  118.203835] CHNL_OUT_BUF2_ADDR_V[0x94]: 00
[  118.208178]     CHNL_SCL_IMG_CFG[0x98]: 7a00a28
[  118.212927]       CHNL_FLOW_CTRL[0x9c]: 00&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When "&lt;STRONG&gt;mxc_isi_channel_disable&lt;/STRONG&gt;" following is ISI register value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ISI CHNLC register dump, isi0
[  121.455986]            CHNL_CTRL[0x00]: e2000000
[  121.460824]        CHNL_IMG_CTRL[0x04]: c000001
[  121.465572]    CHNL_OUT_BUF_CTRL[0x08]: 70707
[  121.470173]         CHNL_IMG_CFG[0x0c]: 7a00a28
[  121.474918]             CHNL_IER[0x10]: 3df80000
[  121.479803]             CHNL_STS[0x14]: 200
[  121.484230]    CHNL_SCALE_FACTOR[0x18]: 10001000
[  121.489068]    CHNL_SCALE_OFFSET[0x1c]: 00
[  121.493386]        CHNL_CROP_ULC[0x20]: 00
[  121.497700]        CHNL_CROP_LRC[0x24]: 00
[  121.502014]      CHNL_CSC_COEFF0[0x28]: 00
[  121.506327]      CHNL_CSC_COEFF1[0x2c]: 00
[  121.510654]      CHNL_CSC_COEFF2[0x30]: 00
[  121.514967]      CHNL_CSC_COEFF3[0x34]: 00
[  121.519306]      CHNL_CSC_COEFF4[0x38]: 00
[  121.523619]      CHNL_CSC_COEFF5[0x3c]: 00
[  121.527930]     CHNL_ROI_0_ALPHA[0x40]: 00
[  121.532252]       CHNL_ROI_0_ULC[0x44]: 00
[  121.536566]       CHNL_ROI_0_LRC[0x48]: 00
[  121.540890]     CHNL_ROI_1_ALPHA[0x4c]: 00
[  121.545204]       CHNL_ROI_1_ULC[0x50]: 00
[  121.549514]       CHNL_ROI_1_LRC[0x54]: 00
[  121.553823]     CHNL_ROI_2_ALPHA[0x58]: 00
[  121.558140]       CHNL_ROI_2_ULC[0x5c]: 00
[  121.562451]       CHNL_ROI_2_LRC[0x60]: 00
[  121.566771]     CHNL_ROI_3_ALPHA[0x64]: 00
[  121.571086]       CHNL_ROI_3_ULC[0x68]: 00
[  121.575411]       CHNL_ROI_3_LRC[0x6c]: 00
[  121.579727] CHNL_OUT_BUF1_ADDR_Y[0x70]: 5e000000
[  121.584559] CHNL_OUT_BUF1_ADDR_U[0x74]: 00
[  121.588874] CHNL_OUT_BUF1_ADDR_V[0x78]: 00
[  121.593189]   CHNL_OUT_BUF_PITCH[0x7c]: 1450
[  121.597673]     CHNL_IN_BUF_ADDR[0x80]: 00
[  121.602006]    CHNL_IN_BUF_PITCH[0x84]: 00
[  121.606331]     CHNL_MEM_RD_CTRL[0x88]: 00
[  121.610645] CHNL_OUT_BUF2_ADDR_Y[0x8c]: 5c200000
[  121.615478] CHNL_OUT_BUF2_ADDR_U[0x90]: 00
[  121.619791] CHNL_OUT_BUF2_ADDR_V[0x94]: 00
[  121.624136]     CHNL_SCL_IMG_CFG[0x98]: 7a00a28
[  121.628882]       CHNL_FLOW_CTRL[0x9c]: 00
[  121.956141] ISI CHNLC register dump, isi0
[  121.960167]            CHNL_CTRL[0x00]: 22000000
[  121.965276]        CHNL_IMG_CTRL[0x04]: c000001
[  121.970058]    CHNL_OUT_BUF_CTRL[0x08]: 70707
[  121.974633]         CHNL_IMG_CFG[0x0c]: 7a00a28
[  121.979380]             CHNL_IER[0x10]: 00
[  121.983689]             CHNL_STS[0x14]: 00
[  121.987999]    CHNL_SCALE_FACTOR[0x18]: 10001000
[  121.992830]    CHNL_SCALE_OFFSET[0x1c]: 00
[  121.997141]        CHNL_CROP_ULC[0x20]: 00
[  122.001452]        CHNL_CROP_LRC[0x24]: 00
[  122.005762]      CHNL_CSC_COEFF0[0x28]: 00
[  122.010071]      CHNL_CSC_COEFF1[0x2c]: 00
[  122.014378]      CHNL_CSC_COEFF2[0x30]: 00
[  122.018686]      CHNL_CSC_COEFF3[0x34]: 00
[  122.023038]      CHNL_CSC_COEFF4[0x38]: 00
[  122.027367]      CHNL_CSC_COEFF5[0x3c]: 00
[  122.031681]     CHNL_ROI_0_ALPHA[0x40]: 00
[  122.035996]       CHNL_ROI_0_ULC[0x44]: 00
[  122.040321]       CHNL_ROI_0_LRC[0x48]: 00
[  122.044634]     CHNL_ROI_1_ALPHA[0x4c]: 00
[  122.048945]       CHNL_ROI_1_ULC[0x50]: 00
[  122.053254]       CHNL_ROI_1_LRC[0x54]: 00
[  122.057568]     CHNL_ROI_2_ALPHA[0x58]: 00
[  122.061882]       CHNL_ROI_2_ULC[0x5c]: 00
[  122.066193]       CHNL_ROI_2_LRC[0x60]: 00
[  122.070501]     CHNL_ROI_3_ALPHA[0x64]: 00
[  122.074811]       CHNL_ROI_3_ULC[0x68]: 00
[  122.079120]       CHNL_ROI_3_LRC[0x6c]: 00
[  122.083437] CHNL_OUT_BUF1_ADDR_Y[0x70]: 5e000000
[  122.088292] CHNL_OUT_BUF1_ADDR_U[0x74]: 00
[  122.092599] CHNL_OUT_BUF1_ADDR_V[0x78]: 00
[  122.096911]   CHNL_OUT_BUF_PITCH[0x7c]: 1450
[  122.101392]     CHNL_IN_BUF_ADDR[0x80]: 00
[  122.105703]    CHNL_IN_BUF_PITCH[0x84]: 00
[  122.110013]     CHNL_MEM_RD_CTRL[0x88]: 00
[  122.114326] CHNL_OUT_BUF2_ADDR_Y[0x8c]: 5c200000
[  122.119188] CHNL_OUT_BUF2_ADDR_U[0x90]: 00
[  122.123500] CHNL_OUT_BUF2_ADDR_V[0x94]: 00
[  122.127813]     CHNL_SCL_IMG_CFG[0x98]: 7a00a28
[  122.132558]       CHNL_FLOW_CTRL[0x9c]: 00&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;###################################################################################################################&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is ISI Dump register value when Image is capture.&lt;/P&gt;&lt;P&gt;When "&lt;STRONG&gt;mxc_isi_channel_enable&lt;/STRONG&gt;" following is ISI register value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[  265.664707] ISI CHNLC register dump, isi0
[  265.668783]            CHNL_CTRL[0x00]: e2000000
[  265.674362]        CHNL_IMG_CTRL[0x04]: c000001
[  265.679146]    CHNL_OUT_BUF_CTRL[0x08]: 7c707
[  265.683719]         CHNL_IMG_CFG[0x0c]: 7a00a28
[  265.688466]             CHNL_IER[0x10]: 3df80000
[  265.693296]             CHNL_STS[0x14]: 200
[  265.697691]    CHNL_SCALE_FACTOR[0x18]: 10001000
[  265.702519]    CHNL_SCALE_OFFSET[0x1c]: 00
[  265.706830]        CHNL_CROP_ULC[0x20]: 00
[  265.711143]        CHNL_CROP_LRC[0x24]: 00
[  265.715453]      CHNL_CSC_COEFF0[0x28]: 00
[  265.719763]      CHNL_CSC_COEFF1[0x2c]: 00
[  265.724093]      CHNL_CSC_COEFF2[0x30]: 00
[  265.728411]      CHNL_CSC_COEFF3[0x34]: 00
[  265.732724]      CHNL_CSC_COEFF4[0x38]: 00
[  265.737092]      CHNL_CSC_COEFF5[0x3c]: 00
[  265.741408]     CHNL_ROI_0_ALPHA[0x40]: 00
[  265.745724]       CHNL_ROI_0_ULC[0x44]: 00
[  265.750046]       CHNL_ROI_0_LRC[0x48]: 00
[  265.754360]     CHNL_ROI_1_ALPHA[0x4c]: 00
[  265.758667]       CHNL_ROI_1_ULC[0x50]: 00
[  265.762979]       CHNL_ROI_1_LRC[0x54]: 00
[  265.767297]     CHNL_ROI_2_ALPHA[0x58]: 00
[  265.771608]       CHNL_ROI_2_ULC[0x5c]: 00
[  265.775933]       CHNL_ROI_2_LRC[0x60]: 00
[  265.780257]     CHNL_ROI_3_ALPHA[0x64]: 00
[  265.784576]       CHNL_ROI_3_ULC[0x68]: 00
[  265.788883]       CHNL_ROI_3_LRC[0x6c]: 00
[  265.793197] CHNL_OUT_BUF1_ADDR_Y[0x70]: 5e000000
[  265.798034] CHNL_OUT_BUF1_ADDR_U[0x74]: 00
[  265.802340] CHNL_OUT_BUF1_ADDR_V[0x78]: 00
[  265.806651]   CHNL_OUT_BUF_PITCH[0x7c]: 1450
[  265.811133]     CHNL_IN_BUF_ADDR[0x80]: 00
[  265.815442]    CHNL_IN_BUF_PITCH[0x84]: 00
[  265.819749]     CHNL_MEM_RD_CTRL[0x88]: 00
[  265.824058] CHNL_OUT_BUF2_ADDR_Y[0x8c]: 5c200000
[  265.828932] CHNL_OUT_BUF2_ADDR_U[0x90]: 00
[  265.833252] CHNL_OUT_BUF2_ADDR_V[0x94]: 00
[  265.837564]     CHNL_SCL_IMG_CFG[0x98]: 7a00a28
[  265.842321]       CHNL_FLOW_CTRL[0x9c]: 00&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;When "&lt;STRONG&gt;mxc_isi_channel_disable&lt;/STRONG&gt;" following is ISI register value.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[  267.883180] ISI CHNLC register dump, isi0
[  267.887859]            CHNL_CTRL[0x00]: e2000000
[  267.893107]        CHNL_IMG_CTRL[0x04]: c000001
[  267.898165]    CHNL_OUT_BUF_CTRL[0x08]: 78707
[  267.903092]         CHNL_IMG_CFG[0x0c]: 7a00a28
[  267.908231]             CHNL_IER[0x10]: 3df80000
[  267.913333]             CHNL_STS[0x14]: 40000100
[  267.918559]    CHNL_SCALE_FACTOR[0x18]: 10001000
[  267.923758]    CHNL_SCALE_OFFSET[0x1c]: 00
[  267.928294]        CHNL_CROP_ULC[0x20]: 00
[  267.932774]        CHNL_CROP_LRC[0x24]: 00
[  267.937441]      CHNL_CSC_COEFF0[0x28]: 00
[  267.942104]      CHNL_CSC_COEFF1[0x2c]: 00
[  267.946646]      CHNL_CSC_COEFF2[0x30]: 00
[  267.951096]      CHNL_CSC_COEFF3[0x34]: 00
[  267.955430]      CHNL_CSC_COEFF4[0x38]: 00
[  267.959759]      CHNL_CSC_COEFF5[0x3c]: 00
[  267.964075]     CHNL_ROI_0_ALPHA[0x40]: 00
[  267.968386]       CHNL_ROI_0_ULC[0x44]: 00
[  267.972697]       CHNL_ROI_0_LRC[0x48]: 00
[  267.977031]     CHNL_ROI_1_ALPHA[0x4c]: 00
[  267.981341]       CHNL_ROI_1_ULC[0x50]: 00
[  267.985652]       CHNL_ROI_1_LRC[0x54]: 00
[  267.989963]     CHNL_ROI_2_ALPHA[0x58]: 00
[  267.994269]       CHNL_ROI_2_ULC[0x5c]: 00
[  267.998614]       CHNL_ROI_2_LRC[0x60]: 00
[  268.002933]     CHNL_ROI_3_ALPHA[0x64]: 00
[  268.007244]       CHNL_ROI_3_ULC[0x68]: 00
[  268.011550]       CHNL_ROI_3_LRC[0x6c]: 00
[  268.015858] CHNL_OUT_BUF1_ADDR_Y[0x70]: 5e000000
[  268.020695] CHNL_OUT_BUF1_ADDR_U[0x74]: 00
[  268.025011] CHNL_OUT_BUF1_ADDR_V[0x78]: 00
[  268.029323]   CHNL_OUT_BUF_PITCH[0x7c]: 1450
[  268.033824]     CHNL_IN_BUF_ADDR[0x80]: 00
[  268.038138]    CHNL_IN_BUF_PITCH[0x84]: 00
[  268.042451]     CHNL_MEM_RD_CTRL[0x88]: 00
[  268.046768] CHNL_OUT_BUF2_ADDR_Y[0x8c]: 5e000000
[  268.051602] CHNL_OUT_BUF2_ADDR_U[0x90]: 00
[  268.055915] CHNL_OUT_BUF2_ADDR_V[0x94]: 00
[  268.060251]     CHNL_SCL_IMG_CFG[0x98]: 7a00a28
[  268.064999]       CHNL_FLOW_CTRL[0x9c]: 00
[  268.388133] ISI CHNLC register dump, isi0
[  268.392156]            CHNL_CTRL[0x00]: 22000000
[  268.397209]        CHNL_IMG_CTRL[0x04]: c000001
[  268.401975]    CHNL_OUT_BUF_CTRL[0x08]: 78707
[  268.406549]         CHNL_IMG_CFG[0x0c]: 7a00a28
[  268.411322]             CHNL_IER[0x10]: 00
[  268.415635]             CHNL_STS[0x14]: 40000000
[  268.420474]    CHNL_SCALE_FACTOR[0x18]: 10001000
[  268.425339]    CHNL_SCALE_OFFSET[0x1c]: 00
[  268.429652]        CHNL_CROP_ULC[0x20]: 00
[  268.433964]        CHNL_CROP_LRC[0x24]: 00
[  268.438274]      CHNL_CSC_COEFF0[0x28]: 00
[  268.442599]      CHNL_CSC_COEFF1[0x2c]: 00
[  268.446911]      CHNL_CSC_COEFF2[0x30]: 00
[  268.451225]      CHNL_CSC_COEFF3[0x34]: 00
[  268.455537]      CHNL_CSC_COEFF4[0x38]: 00
[  268.459849]      CHNL_CSC_COEFF5[0x3c]: 00
[  268.464194]     CHNL_ROI_0_ALPHA[0x40]: 00
[  268.468510]       CHNL_ROI_0_ULC[0x44]: 00
[  268.472821]       CHNL_ROI_0_LRC[0x48]: 00
[  268.477148]     CHNL_ROI_1_ALPHA[0x4c]: 00
[  268.481462]       CHNL_ROI_1_ULC[0x50]: 00
[  268.485774]       CHNL_ROI_1_LRC[0x54]: 00
[  268.490086]     CHNL_ROI_2_ALPHA[0x58]: 00
[  268.494400]       CHNL_ROI_2_ULC[0x5c]: 00
[  268.498717]       CHNL_ROI_2_LRC[0x60]: 00
[  268.503032]     CHNL_ROI_3_ALPHA[0x64]: 00
[  268.507343]       CHNL_ROI_3_ULC[0x68]: 00
[  268.511653]       CHNL_ROI_3_LRC[0x6c]: 00
[  268.515965] CHNL_OUT_BUF1_ADDR_Y[0x70]: 5e000000
[  268.520799] CHNL_OUT_BUF1_ADDR_U[0x74]: 00
[  268.525120] CHNL_OUT_BUF1_ADDR_V[0x78]: 00
[  268.529441]   CHNL_OUT_BUF_PITCH[0x7c]: 1450
[  268.533930]     CHNL_IN_BUF_ADDR[0x80]: 00
[  268.538243]    CHNL_IN_BUF_PITCH[0x84]: 00
[  268.542569]     CHNL_MEM_RD_CTRL[0x88]: 00
[  268.546886] CHNL_OUT_BUF2_ADDR_Y[0x8c]: 5e000000
[  268.551752] CHNL_OUT_BUF2_ADDR_U[0x90]: 00
[  268.556069] CHNL_OUT_BUF2_ADDR_V[0x94]: 00
[  268.560379]     CHNL_SCL_IMG_CFG[0x98]: 7a00a28
[  268.565127]       CHNL_FLOW_CTRL[0x9c]: 00&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for hint what might go wrong.&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 11:34:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Nano-AR0521-Camera-Interface-Continously-Image-not-Capture/m-p/1465521#M190906</guid>
      <dc:creator>milav_soni</dc:creator>
      <dc:date>2022-05-27T11:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8M Nano : AR0521 Camera Interface : Continously Image not Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Nano-AR0521-Camera-Interface-Continously-Image-not-Capture/m-p/1465790#M190920</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I have dumped the ISI register to debug more.&lt;/P&gt;&lt;P&gt;I have attached the three files of dumps register values for the following image configuration.&lt;/P&gt;&lt;P&gt;1) 1080p_run.txt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; ISI dump register when 1080p images are captured (which is run always).&lt;/P&gt;&lt;P&gt;2) 5MP_run.txt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; ISI dump register when 5MP images are captured.&lt;/P&gt;&lt;P&gt;3) 5MP_not_run.txt --&amp;gt; ISI dump register when 5MP images are not captured.&lt;/P&gt;&lt;P&gt;Can you please help me out on this problem?&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 28 May 2022 05:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Nano-AR0521-Camera-Interface-Continously-Image-not-Capture/m-p/1465790#M190920</guid>
      <dc:creator>milav_soni</dc:creator>
      <dc:date>2022-05-28T05:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8M Nano : AR0521 Camera Interface : Continously Image not Capture</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Nano-AR0521-Camera-Interface-Continously-Image-not-Capture/m-p/1466784#M191008</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;I have also dumped CSI Register while Image is not captured.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;--------------------------First Dump--------------------------------------
[ 6784.470793]         CSIS_VERSION[0]: 0x03060301
[ 6784.475370]        CSIS_CMN_CTRL[4]: 0x00004b05
[ 6784.480510]        CSIS_CLK_CTRL[8]: 0x000f0000
[ 6784.485287]          CSIS_INTMSK[10]: 0x0fffff1f
[ 6784.490127]          CSIS_INTSRC[14]: 0x00000000
[ 6784.494971]      CSIS_DPHYSTATUS[20]: 0x000000f0
[ 6784.499811]        CSIS_DPHYCTRL[24]: 0x0d80001f
[ 6784.504653]     CSIS_DPHYBCTRL_L[30]: 0x000001f4
[ 6784.509534]     CSIS_DPHYBCTRL_H[34]: 0x00000000
[ 6784.514392]     CSIS_DPHYSCTRL_L[38]: 0x00000000
[ 6784.519239]     CSIS_DPHYSCTRL_H[3c]: 0x00000000
[ 6784.524083]   CSIS_ISPCONFIG_CH0[40]: 0x000000ac
[ 6784.528926]   CSIS_ISPCONFIG_CH1[50]: 0x000008fd
[ 6784.533789]   CSIS_ISPCONFIG_CH2[60]: 0x000008fe
[ 6784.538629]   CSIS_ISPCONFIG_CH3[70]: 0x000008ff
[ 6784.543485]    CSIS_ISPRESOL_CH0[44]: 0x07a00a28
[ 6784.548370]    CSIS_ISPRESOL_CH1[54]: 0x80008000
[ 6784.553216]    CSIS_ISPRESOL_CH2[64]: 0x80008000
[ 6784.558057]    CSIS_ISPRESOL_CH3[74]: 0x80008000
[ 6784.562899]     CSIS_ISPSYNC_CH0[48]: 0x00000000
[ 6784.567745]     CSIS_ISPSYNC_CH1[58]: 0x00000000
[ 6784.572585]     CSIS_ISPSYNC_CH2[68]: 0x00000000
[ 6784.577464]     CSIS_ISPSYNC_CH3[78]: 0x00000000
[ 6784.582322] MIPI_CSIS_FRAME_COUNTER_CH0[100]: 0x00000000
[ 6784.587858] MIPI_CSIS_FRAME_COUNTER_CH1[104]: 0x00000000
[ 6784.593395] MIPI_CSIS_FRAME_COUNTER_CH2[108]: 0x00000000
[ 6784.598934] MIPI_CSIS_FRAME_COUNTER_CH3[10c]: 0x00000000
[ 6784.604474]    GPR_GASKET_0_CTRL[60]: 0xffff8000
[ 6784.609330]   GPR_GASKET_0_HSIZE[64]: 0xffff8000
[ 6784.614178]   GPR_GASKET_0_VSIZE[68]: 0xffff8000
--------------------------Second dump-------------------------------------
[ 6785.702922]         CSIS_VERSION[0]: 0x03060301
[ 6785.707501]        CSIS_CMN_CTRL[4]: 0x00004b05
[ 6785.712712]        CSIS_CLK_CTRL[8]: 0x000f0000
[ 6785.717506]          CSIS_INTMSK[10]: 0x0fffff1f
[ 6785.722347]          CSIS_INTSRC[14]: 0x00000000
[ 6785.727192]      CSIS_DPHYSTATUS[20]: 0x00000000  --&amp;gt; change value in second dump
[ 6785.732034]        CSIS_DPHYCTRL[24]: 0x0d80001f
[ 6785.736879]     CSIS_DPHYBCTRL_L[30]: 0x000001f4
[ 6785.741720]     CSIS_DPHYBCTRL_H[34]: 0x00000000
[ 6785.746566]     CSIS_DPHYSCTRL_L[38]: 0x00000000
[ 6785.751440]     CSIS_DPHYSCTRL_H[3c]: 0x00000000
[ 6785.756281]   CSIS_ISPCONFIG_CH0[40]: 0x000000ac
[ 6785.761125]   CSIS_ISPCONFIG_CH1[50]: 0x000008fd
[ 6785.766025]   CSIS_ISPCONFIG_CH2[60]: 0x000008fe
[ 6785.770869]   CSIS_ISPCONFIG_CH3[70]: 0x000008ff
[ 6785.775710]    CSIS_ISPRESOL_CH0[44]: 0x07a00a28
[ 6785.780549]    CSIS_ISPRESOL_CH1[54]: 0x80008000
[ 6785.785412]    CSIS_ISPRESOL_CH2[64]: 0x80008000
[ 6785.790251]    CSIS_ISPRESOL_CH3[74]: 0x80008000
[ 6785.795092]     CSIS_ISPSYNC_CH0[48]: 0x00000000
[ 6785.799932]     CSIS_ISPSYNC_CH1[58]: 0x00000000
[ 6785.804774]     CSIS_ISPSYNC_CH2[68]: 0x00000000
[ 6785.809621]     CSIS_ISPSYNC_CH3[78]: 0x00000000
[ 6785.814483] MIPI_CSIS_FRAME_COUNTER_CH0[100]: 0x00000000
[ 6785.820020] MIPI_CSIS_FRAME_COUNTER_CH1[104]: 0x00000000
[ 6785.825609] MIPI_CSIS_FRAME_COUNTER_CH2[108]: 0x00000000
[ 6785.831144] MIPI_CSIS_FRAME_COUNTER_CH3[10c]: 0x00000000
[ 6785.836684]    GPR_GASKET_0_CTRL[60]: 0xffff8000
[ 6785.841540]   GPR_GASKET_0_HSIZE[64]: 0xffff8000
[ 6785.846382]   GPR_GASKET_0_VSIZE[68]: 0xffff8000
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 31 May 2022 11:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8M-Nano-AR0521-Camera-Interface-Continously-Image-not-Capture/m-p/1466784#M191008</guid>
      <dc:creator>milav_soni</dc:creator>
      <dc:date>2022-05-31T11:36:33Z</dc:date>
    </item>
  </channel>
</rss>

