Sending data from RAM to USB
#13
(01-27-2016, 04:30 PM)admin Wrote: Yes, you get as many bytes sent as requested.

I looked at PureBasic, and it looks to be a bit slow from the serial port side at the max baud rate of 115,200 if you are not using hardware handshaking (which the FTDI driver supports).  If you are using the USB COM port without handshaking, you probably need a baud rate of 500,000 or more.  The buffer on the FTDI chip is 4K, but the buffer in the COM port is 64K.

I am not sure how you can open a .dll with PureBasic, but if that is possible you could use the transfer routines in the FTDXXX.dll instead of opening a COM port.

I'm using the USB COM port, and I am using the FTDXXX.dll. Baud rate is not an issue as I can let the program wait until the Rx buffer is full and then receive the data. It just seems to max out at 64k, which fits in with what you say.

Kind regards,

Francis
Dreamland Fantasy Studios
http://www.dfstudios.co.uk
Reply


Messages In This Thread
Sending data from RAM to USB - by dfstudios - 01-18-2016, 02:41 PM
RE: Sending data from RAM to USB - by admin - 01-18-2016, 03:04 PM
RE: Sending data from RAM to USB - by dfstudios - 01-18-2016, 04:18 PM
RE: Sending data from RAM to USB - by admin - 01-18-2016, 09:54 PM
RE: Sending data from RAM to USB - by dfstudios - 01-19-2016, 02:31 PM
RE: Sending data from RAM to USB - by admin - 01-19-2016, 08:32 PM
RE: Sending data from RAM to USB - by dfstudios - 01-27-2016, 01:59 PM
RE: Sending data from RAM to USB - by admin - 01-27-2016, 02:45 PM
RE: Sending data from RAM to USB - by dfstudios - 01-27-2016, 03:23 PM
RE: Sending data from RAM to USB - by admin - 01-27-2016, 04:30 PM
RE: Sending data from RAM to USB - by dfstudios - 01-27-2016, 04:36 PM
RE: Sending data from RAM to USB - by dfstudios - 01-27-2016, 04:31 PM
RE: Sending data from RAM to USB - by admin - 01-27-2016, 04:35 PM
RE: Sending data from RAM to USB - by dfstudios - 01-27-2016, 04:47 PM
RE: Sending data from RAM to USB - by admin - 01-27-2016, 04:41 PM
RE: Sending data from RAM to USB - by dfstudios - 01-27-2016, 04:50 PM
RE: Sending data from RAM to USB - by admin - 01-27-2016, 04:44 PM
RE: Sending data from RAM to USB - by dfstudios - 01-27-2016, 04:52 PM
RE: Sending data from RAM to USB - by admin - 01-27-2016, 05:02 PM
RE: Sending data from RAM to USB - by admin - 01-27-2016, 05:04 PM
RE: Sending data from RAM to USB - by dfstudios - 01-27-2016, 05:36 PM



Users browsing this thread: 2 Guest(s)