<?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のトピックRe: FLEXBUS 16 bit data path, write to 8 bits only.</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FLEXBUS-16-bit-data-path-write-to-8-bits-only/m-p/628220#M37745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Dennis,&lt;/P&gt;&lt;P&gt;First of all, let's discuss the SRAM connection, you connect the 2M*16bits SRAM with nonmultiplexed mode, you can connect the address FB_AD_16~FB_AD31 to the SRAM data bus, connect the FB_AD1~15,FB_A16~FB_A21 to the A0~A20 of the SRAM address, in order to access in byte mode, you have to connect the BHE and BLE pin of SRAM to&amp;nbsp; FB_BE_31_24 and FB_BE_23_16 pin, connect the WR and RD to FB_R/W and FB_OE, it is okay.&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>Fri, 21 Apr 2017 04:03:58 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2017-04-21T04:03:58Z</dc:date>
    <item>
      <title>FLEXBUS 16 bit data path, write to 8 bits only.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FLEXBUS-16-bit-data-path-write-to-8-bits-only/m-p/628219#M37744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a K64's Flexbus to access a 2Mx16 SRAM and a 2Mx16 NandFlash part. I set it up for 16 bit data and a non-multiplexed address bus of 21 bits. What will happen if my code tries to access a variable that is only 8 bits, or a 16 or 32 bit variable that is not aligned to the 16 bit address? Do I have to use an SRAM that has the BHE and BLE inputs to be abe to do a write to a byte variable without affecting the other byte in the 16 bit memory location?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 15:27:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FLEXBUS-16-bit-data-path-write-to-8-bits-only/m-p/628219#M37744</guid>
      <dc:creator>denniskelley</dc:creator>
      <dc:date>2017-04-20T15:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXBUS 16 bit data path, write to 8 bits only.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FLEXBUS-16-bit-data-path-write-to-8-bits-only/m-p/628220#M37745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Dennis,&lt;/P&gt;&lt;P&gt;First of all, let's discuss the SRAM connection, you connect the 2M*16bits SRAM with nonmultiplexed mode, you can connect the address FB_AD_16~FB_AD31 to the SRAM data bus, connect the FB_AD1~15,FB_A16~FB_A21 to the A0~A20 of the SRAM address, in order to access in byte mode, you have to connect the BHE and BLE pin of SRAM to&amp;nbsp; FB_BE_31_24 and FB_BE_23_16 pin, connect the WR and RD to FB_R/W and FB_OE, it is okay.&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>Fri, 21 Apr 2017 04:03:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FLEXBUS-16-bit-data-path-write-to-8-bits-only/m-p/628220#M37745</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-04-21T04:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXBUS 16 bit data path, write to 8 bits only.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FLEXBUS-16-bit-data-path-write-to-8-bits-only/m-p/628221#M37746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, but why do I start with FB_AD1 and not FB_AD0 ?&amp;nbsp; Or is that just how the Flex_Bus works when you want to use the BHE and BLE to access bytes when needed?&amp;nbsp; How does the processor know when to do an 8 bit write using BHE or BLE instead of using both to do a 16 bit write?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 15:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FLEXBUS-16-bit-data-path-write-to-8-bits-only/m-p/628221#M37746</guid>
      <dc:creator>denniskelley</dc:creator>
      <dc:date>2017-04-21T15:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXBUS 16 bit data path, write to 8 bits only.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FLEXBUS-16-bit-data-path-write-to-8-bits-only/m-p/628222#M37747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp; Dennis,&lt;/P&gt;&lt;P&gt;As you know that the Kinetis is byte access, if you use 8 bits data width, you should start with FB_A0, If you use 16 bits data width, you should start with FB_A1, if you use 32 bits data width, you should start with FB_A2. in the above case, you can use FB_BEn to select the respsective byte.&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, 24 Apr 2017 08:40:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FLEXBUS-16-bit-data-path-write-to-8-bits-only/m-p/628222#M37747</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2017-04-24T08:40:05Z</dc:date>
    </item>
  </channel>
</rss>

