<?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: IMXRT1024 UART Transmit Data Packing Uncertainty</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Transmit-Data-Packing-Uncertainty/m-p/1324683#M15910</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167559"&gt;@Alexis_A&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes, it is sending whole string without issue. The only change that I do on the code is that I defined and uint8_t Array as sending buffer and filled every index of it with the 01010101.....01&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uint8_t txBuffer[256] = {0};

int16_t iter;

for(iter=0; iter&amp;lt;256; iter++)
{
    txBuffer[iter] = (i % 2);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the fill operation of my buffer with 01010101..., I am just using UART_Transfer function in the (&lt;SPAN&gt;lpuart_interrupt_transfer) example. The only change is the buffer in the example. I am just sending my buffer instead of sending default string in the example to view clear signal in the osscilloscope. What is wrong with that? Is that the characteristic behaviour of the &lt;STRONG&gt;UART_TransferSendNonBlocking&lt;/STRONG&gt;&amp;nbsp;method?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Aug 2021 10:57:44 GMT</pubDate>
    <dc:creator>Lukas_Frank</dc:creator>
    <dc:date>2021-08-17T10:57:44Z</dc:date>
    <item>
      <title>IMXRT1024 UART Transmit Data Packing Uncertainty</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Transmit-Data-Packing-Uncertainty/m-p/1322108#M15821</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using IMXRT1024 UART and sending my array "10101010" by using &lt;STRONG&gt;UART_TransferNonBlocking&lt;/STRONG&gt; to the TX pin by selecting normal 8 bit data mode. When I observe my data packet on the oscilloscope. It seems like illustrated in the below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukas_Frank_0-1628709822099.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152649i8F9CCEFE10179A22/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukas_Frank_0-1628709822099.png" alt="Lukas_Frank_0-1628709822099.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Lukas_Frank_0-1628709822099.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I am waiting for :&lt;/P&gt;&lt;P&gt;(start-bit)(10101010)(stop-bit)&lt;/P&gt;&lt;P&gt;What it seems like:&lt;/P&gt;&lt;P&gt;(start-bit)&lt;STRONG&gt;(1)&lt;/STRONG&gt;(0000000)(stop-bit)&amp;nbsp;(start-bit)&lt;STRONG&gt;(0)&lt;/STRONG&gt;(0000000)(stop-bit)&amp;nbsp;(start-bit)&lt;STRONG&gt;(1)&lt;/STRONG&gt;(0000000)(stop-bit)&amp;nbsp;(start-bit)&lt;STRONG&gt;(0)&lt;/STRONG&gt;(0000000)(stop-bit)&amp;nbsp;(start-bit)&lt;STRONG&gt;(1)&lt;/STRONG&gt;(0000000)(stop-bit)&amp;nbsp;(start-bit)&lt;STRONG&gt;(0)&lt;/STRONG&gt;(0000000)(stop-bit)&amp;nbsp;(start-bit)&lt;STRONG&gt;(1)&lt;/STRONG&gt;(0000000)(stop-bit)&amp;nbsp;(start-bit)&lt;STRONG&gt;(0)&lt;/STRONG&gt;(0000000)(stop-bit)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our data bits appears when we extract them from the oscilloscope signal view.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(1)(0)(1)(0)(1)(0)(1)(0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It seems like there are redundant bits. Why it can be happen? I know that UART sends our data bit by bit. But why it is not sending my data word by word like seen below figure?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukas_Frank_1-1628709960271.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152650iDF4AD1B4660DBFF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukas_Frank_1-1628709960271.png" alt="Lukas_Frank_1-1628709960271.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Lukas_Frank_1-1628709960271.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 19:28:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Transmit-Data-Packing-Uncertainty/m-p/1322108#M15821</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-08-11T19:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 UART Transmit Data Packing Uncertainty</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Transmit-Data-Packing-Uncertainty/m-p/1324109#M15896</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187781"&gt;@Lukas_Frank&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In the SDK example (lpuart_interrupt_transfer), a whole string is sent without issues. Could you share how are you calling the API and the input parameters?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Alexis Andalon&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 21:41:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Transmit-Data-Packing-Uncertainty/m-p/1324109#M15896</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2021-08-16T21:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 UART Transmit Data Packing Uncertainty</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Transmit-Data-Packing-Uncertainty/m-p/1324683#M15910</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/167559"&gt;@Alexis_A&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes, it is sending whole string without issue. The only change that I do on the code is that I defined and uint8_t Array as sending buffer and filled every index of it with the 01010101.....01&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uint8_t txBuffer[256] = {0};

int16_t iter;

for(iter=0; iter&amp;lt;256; iter++)
{
    txBuffer[iter] = (i % 2);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the fill operation of my buffer with 01010101..., I am just using UART_Transfer function in the (&lt;SPAN&gt;lpuart_interrupt_transfer) example. The only change is the buffer in the example. I am just sending my buffer instead of sending default string in the example to view clear signal in the osscilloscope. What is wrong with that? Is that the characteristic behaviour of the &lt;STRONG&gt;UART_TransferSendNonBlocking&lt;/STRONG&gt;&amp;nbsp;method?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and Regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 10:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Transmit-Data-Packing-Uncertainty/m-p/1324683#M15910</guid>
      <dc:creator>Lukas_Frank</dc:creator>
      <dc:date>2021-08-17T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMXRT1024 UART Transmit Data Packing Uncertainty</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Transmit-Data-Packing-Uncertainty/m-p/1325054#M15917</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/187781"&gt;@Lukas_Frank&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You're filling the array with (i % 2), so if the array would be something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;txBuffer[iter] = {0,1,0,1,0,1,0,1,0,1,0...}&lt;/LI-CODE&gt;&lt;P&gt;So if you looking to fill the array with&amp;nbsp;&lt;SPAN&gt;(start-bit)(10101010)(stop-bit) that would be with:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;uint8_t txBuffer[256] = {0};

int16_t iter;

for(iter=0; iter&amp;lt;256; iter++)
{
    txBuffer[iter] = 0xAA;
}&lt;/LI-CODE&gt;&lt;P&gt;Best Regards,&lt;BR /&gt;Alexis Andalon&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2021 01:56:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/IMXRT1024-UART-Transmit-Data-Packing-Uncertainty/m-p/1325054#M15917</guid>
      <dc:creator>Alexis_A</dc:creator>
      <dc:date>2021-08-18T01:56:23Z</dc:date>
    </item>
  </channel>
</rss>

