<?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のトピックK70 Flexbus Problem - Bus Faults</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184310#M1925</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have setup the Flexbus to read from a 16bit ADC. I am using AD0-AD15 and one chip select (CS1). I don't mind that it is multiplexed because I was thinking the RD line would just get the data at the correct part of the read cycle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Processor Expert.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set the Flexbus up with a base address of ox60000000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PE Automatically enables the clock to the FlexBus, or so it seems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to read with something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uint16Val = *((uint16 *)0x60000000)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;uint32Val = *((uint32 *)0x60000000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a bus fault. I can't figure out what I am doing wrong. Please Advise!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2012 23:39:22 GMT</pubDate>
    <dc:creator>crezyoz</dc:creator>
    <dc:date>2012-07-30T23:39:22Z</dc:date>
    <item>
      <title>K70 Flexbus Problem - Bus Faults</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184310#M1925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have setup the Flexbus to read from a 16bit ADC. I am using AD0-AD15 and one chip select (CS1). I don't mind that it is multiplexed because I was thinking the RD line would just get the data at the correct part of the read cycle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using Processor Expert.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set the Flexbus up with a base address of ox60000000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PE Automatically enables the clock to the FlexBus, or so it seems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I attempt to read with something like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;uint16Val = *((uint16 *)0x60000000)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;uint32Val = *((uint32 *)0x60000000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a bus fault. I can't figure out what I am doing wrong. Please Advise!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 23:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184310#M1925</guid>
      <dc:creator>crezyoz</dc:creator>
      <dc:date>2012-07-30T23:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Flexbus Problem - Bus Faults</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184311#M1926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;update..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that the K70 Ref Manual depicts 0x90000000 as an external FlexBus memory area. Not 0x60000000 as the P.E. allows. Also, apparently 0xA0000000 is available as a slave device area.. not executable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I checked the SIM registers and indeed the FlexBus is being clocked at 30Mhz and the clock gate is ON.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still.. no matter what I do I can NOT acces the Flexbus address range without a Bus Fault.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still in dire need of help on this. So frustrating that I can not get ANY repsonses to my posts here. I attempted to get a Freescale tech support person over the phone as well.&amp;nbsp; I may just have to switch to a different processor with better support. All three of my current projects were based on the K70 / K20 devices but this isn't funny.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 07:16:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184311#M1926</guid>
      <dc:creator>crezyoz</dc:creator>
      <dc:date>2012-07-31T07:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Flexbus Problem - Bus Faults</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184312#M1927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried doing a search on this board using "flexbus"? There have been a number of threads covering Kinetic Flexbus issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 19:58:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184312#M1927</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2012-07-31T19:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Flexbus Problem - Bus Faults</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184313#M1928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ha! Yeah.. for 2 days. There isn't a single post on the internet regarding the FlexBus that mentions Bus Faults related to CS1. Not Anywhere. I think there is only ONE regarding the FlexBus and Processor Expert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks though.. gave me a chuckle. ! Duh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still need an answer to this but I found that by clearing the bits in GROUP1's register of the FB_CSPMCR the fault would stop occuring .&amp;nbsp; Using the same base address and memory block for the other chip selects did NOT yield a bus fault then attempting to access the bus. That can't work though because it sets the multiplexing for CS1 to FB_ALE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would have been nice to get some help from Freescale on this one. But not a peep.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 21:02:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184313#M1928</guid>
      <dc:creator>crezyoz</dc:creator>
      <dc:date>2012-07-31T21:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Flexbus Problem - Bus Faults</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184314#M1929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Freescale says you must have CS0 enabled no matter which other CSx you are using or you will get a bus fault. I couldn't find that documented. Perhaps you pros know that or understand it as a result of other parts of the architecture but it was a very helpful note from Freescale.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still trying to determine, though, if I can attach a 16 bit device to the FlexBus and acquire 16 bit shorts with single reads form the device. THis is a 6 channel ADC which increments its internal buffer pointer with each _RD signal. I think the Flexbus is reading 16 bits as two bytes though I don't have BWEs enabled. Still working it..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 03:22:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184314#M1929</guid>
      <dc:creator>crezyoz</dc:creator>
      <dc:date>2012-08-01T03:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Flexbus Problem - Bus Faults</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184315#M1930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/83738#83738" title="https://community.freescale.com/message/83738#83738"&gt;https://community.freescale.com/message/83738#83738&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 20:05:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184315#M1930</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2012-08-01T20:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: K70 Flexbus Problem - Bus Faults</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184316#M1931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! One of the firsts post I read 3 days ago. Not related to my problem.&amp;nbsp; That coder was using the wrong cast to access the port. I saw everything there is online. Everything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 21:38:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-Flexbus-Problem-Bus-Faults/m-p/184316#M1931</guid>
      <dc:creator>crezyoz</dc:creator>
      <dc:date>2012-08-01T21:38:04Z</dc:date>
    </item>
  </channel>
</rss>

