This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
boards:ecb:usb-fifo:start [2017/03/24 11:44]
will [Bill of Materials]
boards:ecb:usb-fifo:start [2017/03/26 16:57]
will [Example Code]
Line 160: Line 160:
         ret         ret
 </​code>​ </​code>​
-Untested idea: For writes up to 512 bytes in length, I believe you could signal a Send Immediate, then poll for the RX_EMPTY bit, and then proceed to load up to 512 bytes into the transmit FIFO without checking the RX_EMPTY bit again (using the OTIR instruction,​ or an unrolled loop of OUTIs). I believe the 1KB FIFO in the FT232H is divided into two 512-byte buffers and one is loaded with data while the other is transferred over USB, so once any space in the buffer becomes available you can be confident there is at least 512 bytes of space available. Again, this is untested, but could allow for very fast transmission. 
boards/ecb/usb-fifo/start.txt · Last modified: 2017/03/26 16:59 by will
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0