<?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>8-bit MicrocontrollersのトピックRe: 908AP32 on CW5.0- Help with AS1_SendBlock.</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908AP32-on-CW5-0-Help-with-AS1-SendBlock/m-p/126581#M1121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Dear Jan Pospisilik,&lt;BR /&gt;Thanks for your response.&lt;BR /&gt;I´m going to send the entire project but first I have to translate it into English, it is in Spanish.&lt;BR /&gt;On the other hand, I found that if I put below LCD_SendBlock();, LCD_ClearTxBuf(); It clears all buffer and the text inside SendBlock, vanishes, Here an example:&lt;BR /&gt;&lt;BR /&gt;LCD_SendChar(12);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;Pausa1s(); // Delay 1 seg aprox.&lt;BR /&gt;LCD_SendChar(148);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;LCD_SendChar(18);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;LCD_SendBlock("La tension de la fase R es: ",28,&amp;amp;SND);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;//LCD_ClearTxBuf(); IF I UNCOMMENT THIS, THE PREVIOUS MESSAGE DOESN´T APPEAR.&lt;BR /&gt;resultado=(byte)Datos[0][45].datocompl/0x0333;&lt;BR /&gt;resultado=0x30+resultado;&lt;BR /&gt;LCD_SendChar(resultado);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;resultado=(byte)Datos[0][45].datocompl%0x0051;&lt;BR /&gt;resultado=0x30+resultado;&lt;BR /&gt;LCD_SendChar('.');&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;//LCD_ClearTxBuf();&lt;BR /&gt;LCD_SendChar(resultado); //envia el decimal&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;LCD_SendBlock(" Volts",6,&amp;amp;SND);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;//LCD_ClearTxBuf(); THE SAME, Volts DOESN´T APPEAR ON A SERIAL DISPLAY if I uncomment&lt;BR /&gt;Pausa1s();&lt;BR /&gt;&lt;BR /&gt;I tried with delays(); before clear, but the same, the display is @ 19200 Bauds, and I configure the bean according to this, The size of Tx buffer is 50 bytes. However in simulation, the program works fine, and I can see all the text sended.&lt;BR /&gt;Well, here is a preview of the program.&lt;BR /&gt;Thanks and regards&lt;BR /&gt;&lt;BR /&gt;Pablo&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 09:44:15 GMT</pubDate>
    <dc:creator>B_Conf</dc:creator>
    <dc:date>2007-03-21T09:44:15Z</dc:date>
    <item>
      <title>908AP32 on CW5.0- Help with AS1_SendBlock.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908AP32-on-CW5-0-Help-with-AS1-SendBlock/m-p/126579#M1119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I´m using the AP32 and CW5.0 to program.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to use "LCD_GetTxComplete();" or "AS1_GetTxComplete();" without results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I´m sending some characters to a serial Display, and sometimes lose characters in Buffer, it is like the previous command, hasn´t any effect, I used a delay between sending and clearing but the same, The next code show what I'm talking about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LCD_SendChar(148); //Command for display&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LCD_SendBlock("Some text",9,&amp;amp;SND);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while (!(LCD_GetTxComplete())){}; // WITHOUT SUCCESS!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LCD_ClearTxBuf(); //IT CLEARS SOME CHARACTERS BEFORE SEND MESSAGE,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LCD_ClearTxBuf();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/***************** DELAY *************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (G=0;G65535;G++){ //delay 1.09 Seg&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (d=0;d8;d++){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;d=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/*************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;d=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LCD_SendChar(18); //I LOSE THIS DATA, 18 turn off the BACKLIT of LCD&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;d=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;G=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/***************** DELAY *************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (G=0;G65535;G++){ //delay 1.09 Seg&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (d=0;d8;d++){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;d=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/*************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;d=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/***************** DELAY *************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (G=0;G65535;G++){ //delay 1.09 Seg&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (d=0;d8;d++){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;d=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/*************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;d=0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LCD_ClearTxBuf();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, if somebody, can tell me how can I use "LCD_GetTxComplete();" to avoid lose of data, or another thing, I will appreciate a lot!.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and regards!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;B_conf&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2007 05:44:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908AP32-on-CW5-0-Help-with-AS1-SendBlock/m-p/126579#M1119</guid>
      <dc:creator>B_Conf</dc:creator>
      <dc:date>2007-03-16T05:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: 908AP32 on CW5.0- Help with AS1_SendBlock.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908AP32-on-CW5-0-Help-with-AS1-SendBlock/m-p/126580#M1120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Dear Customer,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is it possible to send us a project or detail description of CPU and bean settings, especially AsynchroSerial bean? We tried to reproduce your problem according your instructions and examples and no data loss was&amp;nbsp;found. The&amp;nbsp;project&amp;nbsp;may be sent to &lt;A href="mailto:support@processorexpert.com" rel="nofollow" target="_blank"&gt;support@processorexpert.com&lt;/A&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best Regards,&lt;/DIV&gt;&lt;DIV&gt;Jan Pospisilik, Processor Expert Support&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2007 15:43:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908AP32-on-CW5-0-Help-with-AS1-SendBlock/m-p/126580#M1120</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2007-03-20T15:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: 908AP32 on CW5.0- Help with AS1_SendBlock.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/908AP32-on-CW5-0-Help-with-AS1-SendBlock/m-p/126581#M1121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Dear Jan Pospisilik,&lt;BR /&gt;Thanks for your response.&lt;BR /&gt;I´m going to send the entire project but first I have to translate it into English, it is in Spanish.&lt;BR /&gt;On the other hand, I found that if I put below LCD_SendBlock();, LCD_ClearTxBuf(); It clears all buffer and the text inside SendBlock, vanishes, Here an example:&lt;BR /&gt;&lt;BR /&gt;LCD_SendChar(12);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;Pausa1s(); // Delay 1 seg aprox.&lt;BR /&gt;LCD_SendChar(148);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;LCD_SendChar(18);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;LCD_SendBlock("La tension de la fase R es: ",28,&amp;amp;SND);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;//LCD_ClearTxBuf(); IF I UNCOMMENT THIS, THE PREVIOUS MESSAGE DOESN´T APPEAR.&lt;BR /&gt;resultado=(byte)Datos[0][45].datocompl/0x0333;&lt;BR /&gt;resultado=0x30+resultado;&lt;BR /&gt;LCD_SendChar(resultado);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;resultado=(byte)Datos[0][45].datocompl%0x0051;&lt;BR /&gt;resultado=0x30+resultado;&lt;BR /&gt;LCD_SendChar('.');&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;//LCD_ClearTxBuf();&lt;BR /&gt;LCD_SendChar(resultado); //envia el decimal&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;LCD_SendBlock(" Volts",6,&amp;amp;SND);&lt;BR /&gt;while(IRSCS1_TC==0){};&lt;BR /&gt;//LCD_ClearTxBuf(); THE SAME, Volts DOESN´T APPEAR ON A SERIAL DISPLAY if I uncomment&lt;BR /&gt;Pausa1s();&lt;BR /&gt;&lt;BR /&gt;I tried with delays(); before clear, but the same, the display is @ 19200 Bauds, and I configure the bean according to this, The size of Tx buffer is 50 bytes. However in simulation, the program works fine, and I can see all the text sended.&lt;BR /&gt;Well, here is a preview of the program.&lt;BR /&gt;Thanks and regards&lt;BR /&gt;&lt;BR /&gt;Pablo&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 09:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/908AP32-on-CW5-0-Help-with-AS1-SendBlock/m-p/126581#M1121</guid>
      <dc:creator>B_Conf</dc:creator>
      <dc:date>2007-03-21T09:44:15Z</dc:date>
    </item>
  </channel>
</rss>

