<?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 Question regarding VADC feeding to CSI module in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Question-regarding-VADC-feeding-to-CSI-module/m-p/468037#M73856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have 2 questions regarding the NTSC video input (Vadc) of the i.MX6soloX SoC.&lt;/P&gt;&lt;P&gt;I currently have a problem with reading the NTSC camera through Vadc using CSI port. However, CSI captured data is only dummy values. I reviewed the mxc_vadc.c driver to find out how data is handed over to CSI from Vadc module.&lt;/P&gt;&lt;P&gt;Question #1: Everything on the vadc driver as well as CSI driver in fsl_csi.c seem to be good. Only one thing I got confused is in the IOMUXC_GPR_GPR5 register. The bit field #28-27 in this register in the CSI2_MUX_CTRL for the CSI2 port. It says 2 things that I don't know: &lt;/P&gt;&lt;P&gt;CSI2 input mux control&lt;/P&gt;&lt;P&gt;- 00 CSI2 takes input from external pins (configured via IOMUXC)&lt;/P&gt;&lt;P&gt;- 01 CSI2 takes input from the composite video decoder&lt;/P&gt;&lt;P&gt;- 10 CSI2 takes input from the VADC-to-CSI capture circuit&lt;/P&gt;&lt;P&gt;- 11 CSI2 inputs are tied to GND.&lt;/P&gt;&lt;P&gt;My question is: What is the different between "CSI2 takes input from the composite video decoder" and "CSI2 takes input from the VADC-to-CSI capture circuit" ?!?&lt;/P&gt;&lt;P&gt;What is the composite video decoder?! how is it different from the embedded decoder in the VADC-to-CSI capture circuit?! I tried to set the input using VADC-to-CSI and result is "No SOF detected". But If I use the "input from composite video decoder", then I always have SOF no matter the NTSC camera is connected or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question #2: When I try to capture 1 frame from the CSI data with YUV444, fram size is 720x480 pixels, I got only 720*480 bytes (not words) of the data, remaining is 0xFF. This means the DMA controller is passing only 720x480bytes to the FB1/2. Meanwhile the CSIFBUF_PARA and CSIDMASA_FB1/2 parameters are correctly set for 720x480 words size.&lt;/P&gt;&lt;P&gt;My question is: do I need to do any further setting in the CSI driver to have a full-frame data captured?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in the reference manual for the chip, sometime say "video decoder", sometime says "TV decoder". Is it the same embedded video decoder on the chip? or something else?!! Am I missing something here!? So confused.&lt;/P&gt;&lt;P&gt;Can anybody give me some advice/tips for this?!&lt;/P&gt;&lt;P&gt;Also, is there anybody got the NTSC video input works with the i.mx6solox?! could you share the driver version, please?!&lt;/P&gt;&lt;P&gt;(I am using yoto with kernel 3.10.53xx version.)&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2015 05:35:17 GMT</pubDate>
    <dc:creator>davidtrinh</dc:creator>
    <dc:date>2015-12-09T05:35:17Z</dc:date>
    <item>
      <title>Question regarding VADC feeding to CSI module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-regarding-VADC-feeding-to-CSI-module/m-p/468037#M73856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have 2 questions regarding the NTSC video input (Vadc) of the i.MX6soloX SoC.&lt;/P&gt;&lt;P&gt;I currently have a problem with reading the NTSC camera through Vadc using CSI port. However, CSI captured data is only dummy values. I reviewed the mxc_vadc.c driver to find out how data is handed over to CSI from Vadc module.&lt;/P&gt;&lt;P&gt;Question #1: Everything on the vadc driver as well as CSI driver in fsl_csi.c seem to be good. Only one thing I got confused is in the IOMUXC_GPR_GPR5 register. The bit field #28-27 in this register in the CSI2_MUX_CTRL for the CSI2 port. It says 2 things that I don't know: &lt;/P&gt;&lt;P&gt;CSI2 input mux control&lt;/P&gt;&lt;P&gt;- 00 CSI2 takes input from external pins (configured via IOMUXC)&lt;/P&gt;&lt;P&gt;- 01 CSI2 takes input from the composite video decoder&lt;/P&gt;&lt;P&gt;- 10 CSI2 takes input from the VADC-to-CSI capture circuit&lt;/P&gt;&lt;P&gt;- 11 CSI2 inputs are tied to GND.&lt;/P&gt;&lt;P&gt;My question is: What is the different between "CSI2 takes input from the composite video decoder" and "CSI2 takes input from the VADC-to-CSI capture circuit" ?!?&lt;/P&gt;&lt;P&gt;What is the composite video decoder?! how is it different from the embedded decoder in the VADC-to-CSI capture circuit?! I tried to set the input using VADC-to-CSI and result is "No SOF detected". But If I use the "input from composite video decoder", then I always have SOF no matter the NTSC camera is connected or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question #2: When I try to capture 1 frame from the CSI data with YUV444, fram size is 720x480 pixels, I got only 720*480 bytes (not words) of the data, remaining is 0xFF. This means the DMA controller is passing only 720x480bytes to the FB1/2. Meanwhile the CSIFBUF_PARA and CSIDMASA_FB1/2 parameters are correctly set for 720x480 words size.&lt;/P&gt;&lt;P&gt;My question is: do I need to do any further setting in the CSI driver to have a full-frame data captured?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, in the reference manual for the chip, sometime say "video decoder", sometime says "TV decoder". Is it the same embedded video decoder on the chip? or something else?!! Am I missing something here!? So confused.&lt;/P&gt;&lt;P&gt;Can anybody give me some advice/tips for this?!&lt;/P&gt;&lt;P&gt;Also, is there anybody got the NTSC video input works with the i.mx6solox?! could you share the driver version, please?!&lt;/P&gt;&lt;P&gt;(I am using yoto with kernel 3.10.53xx version.)&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 05:35:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-regarding-VADC-feeding-to-CSI-module/m-p/468037#M73856</guid>
      <dc:creator>davidtrinh</dc:creator>
      <dc:date>2015-12-09T05:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding VADC feeding to CSI module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-regarding-VADC-feeding-to-CSI-module/m-p/468038#M73857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update: I got these problems solved. The drivers work perfectly. Just my mistake passing wrong params.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 08:26:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-regarding-VADC-feeding-to-CSI-module/m-p/468038#M73857</guid>
      <dc:creator>davidtrinh</dc:creator>
      <dc:date>2015-12-09T08:26:11Z</dc:date>
    </item>
  </channel>
</rss>

