This shows you the differences between two versions of the page.
|Both sides previous revision Previous revision Next revision||Previous revision|
boards:ecb:usb-fifo:start [2017/03/24 11:44]
will [Bill of Materials]
boards:ecb:usb-fifo:start [2017/03/26 16:59] (current)
will [Example Code]
|Line 161:||Line 161:|
|-||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.||+||I also have a file transfer application for CP/M, FIFOPIPE. Drop me an email (will /at/ sowerbutts.com) if you'd like to try it out.|