The Windows drivers for the USB232 and USB485i USB to serial converters can generate a wide selection of baud rates. The new USB232U and USB485Ui can generate an even wider selection of baud rates. However, many Windows applications and some software components offer a fairly restricted choice of baud rates to the user or programmer.
The available solutions to these problems depend on how much control as a user or a programmer one has over the application in question.
If the application being used cannot be modified and does not support the desired baud rate, it is possible to spoof one of the supported baud rates in the driver so that the desired baud rate is generated instead. This is a fairly tricky operation and involves either:
See Spoofing Baud Rates for USB232 and USB485i for details of the process.
If one has written an application in Visual Basic, using the supplied MSComm control for serial communications, one finds that only a limited set of baud rates is available when setting the MSComm object's Settings property. The options in this case are as follows:
If one is programming serial communications at the Win32 API level, using the GetCommState and SetCommState functions, one may set theBaudRate member of the DCB to any baud rate supported by the driver.