<?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中的主题 KW40Z FRDM board - BLE not works after enabling PWM</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-FRDM-board-BLE-not-works-after-enabling-PWM/m-p/830367#M50204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Im using KW40Z freedom&amp;nbsp; board , i m using KW40Z_Connectivity_Software_1.0.1 with SDK 1.3.0&lt;/P&gt;&lt;P&gt;I cloned the project of Bluetooth wireless uart demo. It works fine im able to send and receive data via "IoT Toolbox " android app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Later , i added new PWM module to the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;configure_tpm_pins(TPM0_IDX);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TPM_DRV_Init(TPM0_IDX,&amp;amp;pwm_gconfig);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TPM_DRV_SetClock(TPM0_IDX, kTpmClockSourceModuleClk, kTpmDividedBy2);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TPM_DRV_PwmStart(TPM0_IDX,&amp;amp;param1,1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;PWM is using LED4 (PTC0) so i removed LED4 GPIO init from LED module. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested PWM alone and works fine. after integrating to the&lt;EM&gt; "Bluetooth wireless uart demo"&amp;nbsp;&amp;nbsp; BLE stoped working not advertising.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Any idea ? please help on this asap.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ashok r&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Sep 2018 13:37:25 GMT</pubDate>
    <dc:creator>ashokfair</dc:creator>
    <dc:date>2018-09-16T13:37:25Z</dc:date>
    <item>
      <title>KW40Z FRDM board - BLE not works after enabling PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-FRDM-board-BLE-not-works-after-enabling-PWM/m-p/830367#M50204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Im using KW40Z freedom&amp;nbsp; board , i m using KW40Z_Connectivity_Software_1.0.1 with SDK 1.3.0&lt;/P&gt;&lt;P&gt;I cloned the project of Bluetooth wireless uart demo. It works fine im able to send and receive data via "IoT Toolbox " android app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Later , i added new PWM module to the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;configure_tpm_pins(TPM0_IDX);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TPM_DRV_Init(TPM0_IDX,&amp;amp;pwm_gconfig);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TPM_DRV_SetClock(TPM0_IDX, kTpmClockSourceModuleClk, kTpmDividedBy2);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;TPM_DRV_PwmStart(TPM0_IDX,&amp;amp;param1,1);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;PWM is using LED4 (PTC0) so i removed LED4 GPIO init from LED module. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested PWM alone and works fine. after integrating to the&lt;EM&gt; "Bluetooth wireless uart demo"&amp;nbsp;&amp;nbsp; BLE stoped working not advertising.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Any idea ? please help on this asap.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Ashok r&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Sep 2018 13:37:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-FRDM-board-BLE-not-works-after-enabling-PWM/m-p/830367#M50204</guid>
      <dc:creator>ashokfair</dc:creator>
      <dc:date>2018-09-16T13:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: KW40Z FRDM board - BLE not works after enabling PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-FRDM-board-BLE-not-works-after-enabling-PWM/m-p/830368#M50205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PWM works now by changing module to TPM1 from TPM0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;configure_tpm_pins(TPM1_IDX);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;TPM_DRV_Init(TPM1_IDX,&amp;amp;pwm_gconfig);&lt;BR /&gt;TPM_DRV_SetClock(TPM1_IDX, kTpmClockSourceModuleClk, kTpmDividedBy2);&lt;/P&gt;&lt;P&gt;TPM_DRV_PwmStart(TPM1_IDX,&amp;amp;param1,0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PTC4, PTC5 are PWM output pins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 14:49:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KW40Z-FRDM-board-BLE-not-works-after-enabling-PWM/m-p/830368#M50205</guid>
      <dc:creator>ashokfair</dc:creator>
      <dc:date>2018-09-17T14:49:45Z</dc:date>
    </item>
  </channel>
</rss>

