<?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>Kinetis MicrocontrollersのトピックHow many clock cycle is required for a read/write operation in K66 controllers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-clock-cycle-is-required-for-a-read-write-operation-in/m-p/993525#M55754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May i know how many&amp;nbsp;clock cycle is required for a read/write operation in K66 controllers . i need to know flex bus read write speed please help me to find.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2020 04:02:17 GMT</pubDate>
    <dc:creator>sarath_gs</dc:creator>
    <dc:date>2020-01-23T04:02:17Z</dc:date>
    <item>
      <title>How many clock cycle is required for a read/write operation in K66 controllers</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-clock-cycle-is-required-for-a-read-write-operation-in/m-p/993525#M55754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May i know how many&amp;nbsp;clock cycle is required for a read/write operation in K66 controllers . i need to know flex bus read write speed please help me to find.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 04:02:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-clock-cycle-is-required-for-a-read-write-operation-in/m-p/993525#M55754</guid>
      <dc:creator>sarath_gs</dc:creator>
      <dc:date>2020-01-23T04:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: How many clock cycle is required for a read/write operation in K66 controllers</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-clock-cycle-is-required-for-a-read-write-operation-in/m-p/993526#M55755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Hello, Sarath G&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;The chapter&amp;nbsp; &lt;A href="https://www.nxp.com/docs/en/application-note/AN4393.pdf#page=12"&gt;3.2.4 Performance calculation&lt;/A&gt; of&amp;nbsp; &lt;A href="https://www.nxp.com/docs/en/application-note/AN4393.pdf"&gt;AN4393 Using FlexBus Interface for Kinetis&lt;/A&gt; &amp;nbsp;provides an example for the Flex bus maximum throughput, doing an In 8-bit non-muxed mode transfer and requiring 6 cycles,&amp;nbsp; &amp;nbsp;four cycles for transfer and two for wait state cycles:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;STRONG&gt;In this example, the theoretical maximal throughput is the following.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;STRONG&gt;&amp;nbsp;If you run the bus at 50 Mhz, with transfer cycles taking four cycles plus two wait state cycles. In 8-bit non-muxed mode you can transfer eight bits in 6 cycles, therefore eight bits in 120 ns. This translates to 66.6 Mbit / sec.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;As the &lt;A href="https://www.nxp.com/docs/en/reference-manual/K66P144M180SF5RMV2.pdf#page=1"&gt;K66 Sub-Family Reference Manual&lt;/A&gt; states in chapter &lt;A href="https://www.nxp.com/docs/en/reference-manual/K66P144M180SF5RMV2.pdf#page=859"&gt;34.5.11.4 Timing Variations&lt;/A&gt;&amp;nbsp;the Flexbus has several variations that can change the timing characteristics of a basic read- or write-bus cycle to provide additional &lt;STRONG&gt;address setup&lt;/STRONG&gt;, &lt;STRONG&gt;address hold&lt;/STRONG&gt;, and&lt;STRONG&gt; time&lt;/STRONG&gt; for a device to provide or latch data.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;In example Wait states can give the peripheral or memory more time to return read data or&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;sample write data.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN&gt;According to the &lt;/SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4393.pdf"&gt;&lt;SPAN&gt;AN4393 Using FlexBus Interface for Kinetis&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; The FlexBus read and write cycles have almost the same timing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN&gt;From the &lt;/SPAN&gt;&lt;SPAN&gt;K66 Sub-Family Reference Manual, b&lt;/SPAN&gt;&lt;SPAN&gt;oth &lt;/SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/K66P144M180SF5RMV2.pdf#page=860"&gt;&lt;SPAN&gt;Figure 34-14&lt;/SPAN&gt;&lt;/A&gt;&lt;STRONG&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/K66P144M180SF5RMV2.pdf#page=861"&gt;&lt;SPAN&gt;Figure 34-15&lt;/SPAN&gt;&lt;/A&gt; &lt;SPAN&gt;&amp;nbsp;illustrates the basic read-bus and write diagrams with no wait states.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN&gt;In the Figure&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/reference-manual/K66P144M180SF5RMV2.pdf#page=868"&gt;Figure&amp;nbsp; 34-22&lt;/A&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;you could see that a write cycle requires up to s&lt;/SPAN&gt;&lt;STRONG&gt;even clock cycles&lt;/STRONG&gt;&lt;SPAN&gt; using the address setup, a wait state&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;SPAN&gt;and the address hold. In the&lt;/SPAN&gt; &lt;A href="https://www.nxp.com/docs/en/reference-manual/K66P144M180SF5RMV2.pdf#page=870"&gt;&lt;SPAN&gt;Figure 34-23.&lt;/SPAN&gt;&lt;/A&gt; &lt;STRONG&gt;&amp;nbsp;eighth bus cycles&lt;/STRONG&gt;&lt;SPAN&gt; are required to perform a 32 bit read burst. &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&lt;STRONG&gt;In conclusion, the required cycles used by the read and write operation may depend on wait states, address setup, address hold time, bit transfer size and if b&lt;/STRONG&gt;&lt;STRONG&gt;urst mode is being used. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Diego&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 23:25:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-clock-cycle-is-required-for-a-read-write-operation-in/m-p/993526#M55755</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-01-28T23:25:24Z</dc:date>
    </item>
  </channel>
</rss>

