<?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: Flex BUS interface issue.( MK66 ) in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-BUS-interface-issue-MK66/m-p/612344#M36274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;A _jive_internal="true" class="" data-avatarid="1001" data-content-finding="Community" data-externalid="" data-online="false" data-presence="null" data-userid="19420" data-username="xiangjun.rong" href="https://community.nxp.com/people/xiangjun.rong" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;xiangjun.rong&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;Yes I am using CPLD to generate FB_TA signal. The waveform exactly look like below , Upon getting first ready signal whole bus transfer getting closed, hence the second CS pulse is not generating. these signals I analyzed by keeping into Auto ACK mode and neglecting the RDY signal(i,e I changed the FB_TA pin mux option to another ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17980i324166F55C24D55E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 11:39:45 GMT</pubDate>
    <dc:creator>karthikas</dc:creator>
    <dc:date>2017-03-27T11:39:45Z</dc:date>
    <item>
      <title>Flex BUS interface issue.( MK66 )</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-BUS-interface-issue-MK66/m-p/612342#M36272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai .,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am working with MK66FN2M0VLQ18 MCU in our customized board. I am using sdk2.0 examples for flexbus initialization.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I have configured the flexbus as 2 bytes data width , 8 WS, burst read/write disabled mode. since i am interfacing slow device I disable the auto acknowledgement (AA) and considering the RDY signal from external device.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;In burst inhibited mode if I write 32 bit data to 16 bit port size, it will generate two CS pulses and each cycle has to wait for external RDY signal to close the cycle, as mentioned in reference manual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16076iB7F266A6C2D37352/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But in our case on getting first RDY signal , the complete bus transaction getting close irrespective of waiting for second RDY signal(hence i am getting single CS pulse despite of writing data size more then port width) . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;STRONG&gt;I tried the same configuration by neglecting external RDY signal(FB_TA), in that time I am getting two CS pulse .&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;/**********************flex bus config routine **************************/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; flexbus_config_t flexbusConfig;&lt;BR /&gt; &lt;BR /&gt; FLEXBUS_GetDefaultConfig(&amp;amp;flexbusConfig);&lt;BR /&gt; flexbusConfig.waitStates = 0x0FU;&lt;BR /&gt; flexbusConfig.chipBaseAddress = 0x60000000U;&lt;BR /&gt; flexbusConfig.chipBaseAddressMask = 0x7FU;&lt;BR /&gt; flexbusConfig.portSize = kFLEXBUS_2Bytes;&lt;BR /&gt; FLEXBUS_Init(FB, &amp;amp;flexbusConfig);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/****************************************************************************/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me If committed to any mistake while configuration. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 06:59:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-BUS-interface-issue-MK66/m-p/612342#M36272</guid>
      <dc:creator>karthikas</dc:creator>
      <dc:date>2017-03-23T06:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Flex BUS interface issue.( MK66 )</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-BUS-interface-issue-MK66/m-p/612343#M36273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Karthik,&lt;/P&gt;&lt;P&gt;I see that you use CPLD or FPGA to generate the FB_TA signal, as I have said that you have to do a state machine, the falling edge of CSx can trigger the state machine, you have to use FB_CLK to do the state change of the state machine. You can not generate the FB_TA without FB_CLK involved.&lt;/P&gt;&lt;P&gt;Hope it can help you&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 09:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-BUS-interface-issue-MK66/m-p/612343#M36273</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-03-27T09:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Flex BUS interface issue.( MK66 )</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-BUS-interface-issue-MK66/m-p/612344#M36274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;A _jive_internal="true" class="" data-avatarid="1001" data-content-finding="Community" data-externalid="" data-online="false" data-presence="null" data-userid="19420" data-username="xiangjun.rong" href="https://community.nxp.com/people/xiangjun.rong" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;xiangjun.rong&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;Yes I am using CPLD to generate FB_TA signal. The waveform exactly look like below , Upon getting first ready signal whole bus transfer getting closed, hence the second CS pulse is not generating. these signals I analyzed by keeping into Auto ACK mode and neglecting the RDY signal(i,e I changed the FB_TA pin mux option to another ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/17980i324166F55C24D55E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 11:39:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-BUS-interface-issue-MK66/m-p/612344#M36274</guid>
      <dc:creator>karthikas</dc:creator>
      <dc:date>2017-03-27T11:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Flex BUS interface issue.( MK66 )</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-BUS-interface-issue-MK66/m-p/612345#M36275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Karthik,&lt;/P&gt;&lt;P&gt;I do not know how you generate the FB_TA signal without the FB_CLK signal involved, for example, how to control the delay from falling edge of /CS to the falling edge of FB_TA signal. Anyway, you should assert the FB-TA signal from the risng edge of FB_CLK as the following figure. you can refer to the Altera or whatever for the VHDL code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16558iDB07BDB4980BCC39/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2017 08:34:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Flex-BUS-interface-issue-MK66/m-p/612345#M36275</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-03-29T08:34:58Z</dc:date>
    </item>
  </channel>
</rss>

