<?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>i.MX RT Crossover MCUsのトピックRe: LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1546544#M22290</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;replace UART driver from SDK 2.10.0 to SDK 2.12.0, and change&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lpuart_rtos_config_t lpuart_config = {&lt;BR /&gt;.baudrate = 115200,&lt;BR /&gt;.parity = kLPUART_ParityDisabled,&lt;BR /&gt;.stopbits = kLPUART_OneStopBit,&lt;BR /&gt;.buffer = background_buffer,&lt;BR /&gt;.buffer_size = sizeof(background_buffer),&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lpuart_rtos_config_t lpuart_config = {&lt;BR /&gt;.baudrate = 115200,&lt;BR /&gt;.parity = kLPUART_ParityDisabled,&lt;BR /&gt;.stopbits = kLPUART_OneStopBit,&lt;BR /&gt;.buffer = background_buffer,&lt;BR /&gt;.buffer_size = sizeof(background_buffer),&lt;BR /&gt;.rx_timeout_constant_ms = 1,&lt;BR /&gt;.rx_timeout_multiplier_ms = 1,&lt;BR /&gt;.tx_timeout_constant_ms = 20,&lt;BR /&gt;.tx_timeout_multiplier_ms = 1,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;in&amp;nbsp;freertos_swtimer.c.&lt;/P&gt;&lt;P&gt;It works now.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2022 02:08:22 GMT</pubDate>
    <dc:creator>felix1</dc:creator>
    <dc:date>2022-11-01T02:08:22Z</dc:date>
    <item>
      <title>LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1530993#M21848</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to send UART message every 1 second, so I combine examples&amp;nbsp;&lt;/P&gt;&lt;P&gt;evkbimxrt1050_freertos_lpuart and&amp;nbsp;evkbimxrt1050_freertos_swtimer to test.&lt;/P&gt;&lt;P&gt;But add&amp;nbsp;LPUART_RTOS_Send() to&amp;nbsp;SwTimerCallback() stop the SwTimer 1 second period callback, comment&amp;nbsp;LPUART_RTOS_Send() the SwTimer period is normal.&lt;/P&gt;&lt;P&gt;I attached the modified freertos_lpuart.c.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to fix it and send UART message 1 second period?&lt;/P&gt;&lt;P&gt;p.s. RT1050 SDK 2.10.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 09:02:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1530993#M21848</guid>
      <dc:creator>felix1</dc:creator>
      <dc:date>2022-09-30T09:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1538752#M22065</link>
      <description>&lt;P lang="es-MX"&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160932"&gt;@felix1&lt;/a&gt;,&lt;/P&gt;
