<?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: KL25Z: How to know when a byte is arrived via serial connection in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-How-to-know-when-a-byte-is-arrived-via-serial-connection/m-p/412082#M23345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the OnBlockReceived() event for this. But I recommend that you probably better use the AsynchroSerial component which is easier to use, and has as well an OnRxChar() event you could use.&lt;/P&gt;&lt;P&gt;If you are not sure how to use the events and methods: there is help available, see &lt;A href="http://mcuoneclipse.com/2012/11/12/getting-help-on-processor-expert-components/" title="http://mcuoneclipse.com/2012/11/12/getting-help-on-processor-expert-components/"&gt;Getting Help on Processor Expert Components | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Nov 2015 19:17:24 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2015-11-14T19:17:24Z</dc:date>
    <item>
      <title>KL25Z: How to know when a byte is arrived via serial connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-How-to-know-when-a-byte-is-arrived-via-serial-connection/m-p/412080#M23343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm just beginning to work with KL25Z and the beginning is quite difficult. I work with Kinetis DesignStudio.&lt;/P&gt;&lt;P&gt;My program has to received order via serial connection, but also makes different things. On my arduino UNO32, I had just to test a flag to know that a byte is ready to be read, or better an interrupt, but with the KL25Z, I don't knnow how to do that. My first idea was to use the Serial_LDD component, but there is no event for 'byte ready to be read'. Have you a simple solution?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 09:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-How-to-know-when-a-byte-is-arrived-via-serial-connection/m-p/412080#M23343</guid>
      <dc:creator>michelmeunier</dc:creator>
      <dc:date>2015-11-14T09:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z: How to know when a byte is arrived via serial connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-How-to-know-when-a-byte-is-arrived-via-serial-connection/m-p/412081#M23344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Serial_LDD component probably has a callback - it may be dummy and need to be filled out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the KL25 and KDS you can however get an optimised solution at this link: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/FRDM-KL25Z.html" rel="nofollow"&gt;http://www.utasker.com/kinetis/FRDM-KL25Z.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your task will be scheduled on any UART reception and it allows you to use interrupt or DMA modes.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The UART interface is documented at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/docs/uTasker/uTaskerUART.PDF" rel="nofollow"&gt;http://www.utasker.com/docs/uTasker/uTaskerUART.PDF&lt;/A&gt;&lt;SPAN&gt;. The complete operation (including interrupts and DMA) can be simulated in the uTasker KL25 simulator in approx. real-time so you can monitor the peripheral operation and develop and test the software with a UART peer without needing any hardware.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the same interface (as UART) you can also communication over USB-CDC or operate in USB-CDC to UART bridge mode.&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>Sat, 14 Nov 2015 18:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-How-to-know-when-a-byte-is-arrived-via-serial-connection/m-p/412081#M23344</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-11-14T18:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: KL25Z: How to know when a byte is arrived via serial connection</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-How-to-know-when-a-byte-is-arrived-via-serial-connection/m-p/412082#M23345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the OnBlockReceived() event for this. But I recommend that you probably better use the AsynchroSerial component which is easier to use, and has as well an OnRxChar() event you could use.&lt;/P&gt;&lt;P&gt;If you are not sure how to use the events and methods: there is help available, see &lt;A href="http://mcuoneclipse.com/2012/11/12/getting-help-on-processor-expert-components/" title="http://mcuoneclipse.com/2012/11/12/getting-help-on-processor-expert-components/"&gt;Getting Help on Processor Expert Components | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 19:17:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL25Z-How-to-know-when-a-byte-is-arrived-via-serial-connection/m-p/412082#M23345</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-11-14T19:17:24Z</dc:date>
    </item>
  </channel>
</rss>

