<?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>Kinetis MicrocontrollersのトピックRe: SendBlock funtion doesn´t send correct data</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SendBlock-funtion-doesn-t-send-correct-data/m-p/604738#M35604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arturo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked your same case on this thread&amp;nbsp; , please refer to there .&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/890237"&gt;https://community.nxp.com/message/890237&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 04:04:43 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2017-03-24T04:04:43Z</dc:date>
    <item>
      <title>SendBlock funtion doesn´t send correct data</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SendBlock-funtion-doesn-t-send-correct-data/m-p/604737#M35603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m new with freescale microcontrollers and I am testing a board with MK20DX256VLH7 microcontroller. I have&amp;nbsp;startedwith a Project developed with the Processor Expert tool. In order to develop the application I have followed step by step &lt;STRONG&gt;"the Processor Expert Software – Microcontrollers Driver Suite Getting Started Guide"&lt;/STRONG&gt; tutorial. Then when I had to test debugging I saw that the LED was flashing well with the correct frequency, but I checked that the message sent to Tera Term Application by UART wasn't correct. Tera Term has received something but there are some strange characters. The string that I send is "Hello World". The direction where is stored the string is 0xfc0 allways, although I change the string, and I saw that all characters are stored in them.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="strange_characters.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19050i1770A70D55C37561/image-size/large?v=v2&amp;amp;px=999" role="button" title="strange_characters.png" alt="strange_characters.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The configuration is the same in Tera and in AS1 component, the baud rate is 9600, no parity, stop bit, 8 bits, and no control flow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Tera Term Configuration.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18959iAA90B78CE08458B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Tera Term Configuration.png" alt="Tera Term Configuration.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="UART_Component_Configuration.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/19008i12B1FA7D0D9815B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="UART_Component_Configuration.png" alt="UART_Component_Configuration.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I execute step by step inside the "AS1_SendBlock" function, I can see how the&amp;nbsp;characters are saved. For example the&amp;nbsp;character that I can see&amp;nbsp;in *DeviceDataPrv-&amp;gt;OutDataPtr is 0x48h, that is the hexadecimal character of first letter "H". Then later&amp;nbsp;it is executed the next line:&lt;/P&gt;&lt;P&gt;UART_PDD_EnableInterrupt(UART2_BASE_PTR, UART_PDD_INTERRUPT_TRANSMITTER);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I think it´s the sending order. Why don´t send the string correctly? There are something in the configuration? The configuration should be different with MK20DX256VLH7? The baud rate&amp;nbsp;is&amp;nbsp;ok?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;In my application “AS1_SendBlock” function &amp;nbsp;is executed step by step like it should be, but when I want to see where the data are sent (in which output registers) when the transmission interrupt is enable, I don’t know where because they are unknown for me. D&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;o you Know the registers in which appears the UART output transmission data or the UART output buffer for mK20dx256vlh7 microcontroller?? I´m reading in the datasheet and I don´t find any registers related on them. I want to see if the transmission data in these registers are the same that I want to transmit and also in order to compare with data that arrive to Tera application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;I would be very grateful for your help,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Arturo Arteaga&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 16:55:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SendBlock-funtion-doesn-t-send-correct-data/m-p/604737#M35603</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-21T16:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: SendBlock funtion doesn´t send correct data</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SendBlock-funtion-doesn-t-send-correct-data/m-p/604738#M35604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arturo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked your same case on this thread&amp;nbsp; , please refer to there .&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/890237"&gt;https://community.nxp.com/message/890237&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 04:04:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SendBlock-funtion-doesn-t-send-correct-data/m-p/604738#M35604</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-03-24T04:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: SendBlock funtion doesn´t send correct data</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/SendBlock-funtion-doesn-t-send-correct-data/m-p/604739#M35605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally yestarday I managed to send some chars. Moreover I managed to received “chars” from the PC to microcontroller, and back to re-send from the microcontroller to PC like I was doing “an echo”. I had to use another component different, I’ve used “Asynchro Serial” component. It works fine capturing characters from the PC and re-sending to microcontroller, but also I want to send blocks of characters like words not only individual characters. I saw SendBlocks doesn´t exists in “Asynchro Serial” component, like Serial_LDD but I have problems to receive with Serial_LDD. Do you know a method to send characters´s block in component “Asynchro Serial” like “Serial_LDD” component?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime I’ll check your proposal to find some new ideas for my new issue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arturo Arteaga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;De: Alice_Yang  &lt;/P&gt;&lt;P&gt;Enviado el: viernes, 24 de marzo de 2017 5:06&lt;/P&gt;&lt;P&gt;Para: Arturo Arteaga&lt;/P&gt;&lt;P&gt;Asunto: Re:  - Re: SendBlock funtion doesn´t send correct data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt; NXP Community &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: SendBlock funtion doesn´t send correct data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Alice_Yang &amp;lt;https://community.nxp.com/people/Alice_Yang?et=watches.email.thread&amp;gt;  in Kinetis Microcontrollers - View the full discussion &amp;lt;https://community.nxp.com/message/890239?commentID=890239&amp;amp;et=watches.email.thread#comment-890239&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 09:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/SendBlock-funtion-doesn-t-send-correct-data/m-p/604739#M35605</guid>
      <dc:creator>arturoarteaga</dc:creator>
      <dc:date>2017-03-24T09:05:00Z</dc:date>
    </item>
  </channel>
</rss>