&lt;P lang="es-MX"&gt;I apologize for the late response. I was able to reproduce the 1 second period callback for the Send() function in UART. I found it easier to start with the timer example, and then add in the LPUART peripherals and drivers.&lt;/P&gt;
&lt;P lang="es-MX"&gt;Please, create a new freertos_swtimer, open Config Tools from the project explorer, and add in the uart drivers. (You will also need to manually add the "fsl_lpuart_freertos" inside the "freertos" folder on the LPUART example.&lt;/P&gt;
&lt;P lang="es-MX"&gt;After this, copy all the initialization and variables needed for the send function (Definitions, Prototypes and Code).&lt;/P&gt;
&lt;P lang="es-MX"&gt;Add "NVIC_SetPriority(LPUART1_IRQn, 5);", and add the UART task to the scheduler for the initialization.&lt;/P&gt;
&lt;P lang="es-MX"&gt;I was able to reproduce it by removing all but the initialization in the "uart_task" function, and just adding "LPUART_RTOS_Send(&amp;amp;handle, (uint8_t *)to_send, strlen(to_send));" inside the SwTimerCallback function to avoid the Receive function inside the example.&lt;/P&gt;
&lt;P lang="es-MX"&gt;I apologize again for the tardy response, but I hope you find this helpful!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 18:50:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1538752#M22065</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2022-10-17T18:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1539214#M22077</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I followed your procedure based on the new project&amp;nbsp;evkbimxrt1050_freertos_swtimer to add UART send function, but it still failed to send UART message in&amp;nbsp;SwTimerCallback() 1 second period.&lt;/P&gt;&lt;P&gt;Can you export and attach your project for reference?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 10:41:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1539214#M22077</guid>
      <dc:creator>felix1</dc:creator>
      <dc:date>2022-10-18T10:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1539453#M22081</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160932"&gt;@felix1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Could you please help me check all the includes, prototypes and definitions are in place? If so, please check for the priority line, and the UART TaskCreate function, the "Send" function inside the timer callback, and to comment the "Send" and all of the receiving part of the UART's task.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-family: Calibri; font-size: 11.0pt;" value="1"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1666106601210.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197132i07B4D0ACBAF37A56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1666106601210.png" alt="Julin_AragnM_0-1666106601210.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-family: Calibri; font-size: 11.0pt;" value="2"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_1-1666106601211.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197133iAC6943E25CE76F45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_1-1666106601211.png" alt="Julin_AragnM_1-1666106601211.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL style="direction: ltr; unicode-bidi: embed; margin-top: 0in; margin-bottom: 0in; font-family: Calibri; font-size: 11.0pt; font-weight: normal; font-style: normal;" type="1"&gt;
&lt;LI style="margin-top: 0; margin-bottom: 0; vertical-align: middle; font-family: Calibri; font-size: 11.0pt;" value="3"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_2-1666106601211.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197134i721641E123AACCB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_2-1666106601211.png" alt="Julin_AragnM_2-1666106601211.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="es-MX"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P lang="es-MX"&gt;If it still doesn't work, please try adding a minimal delay after the UART initialization and try to communicate again.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_4-1666106338029.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/197128iAA189DCE710C309A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_4-1666106338029.png" alt="Julin_AragnM_4-1666106338029.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P lang="es-MX"&gt;This is the constant output on terminal. "Tick." refers to the PRINTF inside the callback function, and the FreeRTOS LPUART line refers to the "LPUART_RTOS_Send" function.&lt;/P&gt;
&lt;P lang="es-MX"&gt;I hope you find this helpful!&lt;/P&gt;
&lt;P lang="es-MX"&gt;Best regards, Julian&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2022 15:23:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1539453#M22081</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2022-10-18T15:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1539995#M22098</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you use API LPUART_RTOS_SetRxTimeout() (althougt you comment it), I guess your are using SDK 2.12.0.&lt;/P&gt;&lt;P&gt;Following your instructions to modify evkbimxrt1050_freertos_swtimer project, my tests are SDK 2.12.0 is ok to send UART message one second period, but SDK 2.10.0 is failed.&lt;/P&gt;&lt;P&gt;I guess if you test your project in SDK 2.10.0, you may get the fail result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach my file generated from SDK 2.10.0 for reference, the test result is failed.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 09:41:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1539995#M22098</guid>
      <dc:creator>felix1</dc:creator>
      <dc:date>2022-10-19T09:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1542058#M22173</link>
      <description>&lt;P lang="es-MX"&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160932"&gt;@felix1&lt;/a&gt;,&lt;/P&gt;
&lt;P lang="es-MX"&gt;Yes, we always recommend using the latest SDK and IDE version. Is there a specific reason you might choose SDK 2.10 over the newest version?&lt;/P&gt;
&lt;P lang="es-MX"&gt;Best regards, Julian&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 15:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1542058#M22173</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2022-10-21T15:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1542642#M22189</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have developed the project and released to customer based on SDK 2.10.0.&lt;/P&gt;&lt;P&gt;Can I just replace&amp;nbsp;&lt;/P&gt;&lt;P&gt;fsl_lpuart_freertos.c / .h&lt;BR /&gt;fsl_lpuart.c / .h&lt;/P&gt;&lt;P&gt;from SDK 2.10.0 to SDK 2.12.0 to fix this UART problem?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 10:20:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1542642#M22189</guid>
      <dc:creator>felix1</dc:creator>
      <dc:date>2022-10-24T10:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1544242#M22217</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/160932"&gt;@felix1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Yes, replacing&amp;nbsp;&lt;SPAN&gt;fsl_lpuart_freertos.c /.h and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;fsl_lpuart.c /.h should make the timer and uart work.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Just a heads up, you should replace the whole code in "freertos_swtimer.c" as it may be incompatible in some other parts of the code, other than that, everything should be ok.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Don't hesitate to ask if anything else comes up! &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards, Julian&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 17:46:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1544242#M22217</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2022-10-26T17:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_RTOS_Send() stop FreeRTOS SwTimer period</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1546544#M22290</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;replace UART driver from SDK 2.10.0 to SDK 2.12.0, and change&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lpuart_rtos_config_t lpuart_config = {&lt;BR /&gt;.baudrate = 115200,&lt;BR /&gt;.parity = kLPUART_ParityDisabled,&lt;BR /&gt;.stopbits = kLPUART_OneStopBit,&lt;BR /&gt;.buffer = background_buffer,&lt;BR /&gt;.buffer_size = sizeof(background_buffer),&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lpuart_rtos_config_t lpuart_config = {&lt;BR /&gt;.baudrate = 115200,&lt;BR /&gt;.parity = kLPUART_ParityDisabled,&lt;BR /&gt;.stopbits = kLPUART_OneStopBit,&lt;BR /&gt;.buffer = background_buffer,&lt;BR /&gt;.buffer_size = sizeof(background_buffer),&lt;BR /&gt;.rx_timeout_constant_ms = 1,&lt;BR /&gt;.rx_timeout_multiplier_ms = 1,&lt;BR /&gt;.tx_timeout_constant_ms = 20,&lt;BR /&gt;.tx_timeout_multiplier_ms = 1,&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;in&amp;nbsp;freertos_swtimer.c.&lt;/P&gt;&lt;P&gt;It works now.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 02:08:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/LPUART-RTOS-Send-stop-FreeRTOS-SwTimer-period/m-p/1546544#M22290</guid>
      <dc:creator>felix1</dc:creator>
      <dc:date>2022-11-01T02:08:22Z</dc:date>
    </item>
  </channel>
</rss>

