<?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 KL03z LPUART &amp;amp; IrDA Questions in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03z-LPUART-amp-IrDA-Questions/m-p/1208343#M59281</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I plan to use 2 KL03z to transfer lpuart serial data between each other, one as a Transmitter and another as a Receiver. Since the KL03z has IrDA capability, I want to experiment with transferring serial data using IR LED from the transmitting KL03z to a photodiode on the receiving KL03z.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I'm using the lpuart_non_blocking example from ksdk 1.3 to debug serial communication from PC. Though it seems the lpuart is set in internal loopback mode. How can I change the mode to test loopback using a jumper from Tx to Rx pin?&lt;/P&gt;&lt;P&gt;For IrDA, I would need to know how to change the SIM_SOPT5 to set the Tx pin output to TPM_Ch0 and Rx pin to receive from CMP0.&lt;/P&gt;&lt;P&gt;But there haven't been many examples of an IrDA code for ksdk 1.3, so I'm still unsure how to change the SIM_SOPT5 and the correct TPM or CMP initialization. Can anybody give a pointer?&lt;/P&gt;&lt;P&gt;I am also curious about the part number of the lpuart module that the KL03z uses. To check which voltage level it considers TTL high or low.&lt;/P&gt;&lt;P&gt;I appreciate any help or guidance. Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jan 2021 13:56:23 GMT</pubDate>
    <dc:creator>SantoRy</dc:creator>
    <dc:date>2021-01-07T13:56:23Z</dc:date>
    <item>
      <title>KL03z LPUART &amp; IrDA Questions</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03z-LPUART-amp-IrDA-Questions/m-p/1208343#M59281</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I plan to use 2 KL03z to transfer lpuart serial data between each other, one as a Transmitter and another as a Receiver. Since the KL03z has IrDA capability, I want to experiment with transferring serial data using IR LED from the transmitting KL03z to a photodiode on the receiving KL03z.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, I'm using the lpuart_non_blocking example from ksdk 1.3 to debug serial communication from PC. Though it seems the lpuart is set in internal loopback mode. How can I change the mode to test loopback using a jumper from Tx to Rx pin?&lt;/P&gt;&lt;P&gt;For IrDA, I would need to know how to change the SIM_SOPT5 to set the Tx pin output to TPM_Ch0 and Rx pin to receive from CMP0.&lt;/P&gt;&lt;P&gt;But there haven't been many examples of an IrDA code for ksdk 1.3, so I'm still unsure how to change the SIM_SOPT5 and the correct TPM or CMP initialization. Can anybody give a pointer?&lt;/P&gt;&lt;P&gt;I am also curious about the part number of the lpuart module that the KL03z uses. To check which voltage level it considers TTL high or low.&lt;/P&gt;&lt;P&gt;I appreciate any help or guidance. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2021 13:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03z-LPUART-amp-IrDA-Questions/m-p/1208343#M59281</guid>
      <dc:creator>SantoRy</dc:creator>
      <dc:date>2021-01-07T13:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: KL03z LPUART &amp; IrDA Questions</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03z-LPUART-amp-IrDA-Questions/m-p/1210577#M59317</link>
      <description>&lt;P&gt;Vishay still makes IrDA modules:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.vishay.com/ir-transceivers/" target="_blank"&gt;https://www.vishay.com/ir-transceivers/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Using a regular IR LED will not have the recommended eye safety technology that the modules have.&lt;BR /&gt;&lt;BR /&gt;The KSDK is no longer recommended in favor of MCUXpresso.&lt;BR /&gt;It may have a better example.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've not used the KL03 so, alas, can't speak the rest of your questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 19:19:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03z-LPUART-amp-IrDA-Questions/m-p/1210577#M59317</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2021-01-12T19:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: KL03z LPUART &amp; IrDA Questions</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03z-LPUART-amp-IrDA-Questions/m-p/1212132#M59346</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181305"&gt;@SantoRy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As Bob pointed out,&amp;nbsp; the KSDK is no longer recommend,&amp;nbsp; you may shift to the MCUxpresso SDK. As much I would like to share a ilustrative example, &amp;nbsp; unfortunately , we do not have any irDA example using the KL03Z MCUs in our most recent SDK.&lt;/P&gt;
&lt;P&gt;Also, there are application demos using the TPM and a ACMP for infrared communication. Altougth they are made for legacy technologies you may check them as a reference.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN3938.pdf" target="_self"&gt;Using the MCF51EM Family for Infrared Communication&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4115.pdf" target="_self"&gt;IrDA Driver and SD Card File System on MM/JE Flexis Families&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Of course, there are implementations of the irDA for the KE and KM families , however this series of MCUs use a more advance&amp;nbsp; peripherals like the Flextimer, which&amp;nbsp; is continuation of the TPM timer.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Implementing-infrared-functions-on-UART0-with-FRDM-KE02Z/ta-p/1114427" target="_self"&gt;Implementing infrared functions on UART0 with&amp;nbsp; FRDM-KE02Z platform.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regarding your questions&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You can enable loop test using the&amp;nbsp; LPUARTx_CTRL [LOOPS] and [RSRC} bits.&lt;/LI&gt;
&lt;LI&gt;In the following post, you will find general details of the the application with the same MCU : &lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03-IRDA-support/m-p/796738" target="_self"&gt;KL03Z IrDA support&amp;nbsp;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;UART pins are digital. So the operation voltage depends on VDD voltage value. The VDD can go up to 3.6v as mentioned in the KL03Z datasheet table 8.&amp;nbsp; You can check the following post as reference:&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Inputs-of-KL03-5V-tolerant/td-p/571148" target="_self"&gt; KL03Z inputs of KL03Z 5V tolerant&lt;/A&gt;?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many apologies for the delay!&amp;nbsp; I hope this information could help you.&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 04:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL03z-LPUART-amp-IrDA-Questions/m-p/1212132#M59346</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-01-15T04:51:49Z</dc:date>
    </item>
  </channel>
</rss>

