<?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>S32KのトピックRe: FlexIO uart Rx not getting any character?</title>
    <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856676#M3651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a test code for the S32K144 FlexIO UART using your code and code from AN12174. (see attachment)&lt;/P&gt;&lt;P&gt;The main issue in your code was in the wrong clock&amp;nbsp;select for the FlexIO. The&amp;nbsp;SIRCDIV2_CLK was selected, but the SIRC clock was not configurated.&lt;/P&gt;&lt;P&gt;The second thing was in the wrong configuration of PINSEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2019 16:32:11 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2019-03-28T16:32:11Z</dc:date>
    <item>
      <title>FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856674#M3649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dear Reader(s),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to modify the FlexIO UART Tx demo program to include the Rx function, however I am getting any character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would very much like to get some helps with my modifications, please see the attached files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Kevin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2019 20:59:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856674#M3649</guid>
      <dc:creator>klau</dc:creator>
      <dc:date>2019-03-26T20:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856675#M3650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi Dear Reader(s),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am developing my&amp;nbsp;FLEX IO Uart on the s32K144 evaluation board based on a demo program FlexIO, and I am using the below evaluation board,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A href="https://www.nxp.com/docs/en/quick-reference-guide/S32K144EVB-QSG.pdf"&gt;https://www.nxp.com/docs/en/quick-reference-guide/S32K144EVB-QSG.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;And I first turned FlEXIO_D0 to do Tx to verify that I have timer &amp;amp; shifter work correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Then I followed recommendation on&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;A data-saferedirecturl="https://www.google.com/url?q=https://www.nxp.com/docs/en/application-note/AN12174.pdf&amp;amp;source=gmail&amp;amp;ust=1553790413729000&amp;amp;usg=AFQjCNHiAwKqjbt4J_lNwFk3gF1E0Ifx-A" href="https://www.nxp.com/docs/en/application-note/AN12174.pdf" style="color: #1155cc; font-size: small;" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN12174.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;to double check my settings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;BR /&gt;I still could not get any byte even I saw these bytes appear on Rx line (FLEX_D0).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Could you tell me from my attached zip file&amp;nbsp;FlexIO_Uart_s32k144.zip if I have correctly set up FLEX_D0 to do Rx in&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;/* setup FLEX_D0 to receive */&lt;BR /&gt;&amp;nbsp; &amp;nbsp;FLEXIO_UART_D_receive_init();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If I did, do I read from the correct buffer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;"byte = (FLEXIO-&amp;gt;SHIFTBUF[1] &amp;gt;&amp;gt; 24 ) &amp;amp; 0xFF;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Both the above mentioned are in the file FlexIO.c.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank you very much!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Kevin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 14:22:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856675#M3650</guid>
      <dc:creator>klau</dc:creator>
      <dc:date>2019-03-28T14:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856676#M3651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a test code for the S32K144 FlexIO UART using your code and code from AN12174. (see attachment)&lt;/P&gt;&lt;P&gt;The main issue in your code was in the wrong clock&amp;nbsp;select for the FlexIO. The&amp;nbsp;SIRCDIV2_CLK was selected, but the SIRC clock was not configurated.&lt;/P&gt;&lt;P&gt;The second thing was in the wrong configuration of PINSEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2019 16:32:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856676#M3651</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-03-28T16:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856677#M3652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Diana,&lt;/P&gt;&lt;P&gt;I configure the registers according to the configuration method you sent, but I still can't receive the data and can send the data normally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2019 10:19:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856677#M3652</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-04-23T10:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856678#M3653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried to use the test code attached in my previous case "S32K144_FlexIOUart.zip"? There is a possibility that you are using the wrong code (code with mistakes).&lt;/P&gt;&lt;P&gt;Using the test code I can transmit and receive the data, please see&amp;nbsp;the&amp;nbsp;image below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using S32K144EVB and the PTD0 should be connected with PTC6 and PTD1 with PTC7 in the case we need to use the terminal.&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/80769i5B6867A24E7E83B0/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;&lt;/P&gt;&lt;P&gt;Which MCU do you use?&lt;/P&gt;&lt;P&gt;I can see that you have created the new request with your code. I will check it, however, it will be better when you share your whole project.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 12:33:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856678#M3653</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-04-24T12:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856679#M3654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I used your previous code, and then I compared the routines in S32ds, and found that there are some different configurations. I modified the register, but still can not achieve sending and receiving.&lt;/P&gt;&lt;P&gt;I also use this microcontroller，&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;S32K144EVB。&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Apr 2019 01:13:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856679#M3654</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-04-25T01:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856680#M3655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I modified the code, now send and receive can be successful. When I receive a byte, there is no problem. When I receive a string of data, there will be FLEXIO - &amp;gt; SHIFTERR = 0x02. This is the time when only the first byte is correct and the next byte is wrong. Here is my receiver function.&lt;/P&gt;&lt;P&gt;void FLEXIO_IRQHandler (void)&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;char byte;&lt;BR /&gt; if(FLEXIO-&amp;gt;SHIFTSTAT==0x03)&lt;BR /&gt; {&lt;BR /&gt; byte = (FLEXIO-&amp;gt;SHIFTBUF[1] &amp;gt;&amp;gt; 24 ) &amp;amp; 0xFF;&lt;BR /&gt; }&lt;BR /&gt; if(FLEXIO-&amp;gt;SHIFTERR==0x02)&lt;BR /&gt; {&lt;BR /&gt; FLEXIO-&amp;gt;SHIFTERR=0x02;&lt;BR /&gt; FLEXIO-&amp;gt;TIMSTAT=0x02;&lt;BR /&gt; }&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 08:55:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856680#M3655</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-04-26T08:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856681#M3656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I modified the code. Now there is no problem in communication between 1900b/s and 9600b/s. The data I received at 115200 is wrong. What is the reason?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2019 05:51:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856681#M3656</guid>
      <dc:creator>liulei1</dc:creator>
      <dc:date>2019-04-28T05:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856682#M3657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, refer to the link below, there can be found an answer.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/501287"&gt;https://community.nxp.com/thread/501287&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can follow the community request which you have created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not necessary to copy your questions into this community request.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2019 07:31:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856682#M3657</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2019-04-29T07:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: FlexIO uart Rx not getting any character?</title>
      <link>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856683#M3658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please post your code that can be run on the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;s32K144 evaluation board (see below link)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fquick-reference-guide%2FS32K144EVB-QSG.pdf" rel="nofollow" style="color: #3d9ce7; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://www.nxp.com/docs/en/quick-reference-guide/S32K144EVB-QSG.pd&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;I am very busy on other urgent issues, and I can not spend lot of time on this now. But I can look at or test it if you have proved that the codes work on lower baud rate (&lt;SPAN&gt;1900b/s and 9600b/s).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2019 12:47:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/FlexIO-uart-Rx-not-getting-any-character/m-p/856683#M3658</guid>
      <dc:creator>klau</dc:creator>
      <dc:date>2019-04-29T12:47:21Z</dc:date>
    </item>
  </channel>
</rss>

