<?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>S32 SDK中的主题 Re: LINFLEXD_UART_DRV_SendData() not working</title>
    <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841116#M697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do you notice that FLEX UART is not transmitting data? I modified example (for some reason your project got stuck when upload into board) - and I can see UART data on PG4 pin on scope.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only what I did is changing Device to LinFlexD_10 and speed. Nothing else.&amp;nbsp;&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/62845iB7F414B4B2E93B84/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;In main I left INST_LINFLEXD_UART1 - this macro is defined as 10U in generated code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62886iF2C11758094D31BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to check your clock settings against S32DS example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2018 13:39:49 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2018-08-14T13:39:49Z</dc:date>
    <item>
      <title>LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841114#M695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;Creating a S32 flexuart example project, &lt;SPAN&gt;LINFLEXD_UART_DRV_XXX()&lt;/SPAN&gt; functions are working well.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IDE-flexuart-example.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62910i97F43466D4BA35CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="IDE-flexuart-example.jpg" alt="IDE-flexuart-example.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When creating a new S32 project, then porting flexuart function.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IDE-flexuart-example01.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62957iE6F635E81F506CFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="IDE-flexuart-example01.jpg" alt="IDE-flexuart-example01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then modify main() for UART communication based on LINFlex I/F.&lt;/P&gt;&lt;P&gt;main()&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT, g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);&lt;BR /&gt; CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_FORCIBLE);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Simply add couple lines to configure LINFlexD_10 for UART communicaiton&lt;/P&gt;&lt;P&gt;PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);&lt;/P&gt;&lt;P&gt;LINFLEXD_UART_DRV_Init(INST_LINFLEXD_UART10, &amp;amp;linflexd_uart10_State, &amp;amp;linflexd_uart10_InitConfig0);&lt;/P&gt;&lt;P&gt;while(1)&lt;BR /&gt; LINFLEXD_UART_DRV_SendData(INST_LINFLEXD_UART10, (uint8_t*)msg, strlen(msg)); //No response from console at all&lt;/P&gt;&lt;P&gt;The example code as attachment "test_flexcan_uart.zip"&lt;/P&gt;&lt;P&gt;Anyone knows what problem about S32 DS?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 02:58:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841114#M695</guid>
      <dc:creator>barkly_lin</dc:creator>
      <dc:date>2018-08-10T02:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841115#M696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/barkly.lin@quantatw.com"&gt;barkly.lin@quantatw.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After comparing the generated Processor Expert Code, I can see that there are a number of changes which need to be made inside Processor Expert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Clock Manager&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/62624i67B16DE81D178A02/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;In LINFlexD/UART&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62657iCC6450D3DC7A8318/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Pin Mux&lt;/P&gt;&lt;P&gt;&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/62706iF1C41C7D176F215B/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;&lt;/P&gt;&lt;P&gt;I also noticed you are using the S32 SDK MPC574xx EAR 0.8.1, I would recommend that you install the update ( &lt;A href="https://community.nxp.com/docs/DOC-341283"&gt;S32 Design Studio for Power Architecture 2017.R1 - Updates 5 and 6 available&lt;/A&gt;) and use the latest S32 SDK MPC574xx RTM 1.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841115#M696</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2018-08-10T13:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841116#M697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do you notice that FLEX UART is not transmitting data? I modified example (for some reason your project got stuck when upload into board) - and I can see UART data on PG4 pin on scope.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only what I did is changing Device to LinFlexD_10 and speed. Nothing else.&amp;nbsp;&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/62845iB7F414B4B2E93B84/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;In main I left INST_LINFLEXD_UART1 - this macro is defined as 10U in generated code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62886iF2C11758094D31BE/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to check your clock settings against S32DS example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:39:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841116#M697</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-08-14T13:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841117#M698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri&lt;/P&gt;&lt;P&gt;It seems clock source and&amp;nbsp;INST_LINFLEXD_UART10 are the problem, because I created another project by "New\S32DS Project from Example\linflex_uart_mpc5748g", and its UART works.&lt;/P&gt;&lt;P&gt;I use the same pinmux/clock source/INST_LINFLEXD_UART10 with both of projects.&lt;/P&gt;&lt;P&gt;The project as attachment "linflexd_uart_mpc5748g.zip"&lt;/P&gt;&lt;P&gt;Maybe there is something wrong with my S32DS environment..&amp;gt;.&amp;lt;..&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 10:19:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841117#M698</guid>
      <dc:creator>barkly_lin</dc:creator>
      <dc:date>2018-08-15T10:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841118#M699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;It is still not working after modified clock source &amp;amp;&amp;nbsp;INST_LINFLEXD_UART10.&lt;/P&gt;&lt;P&gt;When I try to do "Install new software" with&amp;nbsp;S32DS_PA_v2017.R1_UP5_UP6.zip in S32DS.&lt;/P&gt;&lt;P&gt;System stuck here.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="S32DS-update-stuck.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/62731i0713EFA8A1D66AD3/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32DS-update-stuck.jpg" alt="S32DS-update-stuck.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 10:24:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841118#M699</guid>
      <dc:creator>barkly_lin</dc:creator>
      <dc:date>2018-08-15T10:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841119#M700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/barkly.lin@quantatw.com"&gt;barkly.lin@quantatw.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How long did you wait to see progress? Depending upon your connection speed, it could take some time. I have seen this take longer than expected on another customer's PC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 12:26:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841119#M700</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2018-08-15T12:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841120#M701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/barkly.lin@quantatw.com"&gt;barkly.lin@quantatw.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Processor Expert settings I mentioned were just a few of the differences to give you a place to start. You should perform the comparison yourself and see what other changes may be required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2018 12:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841120#M701</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2018-08-15T12:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841121#M702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;I wait more than 1 hour, my connection speed is acceptable because it's smooth for downloading&amp;nbsp;S32DS_PA_v2017.R1_UP5_UP6.zip(&amp;gt; 1GB).&lt;/P&gt;&lt;P&gt;Should I have to wait overnight?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 02:09:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841121#M702</guid>
      <dc:creator>barkly_lin</dc:creator>
      <dc:date>2018-08-16T02:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841122#M703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/barkly.lin@quantatw.com"&gt;barkly.lin@quantatw.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should not take so long to install, especially since it appears you have downloaded the file from the NXP website prior to installing. Are you seeing any error messages? Is there a dialog window somewhere that is expecting a response from you? Have you tried relaunching S32DS and starting the update again? Do you have an active debug session running when you performed the update? I sometimes forget to end those.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:48:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841122#M703</guid>
      <dc:creator>mikedoidge</dc:creator>
      <dc:date>2018-08-16T19:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: LINFLEXD_UART_DRV_SendData() not working</title>
      <link>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841123#M704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike&lt;/P&gt;&lt;P&gt;When update process stuck again, just leave it overnight, then I saw it finished this morning.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="S32DS-update-stuck-02-overnight-pass.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/63306i915138639906C1EA/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32DS-update-stuck-02-overnight-pass.jpg" alt="S32DS-update-stuck-02-overnight-pass.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I created a new project based on S32 Design Studio MPC574xx SDK RTM 1.0.0.&lt;/P&gt;&lt;P&gt;Now&amp;nbsp;FLEXCAN_DRV_xxx()s are working well, message come out from UART success.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 08:38:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/LINFLEXD-UART-DRV-SendData-not-working/m-p/841123#M704</guid>
      <dc:creator>barkly_lin</dc:creator>
      <dc:date>2018-08-17T08:38:31Z</dc:date>
    </item>
  </channel>
</rss>

