<?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 How to use the timer structure created in &amp;quot;thread_router_eligible_device&amp;quot; example. in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-timer-structure-created-in-quot-thread-router/m-p/788136#M47985</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;I am working with the "thread_router_eligible_device" example code on the FRDM-KW41Z board. I connected a buzzer to the A4 pin (PTB1) in the j4 header.&amp;nbsp;The buzzer circuit I installed is the same as the infrared led circuit in the FRDM-KW41Z-SCH schematic file (I put buzzer instead of LED).&amp;nbsp;However, for being I a bad software developer :smileysad:, I am having trouble with the software I wrote to run the buzzer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a reference, I first looked at the example simple_pwm and edited these codes to run the buzzer. However, these codes are not correct for use in the "thread_router_eligible_device" example. Because the code in the "thread_router_eligible_device" example has a much more complex structure and layout. For this,I think it would be the best example of LED codes to run the buzzer in the "thread_router_eligible_device" example. I studied the LED codes and tried to get a result, but it was a very difficult process and as a result I made sound.&amp;nbsp;But since this is a very bad code, the device did not work stable and always gives a hardfault error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I run the buzzer as a stable without disrupting the "thread_router_eligible_device" example code?&lt;/P&gt;&lt;P&gt;What are your recommendations? Which directives do I need to follow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66552i709416FECADBBA44/image-size/large?v=v2&amp;amp;px=999" role="button" title="18.PNG" alt="18.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2018 11:57:21 GMT</pubDate>
    <dc:creator>zafersen</dc:creator>
    <dc:date>2018-07-26T11:57:21Z</dc:date>
    <item>
      <title>How to use the timer structure created in "thread_router_eligible_device" example.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-timer-structure-created-in-quot-thread-router/m-p/788136#M47985</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;I am working with the "thread_router_eligible_device" example code on the FRDM-KW41Z board. I connected a buzzer to the A4 pin (PTB1) in the j4 header.&amp;nbsp;The buzzer circuit I installed is the same as the infrared led circuit in the FRDM-KW41Z-SCH schematic file (I put buzzer instead of LED).&amp;nbsp;However, for being I a bad software developer :smileysad:, I am having trouble with the software I wrote to run the buzzer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a reference, I first looked at the example simple_pwm and edited these codes to run the buzzer. However, these codes are not correct for use in the "thread_router_eligible_device" example. Because the code in the "thread_router_eligible_device" example has a much more complex structure and layout. For this,I think it would be the best example of LED codes to run the buzzer in the "thread_router_eligible_device" example. I studied the LED codes and tried to get a result, but it was a very difficult process and as a result I made sound.&amp;nbsp;But since this is a very bad code, the device did not work stable and always gives a hardfault error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I run the buzzer as a stable without disrupting the "thread_router_eligible_device" example code?&lt;/P&gt;&lt;P&gt;What are your recommendations? Which directives do I need to follow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66552i709416FECADBBA44/image-size/large?v=v2&amp;amp;px=999" role="button" title="18.PNG" alt="18.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2018 11:57:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-timer-structure-created-in-quot-thread-router/m-p/788136#M47985</guid>
      <dc:creator>zafersen</dc:creator>
      <dc:date>2018-07-26T11:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the timer structure created in "thread_router_eligible_device" example.</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-timer-structure-created-in-quot-thread-router/m-p/788137#M47986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that the best approach would be with the LEDs APIs as you are doing it, do you have an specific doubt about that ? Are you checking the LED flashing APIs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estephania&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2018 00:50:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-use-the-timer-structure-created-in-quot-thread-router/m-p/788137#M47986</guid>
      <dc:creator>stephanie_m</dc:creator>
      <dc:date>2018-08-01T00:50:32Z</dc:date>
    </item>
  </channel>
</rss>

