<?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: [MKW01] LPTMR internal pullup in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734335#M44880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Giancarlo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have a KW01 to test on.&lt;BR /&gt;If you are reading the value back as expected and you are sure that there is no error in the measurement it would sound like it is not possible with that chip.&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;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2018 16:23:01 GMT</pubDate>
    <dc:creator>mjbcswitzerland</dc:creator>
    <dc:date>2018-04-13T16:23:01Z</dc:date>
    <item>
      <title>[MKW01] LPTMR internal pullup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734331#M44876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i'm using the LPTMR as a pulse counter, but the internal pull-up is not working in this mode.&lt;/P&gt;&lt;P&gt;The pin I'm using is the PTE17 - ALT6 (LPTMR0_ALT3), and the pullup works fine as a GPIO, but when I change the mux to ALT6 the pin goes floating.&lt;/P&gt;&lt;P&gt;Here's the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORT_HAL_SetPullMode(PORTE,17u,kPortPullUp);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORT_HAL_SetPullCmd(PORTE,17u,true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PORT_HAL_SetMuxMode(PORTE,17u,kPortMuxAlt6);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* PTE17 - ALT6 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With an external pullup it works fine, but I need to use the internal for my hardware.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 16:51:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734331#M44876</guid>
      <dc:creator>giancarlozanuz</dc:creator>
      <dc:date>2018-03-06T16:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: [MKW01] LPTMR internal pullup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734332#M44877</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;Maybe the PORT_HAL_SetMuxMode() is bad and clears the pull-up setting.&lt;BR /&gt;Try putting it first and see what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or just set &lt;BR /&gt;PORTE_PCR17 = 0x00000603; // (PORT_MUX_ALT6 | PORT_PS_UP_ENABLE)&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;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 18:16:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734332#M44877</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-03-06T18:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: [MKW01] LPTMR internal pullup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734333#M44878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mark,&lt;/P&gt;&lt;P&gt;Thanks for your reply, but it didn't work either. The pin is still floating around ~1V.&lt;/P&gt;&lt;P&gt;I have checked the register and it is correct (0x00000603), as you can see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="PTE17.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4765i8C74A5002A62F28B/image-size/large?v=v2&amp;amp;px=999" role="button" title="PTE17.PNG" alt="PTE17.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What else can it be?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 17:25:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734333#M44878</guid>
      <dc:creator>giancarlozanuz</dc:creator>
      <dc:date>2018-03-07T17:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: [MKW01] LPTMR internal pullup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734334#M44879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, should I assume this is not possible at all? Kind of disappointed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 12:10:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734334#M44879</guid>
      <dc:creator>giancarlozanuz</dc:creator>
      <dc:date>2018-04-13T12:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: [MKW01] LPTMR internal pullup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734335#M44880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Giancarlo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have a KW01 to test on.&lt;BR /&gt;If you are reading the value back as expected and you are sure that there is no error in the measurement it would sound like it is not possible with that chip.&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;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2018 16:23:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MKW01-LPTMR-internal-pullup/m-p/734335#M44880</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-04-13T16:23:01Z</dc:date>
    </item>
  </channel>
</rss>

