<?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: MK60DN512VMD10 flexbus problem</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60DN512VMD10-flexbus-problem/m-p/241341#M5963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because MCF52259 and Kinetis K60 are pretty different I suggest you to avoid porting an use solutions designed specifically for Kinetis, you will optimize functionality of your device working on the specific solutions for it.&lt;/P&gt;&lt;P&gt;You can download the application note AN4346 Designing a Working Prototype using MQX™ RTOS and Tower System for Kinetis Microcontrollers in&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4346.pdf?&amp;amp;Parent_nodeId=&amp;amp;Parent_pageType="&gt; this link&lt;/A&gt; and you can also download software related to this application note&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4346_SW.exe"&gt; here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 15:50:10 GMT</pubDate>
    <dc:creator>perlam_i_au</dc:creator>
    <dc:date>2014-02-04T15:50:10Z</dc:date>
    <item>
      <title>MK60DN512VMD10 flexbus problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60DN512VMD10-flexbus-problem/m-p/241340#M5962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to migrate LCD code from MCF52259 to Kinetis platform.I used&lt;/P&gt;&lt;P&gt;Kinetis sample flexbus code for K60 but it did not work.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using UC1611s LCD driver, 8 data pins, fb_ad16 for&lt;/P&gt;&lt;P&gt;command/data,output enable, rw and chip select(cs0) as I guess.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached Flexbus init routine for MCF52259 in MCF52259flexbusinit.txt,&lt;/P&gt;&lt;P&gt;for k60 in k60flexbusinit.txt.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I defined MRAM_START_ADDRESS according to k60 reference manual as below:&lt;/P&gt;&lt;P&gt;#define MRAM_START_ADDRESS&amp;nbsp; (&lt;STRONG&gt;(volatile unsigned char&lt;/STRONG&gt;)(0x60000000))&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In MCF52259, DMA initialization is done as follows:&lt;/P&gt;&lt;P&gt;void initDMA()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_SCM_RAMBAR |= MCF_SCM_RAMBAR_BDE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_SRAM_RAMBAR |= (0x0001 &amp;lt;&amp;lt; 9);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_DMA0_DCR = MCF_DMA_DCR_SINC |&lt;/P&gt;&lt;P&gt;MCF_DMA_DCR_SSIZE(MCF_DMA_DCR_SSIZE_BYTE) |&lt;/P&gt;&lt;P&gt;MCF_DMA_DCR_DSIZE(MCF_DMA_DCR_DSIZE_BYTE);&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_DMA0_SAR =&amp;nbsp; (uint32)&amp;amp;displayBuffer;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_DMA0_DAR = 0x80010000;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MCF_DMA0_BCR = MCF_DMA_BCR_BCR(240);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sPutUART((uint8*)"ECHO DMA ok \r\n");&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could not find how to enable backdoor (BDE) in k60, it allows DMA to&lt;/P&gt;&lt;P&gt;reach SRAM and I don't know if it can be related to flexbus problem.I tried&lt;/P&gt;&lt;P&gt;to write and read data via flexbus but I read same values from adress that&lt;/P&gt;&lt;P&gt;means I can not write anything?!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;İlke Akgöl&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcloud.entes.com.tr%2F%255C%255Cwww.entes.com.tr%255C" rel="nofollow" target="_blank"&gt;http://cloud.entes.com.tr/%5C%5Cwww.entes.com.tr%5C&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337638"&gt;MCF52259flexbusinit.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337638"&gt;k60flexbusinit.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 08:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60DN512VMD10-flexbus-problem/m-p/241340#M5962</guid>
      <dc:creator>ilkea</dc:creator>
      <dc:date>2014-01-17T08:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: MK60DN512VMD10 flexbus problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60DN512VMD10-flexbus-problem/m-p/241341#M5963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because MCF52259 and Kinetis K60 are pretty different I suggest you to avoid porting an use solutions designed specifically for Kinetis, you will optimize functionality of your device working on the specific solutions for it.&lt;/P&gt;&lt;P&gt;You can download the application note AN4346 Designing a Working Prototype using MQX™ RTOS and Tower System for Kinetis Microcontrollers in&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4346.pdf?&amp;amp;Parent_nodeId=&amp;amp;Parent_pageType="&gt; this link&lt;/A&gt; and you can also download software related to this application note&lt;A href="http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4346_SW.exe"&gt; here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 15:50:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK60DN512VMD10-flexbus-problem/m-p/241341#M5963</guid>
      <dc:creator>perlam_i_au</dc:creator>
      <dc:date>2014-02-04T15:50:10Z</dc:date>
    </item>
  </channel>
</rss>

