<?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: KL25 Timer interrupt never triggers in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279173#M10155</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;I have had a brief look through your question, I didn't realize the problem before I test your code.&lt;/P&gt;&lt;P&gt;So be patient and I'll reply as soon as possible after I figure out the problem.&lt;/P&gt;&lt;P&gt;Have a nice day！&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Feb 2014 09:21:08 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2014-02-17T09:21:08Z</dc:date>
    <item>
      <title>KL25 Timer interrupt never triggers</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279172#M10154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'm trying to setup an FRDM-KL25Z development board such that every x seconds it reads 14 analog voltages, packets them up and sends them via the UART to another device. However I am having a really confusing problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have set up a CodeWarrior project with Processor Expert with components for: Timer0, ADC0,&amp;nbsp; and UART0. It is set up so that the timer triggers an interrupt that then reads the 14 ADC channels, once it's done that it packets them up and send the data by UART. For debugging purposes I've also put little "start" and "end" &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;UART &lt;/SPAN&gt;messages at the very start and end of the interrupt response function to show it is actually entering the function. I never get "start" on my terminal display.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have also put "Got Here" in my main function to show that the code does run and this does actually get printed to the terminal.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'd really like to know what is going on here and why the code is not working. I've attached my code to help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks in advance.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Robert.&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-337620"&gt;Interrupt-Driven-ADC.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 14:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279172#M10154</guid>
      <dc:creator>robertk</dc:creator>
      <dc:date>2014-02-05T14:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: KL25 Timer interrupt never triggers</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279173#M10155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;I have had a brief look through your question, I didn't realize the problem before I test your code.&lt;/P&gt;&lt;P&gt;So be patient and I'll reply as soon as possible after I figure out the problem.&lt;/P&gt;&lt;P&gt;Have a nice day！&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 09:21:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279173#M10155</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-02-17T09:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: KL25 Timer interrupt never triggers</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279174#M10156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hi Robert,&lt;/P&gt;&lt;P&gt;I didn't found any code about timer trigger and reads 14 ADC channels in your project.&lt;/P&gt;&lt;P&gt;So I've like to suggest that you'd better to check the demo code you uploaded is right one.&lt;/P&gt;&lt;P&gt;I'm looking forward to your reply!&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 03:18:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279174#M10156</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-02-18T03:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: KL25 Timer interrupt never triggers</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279175#M10157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check in:&lt;/P&gt;&lt;P&gt;“...\Interrupt Driven ADC\Sources\” ?&lt;/P&gt;&lt;P&gt;I’ve edited 2 files in that folder:&lt;/P&gt;&lt;P&gt;ProcessorExpert.c, lines 59 to 65.&lt;/P&gt;&lt;P&gt;Events.c, lines 103 to 137 and lines 142 to 312&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought these were the right place to put code, however if it is not then I’m really in need of some guidance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 14:14:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279175#M10157</guid>
      <dc:creator>robertk</dc:creator>
      <dc:date>2014-02-19T14:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: KL25 Timer interrupt never triggers</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279176#M10158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;I've tested your demo code since yesterday. I corrected a few mistake and the interrupt could be triggered now. &lt;/P&gt;&lt;P&gt;Unfortunately it's not completely right, I could receive the message "start", however I couldn't recevie the the message "end".&lt;/P&gt;&lt;P&gt;I'm still confused about it now. So I've like to suggest it's ok that I offer you a demo code which could implement the same function without use LDD since I'm also not familar with LLD .&lt;/P&gt;&lt;P&gt;If your answer is ok, then let's us get over this problem by a new demo code.&lt;/P&gt;&lt;P&gt;I'm looking forwarding to your reply.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2014 08:07:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25-Timer-interrupt-never-triggers/m-p/279176#M10158</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2014-02-21T08:07:15Z</dc:date>
    </item>
  </channel>
</rss>

