<?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: SPIMaster_LDD problem in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/SPIMaster-LDD-problem/m-p/176173#M397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From a quick look on the project, I haven't found any problem with SPI. However, there seem to be declared interrupts in Init_ADC, Init_PDB, Init_eDMA that have defined ISRs in Events.c. The interrupts are enabled but the handlers do not contain any code. This means that if any of these interrupts comes, the cpu gets stuck in endles loop because the interrupts flag is not cleared. For peripheral initialization components, clearing the flag is up to the user and I recommend to put the flag clearing code there or completely disable these components and try if the problem persists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also an example project available that you can check. It's available via welcome screen, using the menu Help &amp;gt; Welcome &amp;gt; Example projects &amp;gt; Processor Expert examples for Kinetis and select SPI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Petr Hradsky&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2012 20:19:14 GMT</pubDate>
    <dc:creator>ProcessorExpert</dc:creator>
    <dc:date>2012-07-04T20:19:14Z</dc:date>
    <item>
      <title>SPIMaster_LDD problem</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SPIMaster-LDD-problem/m-p/176170#M394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a problem with SPIMaster_LDD component. When I communicate with slave device, the received data is still zero. But I receve the data correctly only&amp;nbsp;&lt;SPAN style="line-height: 15px;"&gt;in debug mode&lt;/SPAN&gt;. I tried to check data communication on an osciloscope and everything is absolutely the same, in run even in debug mode. Program is written according to "help on component" for SPIMaster_LDD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for response.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 18:44:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SPIMaster-LDD-problem/m-p/176170#M394</guid>
      <dc:creator>waldes</dc:creator>
      <dc:date>2012-06-29T18:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: SPIMaster_LDD problem</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SPIMaster-LDD-problem/m-p/176171#M395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you post a sample project showing the problem?&lt;/P&gt;&lt;P&gt;What MCU and CodeWarrior version do you use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Petr Hradsky&lt;BR /&gt;Processor Expert Support and Servicepacks Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 20:06:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SPIMaster-LDD-problem/m-p/176171#M395</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-06-29T20:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: SPIMaster_LDD problem</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SPIMaster-LDD-problem/m-p/176172#M396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I use mcu kinetis MK20DX256ZVLL10 and CW10.2.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 20:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SPIMaster-LDD-problem/m-p/176172#M396</guid>
      <dc:creator>waldes</dc:creator>
      <dc:date>2012-06-29T20:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: SPIMaster_LDD problem</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/SPIMaster-LDD-problem/m-p/176173#M397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From a quick look on the project, I haven't found any problem with SPI. However, there seem to be declared interrupts in Init_ADC, Init_PDB, Init_eDMA that have defined ISRs in Events.c. The interrupts are enabled but the handlers do not contain any code. This means that if any of these interrupts comes, the cpu gets stuck in endles loop because the interrupts flag is not cleared. For peripheral initialization components, clearing the flag is up to the user and I recommend to put the flag clearing code there or completely disable these components and try if the problem persists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also an example project available that you can check. It's available via welcome screen, using the menu Help &amp;gt; Welcome &amp;gt; Example projects &amp;gt; Processor Expert examples for Kinetis and select SPI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Petr Hradsky&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 20:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/SPIMaster-LDD-problem/m-p/176173#M397</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-07-04T20:19:14Z</dc:date>
    </item>
  </channel>
</rss>

