USBSerial how to set speed

28 Feb 2012

Hi,

I'm new here, but already test several basic stuff on the mbed NXP LPC1768.

I'm gone use it to read sensor and I need maximum speed on USB. Before I worked with FTDI at 3Mbs.

I didn't manage to find what is the max speed possible with the USBSerial (using direct D+ D- from the NXP) and how to set the speed! (only on PC side??).

And if I go for the PCSerial, what is the maximum baud rate I can use?

Thanks in advance!

Fred

28 Feb 2012

Hi Frederic,

In fact, a USBSerial object sends data at the USB speed (I remember some tests I did where I reached 4.0 Mbit/s when 64bytes packets was sent) so no need to setup your speed on the mbed side.

Sam

29 Feb 2012

Thanks! I'll test it! 4.0Mbit/s sound good!

Fred