<?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>topic Re: Uart issue in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592789#M30163</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Mon Mar 19 23:08:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;MCU UART is a 3.3V output. For RS232 you need a chip to convert 3.3V to RS232 e.g MAX 3221 :)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's amazing how much damage one can do without even using a simple thing as a voltmeter :D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If manish87 is lucky he even has an 'old school' RS232 port (going from -12 to +12V) rendering his UART pins on the MCU useless :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would recommend to use an &lt;/SPAN&gt;&lt;A href="http://http://apple.clickandbuild.com/cnb/shop/ftdichip?op=catalogue-products-null&amp;amp;prodCategoryID=121&amp;amp;title=UM232H"&gt;UM232H module&lt;/A&gt;&lt;SPAN&gt;: this module can be mounted on a bread board, it provides target (5 or 3.3V) supply when not using the LPC-Link and has all kinds of serial and parallel protocols that may be nice for other projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or use one of the almost &lt;/SPAN&gt;&lt;A href="http://http://apple.clickandbuild.com/cnb/shop/ftdichip?op=catalogue-products-null&amp;amp;prodCategoryID=105&amp;amp;title=USB-TTL+0.1%94+Socket"&gt;ready to use cables with 0.1" female connectors&lt;/A&gt;&lt;SPAN&gt; (also available as &lt;/SPAN&gt;&lt;A href="http://http://apple.clickandbuild.com/cnb/shop/ftdichip?op=catalogue-products-null&amp;amp;prodCategoryID=102&amp;amp;title=USB-TTL+Wire-Ended"&gt;bare wire version&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I find the UM232H modules the most easy to use for my projects - it just plugs into a 28 pin DIL socket and is very versatile (UART, SPI, I2C, JTAG, Parallel - just name it and this little gadget will do it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]Rob&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:52:20 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:52:20Z</dc:date>
    <item>
      <title>Uart issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592785#M30159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manish87 on Mon Mar 19 20:40:47 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPC 1114. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have downloaded the sample code given on site and made 3 connection for :-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. ground&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Rx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Tx &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also using real term to see the output, the rate is set as 115200&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but On running as mcu application when I am sending 'a + LR or +CF' by pressing 'send ascii'&amp;nbsp; I am getting back 'X' &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this is neither the exact character send returned nor I am able to debug/point out the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:52:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592785#M30159</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Uart issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592786#M30160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Mar 19 20:55:29 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: manish87&lt;/STRONG&gt;&lt;BR /&gt;I have downloaded the sample code given on site.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are we talking about ? UART sample :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: manish87&lt;/STRONG&gt;&lt;BR /&gt;and made 3 connection for :-&lt;BR /&gt;1. ground&lt;BR /&gt;2. Rx&lt;BR /&gt;3. Tx&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And then you connected them to :confused:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592786#M30160</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Uart issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592787#M30161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by manish87 on Mon Mar 19 21:31:47 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;i have downloaded all the sample code,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; but building and running uart one [PHP]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[LEFT]#include "driver_config.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "target_config.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "uart.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;extern volatile uint32_t UARTCount;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;extern volatile uint8_t UARTBuffer[BUFSIZE];&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;int main (void) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Basic chip initialization is taken care of in SystemInit() called&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* from the startup code. SystemInit() and chip settings are defined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;* in the CMSIS system_&amp;lt;part family&amp;gt;.c file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* NVIC is installed inside UARTInit file. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;UARTInit(UART_BAUD);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#if MODEM_TEST&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ModemInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;while (1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{ /* Loop forever */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if ( UARTCount != 0 )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_UART-&amp;gt;IER = IER_THRE | IER_RLS; /* Disable RBR */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;UARTSend( (uint8_t *)UARTBuffer, UARTCount );&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;UARTCount = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_UART-&amp;gt;IER = IER_THRE | IER_RLS | IER_RBR; /* Re-enable RBR */&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;}[/LEFT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/PHP]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have connected them to rs232 9 pin connector&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gnd to gnd &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rx to tx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tx to rx &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the connector is connecting my pc to the board.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592787#M30161</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Uart issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592788#M30162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Mar 19 21:40:21 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: manish87&lt;/STRONG&gt;&lt;BR /&gt;i have connected them to rs232 9 pin connector&lt;BR /&gt;gnd to gnd &lt;BR /&gt;rx to tx&lt;BR /&gt;tx to rx &lt;BR /&gt;the connector is connecting my pc to the board.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are kidding me :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MCU UART is a 3.3V output. For RS232 you need a chip to convert 3.3V to RS232 e.g MAX 3221 :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you can use a FTDI chip to convert to USB :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See also : &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=2709&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:52:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592788#M30162</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Uart issue</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592789#M30163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Mon Mar 19 23:08:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;MCU UART is a 3.3V output. For RS232 you need a chip to convert 3.3V to RS232 e.g MAX 3221 :)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's amazing how much damage one can do without even using a simple thing as a voltmeter :D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If manish87 is lucky he even has an 'old school' RS232 port (going from -12 to +12V) rendering his UART pins on the MCU useless :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would recommend to use an &lt;/SPAN&gt;&lt;A href="http://http://apple.clickandbuild.com/cnb/shop/ftdichip?op=catalogue-products-null&amp;amp;prodCategoryID=121&amp;amp;title=UM232H"&gt;UM232H module&lt;/A&gt;&lt;SPAN&gt;: this module can be mounted on a bread board, it provides target (5 or 3.3V) supply when not using the LPC-Link and has all kinds of serial and parallel protocols that may be nice for other projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or use one of the almost &lt;/SPAN&gt;&lt;A href="http://http://apple.clickandbuild.com/cnb/shop/ftdichip?op=catalogue-products-null&amp;amp;prodCategoryID=105&amp;amp;title=USB-TTL+0.1%94+Socket"&gt;ready to use cables with 0.1" female connectors&lt;/A&gt;&lt;SPAN&gt; (also available as &lt;/SPAN&gt;&lt;A href="http://http://apple.clickandbuild.com/cnb/shop/ftdichip?op=catalogue-products-null&amp;amp;prodCategoryID=102&amp;amp;title=USB-TTL+Wire-Ended"&gt;bare wire version&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I find the UM232H modules the most easy to use for my projects - it just plugs into a 28 pin DIL socket and is very versatile (UART, SPI, I2C, JTAG, Parallel - just name it and this little gadget will do it).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INDENT]Rob&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Uart-issue/m-p/592789#M30163</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:52:20Z</dc:date>
    </item>
  </channel>
</rss>

