|
|
View previous topic :: View next topic |
Author |
Message |
GreenPic
Joined: 02 May 2006 Posts: 7
|
USB cdc baud rate changing |
Posted: Fri May 12, 2006 2:50 am |
|
|
How can I change baud rate in USB CDC Virtual Com port Example?
Even if i change baud rate in 'usb_cdc_init()' and i set different baud rate in HyperTerminal it steel works so changing has no effect. |
|
|
Ttelmah Guest
|
|
Posted: Fri May 12, 2006 7:12 am |
|
|
It is a virtual com port, not a real one. The same happens wth virtual ports over ethernet. The communication rate over USB, remains the same whatever you set, and the device at the other end, receiving the data over USB, always gets the data. If however the 'virtual' port is then mapped at the device to a 'real' port, you have to make provision to hand the 'rate' data over to the device, and change speed on the real port to match the selection. This involves adding this to the Windows driver, and to the data passed over the USB connection.
Best Wishes |
|
|
GreenPic
Joined: 02 May 2006 Posts: 7
|
|
Posted: Fri May 12, 2006 8:26 am |
|
|
Ttelmah wrote: | It is a virtual com port, not a real one. The same happens wth virtual ports over ethernet. The communication rate over USB, remains the same whatever you set, and the device at the other end, receiving the data over USB, always gets the data. If however the 'virtual' port is then mapped at the device to a 'real' port, you have to make provision to hand the 'rate' data over to the device, and change speed on the real port to match the selection. This involves adding this to the Windows driver, and to the data passed over the USB connection.
Best Wishes |
So, what bit rate i have? Not 9600 (like is in usb_cdc()) ??? |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|