STMicroelectronics AN2405 Migrating RS232 to RS232/USB using Turbo Plus uPSD

This document describes how to migrate from RS232-only applications to RS232/USB applications using Turbo Plus uPSD. Turbo Plus uPSD has two UART ports, one of which is used for the USB-to-Serial Bridge connection. The goal is to implement an easy migration with minimal impact on legacy applications.


STMicroelectronics AN2405 Migrating RS232 to RS232/USB using Turbo Plus uPSD - cover page
Brand
STMicroelectronics
Category
Other Electronics
Document type
Application Note
Language
English
Pages
13
File format
PDF
File size
162 KB
Published
07 August, 2012
Updated
29 September, 2023
MD5 checksum
6965173C8CADE8C88F87E600B72BF1A5

About this manual

This document explains how to migrate legacy RS232 applications to RS232/USB applications using the Turbo Plus uPSD. The solution utilizes the microcontroller's two UART ports, where one is dedicated to the USB-to-Serial Bridge connection.

The guide details the architecture, including loading CDC class drivers for USB on Windows 2000 and XP. It covers the configuration of the USB_UART1 bridge, hardware connections between UART0 and UART1, and the firmware requirements for handling CDC class requests to emulate a virtual COM port.

What's inside

  • Migration description
  • Architecture
  • Loading CDC class drivers
  • CDC Firmware Driver
  • CDC Class Requests
  • USB_UART1 Bridge
  • USB-to-Serial Bridge plug-in
  • Example of easy migration
  • Revision history

Specifications

Supported Operating SystemsWindows 2000, Windows XP
UART Baud Rates40.0 KHz oscillator supports 115200, 57600, 28800, 19200, 9600
Maximum Power Consumption100 mA

Frequently asked questions

What baud rates can the Turbo Plus uPSD UARTs be configured to operate at?

The UARTs can be configured using Timer2 to operate at 40.0 MHz oscillator speeds with resulting baud rates of 115200, 57600, 28800, 19200, or 9600.

What are the maximum power consumption requirements for the USB device configuration?

The configuration specifies a maximum power consumption of 100 mA.

Which Windows operating systems does the provided setup application support for loading CDC class drivers?

The installed driver works with Windows 2000 and Windows XP, though the .inf file must be modified to work with Windows 98/Me.

Download PDF (162 KB)

More STMicroelectronics Manuals


View all STMicroelectronics manuals →