<?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: FRDM-KL46Z serial_LDD problem in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261023#M8085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 May 2015 14:27:37 GMT</pubDate>
    <dc:creator>russellsher</dc:creator>
    <dc:date>2015-05-17T14:27:37Z</dc:date>
    <item>
      <title>FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261016#M8078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just get my first Kinetis and I'm trying to initiate serial communication with a Real term.&lt;/P&gt;&lt;P&gt;I start a new project with Processor expert and select the UART0 as a serial_LDD components and&amp;nbsp; I set all the parameters ( Pin affectation, baud rate , interrupt disabled for polling and automatic code generation).&lt;/P&gt;&lt;P&gt;Then I generate the code and modify the main code with the components example , here below&amp;nbsp; the code associated&amp;nbsp; :&lt;/P&gt;&lt;P&gt;With this code I cannot get any communication with my real term and the AS2 seems to return a ERR_BSUY.&lt;/P&gt;&lt;P&gt;Could you explain me what I'm doing wrong and How could I get communication running between my real term and the Kinetis micro.&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="KL46Z_bis.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42204iACE79649E5B54207/image-size/large?v=v2&amp;amp;px=999" role="button" title="KL46Z_bis.png" alt="KL46Z_bis.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 13:50:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261016#M8078</guid>
      <dc:creator>r58737</dc:creator>
      <dc:date>2013-12-13T13:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261017#M8079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philippe Calmettes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you upload your project? I would like to help you to test it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And I want to know what the real term is ? I think you can communicate with the serial terminal at first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 01:37:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261017#M8079</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2013-12-16T01:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261018#M8080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philippe Calmettes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; As you said, I use the PE make a project.Select the UART0 as a serial_LDD components to communicate with the serial terminal, the baud rate is 9600bps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The function is when receive"e",then send "Hello world\n", and brink the red led on the KL46 board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I already test it, and the result is correct!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The attachment is my project, for your reference!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I wish it helps you!&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2013 06:17:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261018#M8080</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2013-12-16T06:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261019#M8081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the support.&lt;/P&gt;&lt;P&gt;I have tried your example and it works .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 08:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261019#M8081</guid>
      <dc:creator>r58737</dc:creator>
      <dc:date>2013-12-17T08:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261020#M8082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philippe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You are welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 08:34:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261020#M8082</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2013-12-17T08:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261021#M8083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing thank-you for your help - I have also tried your helpful code.&lt;/P&gt;&lt;P&gt;Can I ask you please:&lt;/P&gt;&lt;P&gt;If I send:&amp;nbsp; error = AS1_SendBlock(MySerialPtr, OutData, sizeof(OutData)); /* Send block of characters */&lt;/P&gt;&lt;P&gt;It prints the "Hello world" correctly&lt;/P&gt;&lt;P&gt;If I want to send another Hello World straight after this, I can't just send another AS1_Sendblock...&lt;/P&gt;&lt;P&gt;(It only shows the first one) -- must I wait for completion using AS1_OnBlockSent(LDD_TUserData *UserDataPtr);&lt;/P&gt;&lt;P&gt;I'm not quite sure to use it.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Russell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 19:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261021#M8083</guid>
      <dc:creator>russellsher</dc:creator>
      <dc:date>2015-05-09T19:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261022#M8084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Russel,&lt;/P&gt;&lt;P&gt;enable interrupts and buffers in the component:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9257iC0D469256833893B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;That way you can send a block up to the buffer size.&lt;/P&gt;&lt;P&gt;otherwise check the return code/value of SendBlock(): if not ERR_OK, then you would need to resend it because buffers were full.&lt;/P&gt;&lt;P&gt;Or check the number of characters in the Tx buffer first with GetCharsInTxBuf().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2015 06:18:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261022#M8084</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-05-10T06:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261023#M8085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 14:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261023#M8085</guid>
      <dc:creator>russellsher</dc:creator>
      <dc:date>2015-05-17T14:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261024#M8086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich&lt;/P&gt;&lt;P&gt;(I'm finally back after being away)&amp;nbsp; I tried your suggestion to enable the interrupts -- forgive my ignorance, but I can't see the Output buffer size option after selecting enable :&lt;/P&gt;&lt;P&gt;What have I forgotten?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32492iD263DBAA69D2E017/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I enable interrupts and compile, I get this: (no doubt due the incorrect configuration in my uart):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32585i681B726124A8FB7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;can you advise please? - thanks as always &lt;/P&gt;&lt;P&gt;Russell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 18:01:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261024#M8086</guid>
      <dc:creator>russellsher</dc:creator>
      <dc:date>2015-06-11T18:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261025#M8087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Russel,&lt;/P&gt;&lt;P&gt;have you generated code? That AS1_Main is used only if you are in polling mode.&lt;/P&gt;&lt;P&gt;The buffer size should show up. Are you already in Advanced/Expert mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 19:07:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261025#M8087</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-06-11T19:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: FRDM-KL46Z serial_LDD problem</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261026#M8088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok - so I hadn't generated code (somehow thought that building would take care of this at build/compile time)&lt;/P&gt;&lt;P&gt;Now that explains why I got the error but I'm still not seeing the input buffer size: Am I using the wrong uart component:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26166i6A462D7360803387/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;components window shows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26313iC1FAD2DA3F3892A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 16:24:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FRDM-KL46Z-serial-LDD-problem/m-p/261026#M8088</guid>
      <dc:creator>russellsher</dc:creator>
      <dc:date>2015-06-12T16:24:51Z</dc:date>
    </item>
  </channel>
</rss>

