<?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: Connecting to image sensor in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Connecting-to-image-sensor/m-p/373014#M19461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K63 product doesn't have NAND flash controller, customer can select to use K60_100MHz product or K60_120MHz product for NAND flash access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get following data about Kinetis NAND Flash performance:&lt;/P&gt;&lt;P&gt;Write a page:&lt;/P&gt;&lt;P&gt;- NAND device write page typical time ~220us, max (Worst case) ~500us (tProg in Micron spec)&lt;/P&gt;&lt;P&gt;&amp;nbsp; This time does not include data from NFC buffer to NAND device, this is the time that NAND device needs to program the array (2K+64).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Move from NFC buffer to NAND: 2112 bytes @ NFC flash clock&lt;/P&gt;&lt;P&gt;- ECC is performed on the fly, so no ECC timing for encoding&lt;/P&gt;&lt;P&gt;- DMA data to NFCBuffer from CPU internal: 2048 + 64 @ CPU clock (11 CPU clock cycle every 32 bytes, 726 CPU clock cycles per page 2112 bytes)&lt;/P&gt;&lt;P&gt;Timing for a page write from CPU to NAND device till DONE bit is&lt;/P&gt;&lt;P&gt;:&amp;lt;DMA time @ CPU clock&amp;gt; + &amp;lt;NAND write command&amp;gt; + &amp;lt;NAND address command&amp;gt; + &amp;lt;DATA transfer @ flash clock&amp;gt; + &amp;lt;NAND device write page time&amp;gt;&lt;/P&gt;&lt;P&gt;So, min time will be: &amp;lt;726 * 10.42&amp;gt; + ~2us + ~2us + &amp;lt;2112 * 38.4&amp;gt; + ~220us = ~313us&lt;/P&gt;&lt;P&gt;And, worst time will be: &amp;lt;726 * 10.42&amp;gt; + ~2us + ~2us + &amp;lt;2112 * 38.4&amp;gt; + ~500us = ~593us&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means the typical NAND Flash performance is 6.24MB/s, the worst performance is 3.29MB/s.&lt;/P&gt;&lt;P&gt;I am not sure how many data need to transfer from JPEG compression(DSP) every second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think using K60_120MHz product or K70 with DDR2 memory is a correct choice. The DDR2 memory clock could up to 150MHz.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2014 09:18:12 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2014-09-17T09:18:12Z</dc:date>
    <item>
      <title>Connecting to image sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Connecting-to-image-sensor/m-p/373013#M19460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;Is it feasible to capture 720p video clips in the rate 30fps from image &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;sensor by K63 MCU and store into NAND Flash after JPEG &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;compression by DSP? Can the video be stored at least 5mins? Would &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;the performance acceptable? Or must I choose i.MX processor in this &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: Arial, Helvetica, sans-serif; font-size: small; background-color: #f5f5f5;"&gt;case? What if I use external DDR2 to retrieve the clips? I want to know the limitation of this MCU.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 00:28:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Connecting-to-image-sensor/m-p/373013#M19460</guid>
      <dc:creator>josephchen</dc:creator>
      <dc:date>2014-09-17T00:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to image sensor</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Connecting-to-image-sensor/m-p/373014#M19461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K63 product doesn't have NAND flash controller, customer can select to use K60_100MHz product or K60_120MHz product for NAND flash access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get following data about Kinetis NAND Flash performance:&lt;/P&gt;&lt;P&gt;Write a page:&lt;/P&gt;&lt;P&gt;- NAND device write page typical time ~220us, max (Worst case) ~500us (tProg in Micron spec)&lt;/P&gt;&lt;P&gt;&amp;nbsp; This time does not include data from NFC buffer to NAND device, this is the time that NAND device needs to program the array (2K+64).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Move from NFC buffer to NAND: 2112 bytes @ NFC flash clock&lt;/P&gt;&lt;P&gt;- ECC is performed on the fly, so no ECC timing for encoding&lt;/P&gt;&lt;P&gt;- DMA data to NFCBuffer from CPU internal: 2048 + 64 @ CPU clock (11 CPU clock cycle every 32 bytes, 726 CPU clock cycles per page 2112 bytes)&lt;/P&gt;&lt;P&gt;Timing for a page write from CPU to NAND device till DONE bit is&lt;/P&gt;&lt;P&gt;:&amp;lt;DMA time @ CPU clock&amp;gt; + &amp;lt;NAND write command&amp;gt; + &amp;lt;NAND address command&amp;gt; + &amp;lt;DATA transfer @ flash clock&amp;gt; + &amp;lt;NAND device write page time&amp;gt;&lt;/P&gt;&lt;P&gt;So, min time will be: &amp;lt;726 * 10.42&amp;gt; + ~2us + ~2us + &amp;lt;2112 * 38.4&amp;gt; + ~220us = ~313us&lt;/P&gt;&lt;P&gt;And, worst time will be: &amp;lt;726 * 10.42&amp;gt; + ~2us + ~2us + &amp;lt;2112 * 38.4&amp;gt; + ~500us = ~593us&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means the typical NAND Flash performance is 6.24MB/s, the worst performance is 3.29MB/s.&lt;/P&gt;&lt;P&gt;I am not sure how many data need to transfer from JPEG compression(DSP) every second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think using K60_120MHz product or K70 with DDR2 memory is a correct choice. The DDR2 memory clock could up to 150MHz.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Wish it helps.&lt;BR /&gt;best regards &lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2014 09:18:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Connecting-to-image-sensor/m-p/373014#M19461</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2014-09-17T09:18:12Z</dc:date>
    </item>
  </channel>
</rss>

