|
From: Tim R. <ti...@pr...> - 2012-11-19 18:05:08
|
h....@sa... wrote: > hi, how do i set the baudrate in wich i whant to communicate with a device? What device, exactly? Here's the issue. A USB CDC serial device does not have a baud rate. It simulates the actions of a serial port, but it acts at USB speeds. If you have a USB-to-RS232 converter that has a real RS232 port at the other end, then it depends on the manufacturer. There is a standard request to set the data rate, data bits, stop bits and parity -- SET_LINE_CODING. It's defined in the USB CDC Specification. -- Tim Roberts, ti...@pr... Providenza & Boekelheide, Inc. |