<?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: FlexBus Chip Selects Not Routed To Pins in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-Chip-Selects-Not-Routed-To-Pins/m-p/390434#M21255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply to my question.&amp;nbsp; I think I understand what you are saying.&amp;nbsp; If I don't decode all of the high-order address lines, it is possible that the FPGA might think it is being addressed when in fact it was another address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was assuming that the only addresses on the FlexBus were ones meant for the FlexBus.&amp;nbsp; I still think that is probably true for security reasons.&amp;nbsp; Addresses for internal flash memory or SRAM accesses should not be visible on the FlexBus, otherwise a hacker could gain knowledge about what is going on inside of the chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FPGA will only look at addresses when ALE is high.&amp;nbsp; You are correct I will not be decoding all 32 address lines.&amp;nbsp; Do you know if the FlexBus ever drives ALE and addresses not meant for the FlexBus?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2014 07:44:22 GMT</pubDate>
    <dc:creator>gcary</dc:creator>
    <dc:date>2014-10-20T07:44:22Z</dc:date>
    <item>
      <title>FlexBus Chip Selects Not Routed To Pins</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-Chip-Selects-Not-Routed-To-Pins/m-p/390432#M21253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having difficulty squeezing in all of the peripherals I need into a K60 design.&amp;nbsp; I am using the FlexBus, which consumes a lot of pins.&amp;nbsp; I'm down to just a couple of pins that have conflicting assignments.&amp;nbsp; Do FlexBus chip selects need to be routed to a pin?&amp;nbsp; I don't need a chip select pin because the FlexBus is interfacing to an FPGA.&amp;nbsp; The FPGA will decode the address and know how to behave, so it doesn't need the chip select.&amp;nbsp; I need 2 chip selects because I will have two functions in the FPGA and each will have different timings.&amp;nbsp; Chip selects control a number of FlexBus parameters, such as wait states, port size, Byte-lane shift, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if I'm wrong about not needing the chip select signal.&amp;nbsp; ALE signifies the start of a cycle.&amp;nbsp; After one word is written in a write cycle, the FPGA will end the cycle internally and begin look for ALE to be asserted again.&amp;nbsp; For read cycles, the OE_n signal has the same timing as the chip select.&amp;nbsp; So no chip select is needed for reading or writing. All of the transfers will be single-word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Oct 2014 03:51:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-Chip-Selects-Not-Routed-To-Pins/m-p/390432#M21253</guid>
      <dc:creator>gcary</dc:creator>
      <dc:date>2014-10-15T03:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: FlexBus Chip Selects Not Routed To Pins</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-Chip-Selects-Not-Routed-To-Pins/m-p/390433#M21254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Gcary,&lt;/P&gt;&lt;P&gt;whether you need to connect the /CSx signal to FPGA is dependent on the address connection, I think it is necessary to connect the /CS pin to FPGA.&lt;/P&gt;&lt;P&gt;After you connect the /CS pin, you are not required to connect all 32 address pins to FPGA, for example, assume that the FPGA includes 256 Bytes, in the case, you just connect the FB_A0~FB_A7 address and one /CSx, it is okay, the High address from A8~A31 are not required to be connected. If you do not connect /CSx, you have to use High address to decode the chip select by FPGA itself, obviously, you need more high address pins besides the FB_A0~A7 pins. There is a FB_CSARn register of FlexBUS, which can specify the high address.&lt;/P&gt;&lt;P&gt;Regarding the FB_ALE, in order to reduce the FlexBUS pins number, some data and address pins are multiplexed, when the FB-ALE is high, the pins are address pins, user have to use a latch to lock the address for example 74HC373, you can make the FPGA as a latch.&amp;nbsp; when the FB_ALE is low, the pins are data bus.&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 07:20:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-Chip-Selects-Not-Routed-To-Pins/m-p/390433#M21254</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2014-10-20T07:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: FlexBus Chip Selects Not Routed To Pins</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-Chip-Selects-Not-Routed-To-Pins/m-p/390434#M21255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply to my question.&amp;nbsp; I think I understand what you are saying.&amp;nbsp; If I don't decode all of the high-order address lines, it is possible that the FPGA might think it is being addressed when in fact it was another address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was assuming that the only addresses on the FlexBus were ones meant for the FlexBus.&amp;nbsp; I still think that is probably true for security reasons.&amp;nbsp; Addresses for internal flash memory or SRAM accesses should not be visible on the FlexBus, otherwise a hacker could gain knowledge about what is going on inside of the chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FPGA will only look at addresses when ALE is high.&amp;nbsp; You are correct I will not be decoding all 32 address lines.&amp;nbsp; Do you know if the FlexBus ever drives ALE and addresses not meant for the FlexBus?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2014 07:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-Chip-Selects-Not-Routed-To-Pins/m-p/390434#M21255</guid>
      <dc:creator>gcary</dc:creator>
      <dc:date>2014-10-20T07:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: FlexBus Chip Selects Not Routed To Pins</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-Chip-Selects-Not-Routed-To-Pins/m-p/390435#M21256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Gcary,&lt;/P&gt;&lt;P&gt;sorry for the delay.&lt;/P&gt;&lt;P&gt;Regarding your question, pls refer to the section 4.2 System memory map in K60 reference manual.&lt;/P&gt;&lt;P&gt;0x6000_0000–0x6FFF_FFFF Flexbus (External memory - Write-back) All masters S4&lt;/P&gt;&lt;P&gt;0x9000_0000–0x9FFF_FFFF FlexBus (External memory - Write-through) All masters S4&lt;/P&gt;&lt;P&gt;0xA000_0000–0xDFFF_FFFF FlexBus (External peripheral - not executable) All masters S4&lt;/P&gt;&lt;P&gt;If you access the above space, the FlexBUS will generate the signals to access external memory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2014 05:31:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FlexBus-Chip-Selects-Not-Routed-To-Pins/m-p/390435#M21256</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2014-10-21T05:31:00Z</dc:date>
    </item>
  </channel>
</rss>

