<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>USB/RS232 connection</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/29117/usb-rs232-connection</link><description> 
Hi, 

 
I am a beginner in using &amp;micro;vision I have &amp;quot;LPC1788 Developer&amp;#39;s
Kit&amp;quot; and I want to write a program for my microcontroller in order to
receive a message via the USB port and send it via the RS232 port.
Does anyone can help me please. 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: USB/RS232 connection</title><link>https://community.arm.com/thread/80621?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2012 08:16:01 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c6291ce4-606c-4414-be12-de296e454462</guid><dc:creator>Didi R</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thank you Andrew Neil, i will take a look .&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB/RS232 connection</title><link>https://community.arm.com/thread/80619?ContentTypeID=1</link><pubDate>Thu, 11 Oct 2012 08:15:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a10d4455-861d-4355-be21-c13d832a42a8</guid><dc:creator>Didi R</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thank you Tsuneo Chinzei, you&amp;#39;ve been very hulpful.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB/RS232 connection</title><link>https://community.arm.com/thread/67765?ContentTypeID=1</link><pubDate>Wed, 10 Oct 2012 23:57:06 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5a01e361-f863-42af-b6a3-a02022f6c357</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
Implementing USB is not a beginner&amp;#39;s project!&lt;/p&gt;

&lt;p&gt;
Strongly suggest that you start with simpler projects to gain
familiarity with the chip, the tools, and all the support that&amp;#39;s
available - there are examples &amp;amp; tutorials on this site, on the
&lt;b&gt;NXP&lt;/b&gt; site, and many other 3rd-party sites.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.nxp.com/pip/LPC1788FET208"&gt;www.nxp.com/.../LPC1788FET208&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/books"&gt;http://www.keil.com/books&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/gsac/"&gt;http://www.keil.com/support/man/docs/gsac/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/support/man/docs/uv4/uv4_examples.htm"&gt;http://www.keil.com/support/man/docs/uv4/uv4_examples.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.lvr.com/usb.htm"&gt;http://www.lvr.com/usb.htm&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB/RS232 connection</title><link>https://community.arm.com/thread/61227?ContentTypeID=1</link><pubDate>Wed, 10 Oct 2012 22:29:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:693707ee-301e-4f77-8ba3-dabd1ce0f7a6</guid><dc:creator>Chinzei Tsuneo</dc:creator><description>&lt;p&gt;&lt;p&gt;
USB-UART function is usually implemented with CDC (Communication
Device Class) on USB MCUs.&lt;/p&gt;

&lt;p&gt;
Keil MDK-ARM has RL-USB library, which includes CDC example.&lt;br /&gt;
C:\Keil\ARM\Boards\Keil\MCB1700\RL\USB\Device\CDC&lt;br /&gt;
For LPC1788, you may need to touch to USBD_Init() (usbd_LPC17xx.c),
to set up PORT_FUNC bits of OTGStCtrl register for the second USB
port.&lt;/p&gt;

&lt;p&gt;
If you like to be just a user of a USB stack, without dipping in
the USB details, this option is yours.&lt;/p&gt;

&lt;p&gt;
If you like to play with the source of USB device stack, here is
another option.&lt;/p&gt;

&lt;p&gt;
MCB1700 Sample Code Bundle for LPC17xx Peripherals using Keil&amp;#39;s
MDK-ARM&lt;br /&gt;

&lt;a href="http://www.lpcware.com/content/nxpfile/mcb1700-sample-code-bundle-lpc17xx-peripherals-using-keils-mdk-arm"&gt;www.lpcware.com/.../mcb1700-sample-code-bundle-lpc17xx-peripherals-using-keils-mdk-arm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
USBCDC on this example gives full source code of the stack.&lt;/p&gt;

&lt;p&gt;
Tsuneo&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>