<?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>Clear Double Buffer in USB Modul . LPC2368</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/23822/clear-double-buffer-in-usb-modul-lpc2368</link><description> 
Hi! 

 
Is it possible to clear the Double Buffer Register in the
USB-Modul ??? 

 
&amp;Acirc;&amp;micro;C:LPC2368 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Clear Double Buffer in USB Modul . LPC2368</title><link>https://community.arm.com/thread/55592?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2009 18:10:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ff7e417d-3158-447e-9763-bac11445c54d</guid><dc:creator>Tsuneo Chinzei</dc:creator><description>&lt;p&gt;&lt;p&gt;
For OUT endpoint, put &amp;#39;Clear Buffer&amp;#39; command twice.&lt;br /&gt;
For IN endpoint, there is no good way from the device side.&lt;/p&gt;

&lt;p&gt;
&amp;#39;Set Endpoint Status&amp;#39; command flushes buffers by ST bit, but it
clears the data toggle too. This feature targets Set_Configuration
and Clear_Feature( ENDPOINT_HALT ) support, not just for flushing
buffer.&lt;/p&gt;

&lt;p&gt;
From the host app side, put pipe reset command, if the device
driver supports it. Then, Clear_Feature( ENDPOINT_HALT ) request is
issued, and the firmware flushes the endpoint buffers.&lt;/p&gt;

&lt;p&gt;
&amp;quot;Keil Usb example / flow control&amp;quot;&lt;br /&gt;
&lt;a href="http://www.keil.com/forum/docs/thread13257.asp"&gt;http://www.keil.com/forum/docs/thread13257.asp&lt;/a&gt;&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>