<?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: Software Serial/UART in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444455#M26191</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;For pin No. 15, 16 and 17 only with ADC function, there is no way to using software UART with those pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For K22 UART&amp;nbsp; supports Single-wire operation mode, the UART TX could be used as UART transmit and receive pin in a half-duplex working mode.&lt;/P&gt;&lt;P&gt;Please check below picture for the detailed info:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55997i09E167F544C553B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56044i76C1E9E6F4E26EF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56084i42318D5DDEF5FD9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 05:52:37 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2015-09-15T05:52:37Z</dc:date>
    <item>
      <title>Software Serial/UART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444451#M26187</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;We are using MK22Fx512 controller of Cortex-M4 series.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use ADC (Pin 15/16/17) as UART-Rx or UART Tx pin as UART Rx because I don't have any UART pin left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will anyone suggest me how I will go about it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Sep 2015 06:03:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444451#M26187</guid>
      <dc:creator>mayursavaj</dc:creator>
      <dc:date>2015-09-12T06:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial/UART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444452#M26188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can certainly implement a 'timer-banged' UART, ala' AN2637.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reception can use virtually any GPIO -- set a falling-edge trigger to grab the leading edge of the 'start bit', then set a timer for 'somewhat less' than 1/2 bit-time (to compensate for interrupt-response on this, and the subsequent bit-interrupt), thence on that interrupt re-sample 'start' and if valid set 9 more 'full bit' timer-interrupts in succession to sample the input pin to build up the byte, and end by checking 'stop'.&amp;nbsp; Variations in interrupt-response-time WILL affect the 'quality' of the 'center bit sampling'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sending is 'easier and better timed', but requires the use of a timer-output-pin.&amp;nbsp; For each bit to send, you just set the 'software triggered' output mode, at the bit-width, and on each interrupt you set the NEXT 'state to set at timer expiration' per the next output-bit value.&amp;nbsp; THIS interrupt-response time is 'relaxed' and only HAS to respond in less than a bit-time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 14:20:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444452#M26188</guid>
      <dc:creator>egoodii</dc:creator>
      <dc:date>2015-09-14T14:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial/UART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444453#M26189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Earl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MK22Fx512 is available in a number of packages and as far as I can tell (without being 100% sure though) the pins 15, 16 and 17 referred to are probably on a 64 pin part where they are exclusively ADC (no GPIO function).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mayur - could you be more specific as to the part number (specifically the pin-count) and which pins are actually being referred to?&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>Mon, 14 Sep 2015 22:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444453#M26189</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-09-14T22:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial/UART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444454#M26190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MK22FX512VLL12 of kinetic K series. It have 100 pin package.&lt;/P&gt;&lt;P&gt;Pin No 15, 16 and 17 is dedicated to exclusively ADC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can i use this pin as UART Rx? if yes than How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one more pin left UART Tx. Can i use UART-Tx as UART-Rx? if yes than How.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 04:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444454#M26190</guid>
      <dc:creator>mayursavaj</dc:creator>
      <dc:date>2015-09-15T04:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial/UART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444455#M26191</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;For pin No. 15, 16 and 17 only with ADC function, there is no way to using software UART with those pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For K22 UART&amp;nbsp; supports Single-wire operation mode, the UART TX could be used as UART transmit and receive pin in a half-duplex working mode.&lt;/P&gt;&lt;P&gt;Please check below picture for the detailed info:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/55997i09E167F544C553B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56044i76C1E9E6F4E26EF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/56084i42318D5DDEF5FD9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ma Hui&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 05:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444455#M26191</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2015-09-15T05:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Software Serial/UART</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444456#M26192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hui Ma,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 07:40:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Serial-UART/m-p/444456#M26192</guid>
      <dc:creator>mayursavaj</dc:creator>
      <dc:date>2015-09-19T07:40:48Z</dc:date>
    </item>
  </channel>
</rss>

