首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 无线/通信 > 应用程序从RS-232 UART迁移到USB对PC软件的影响微乎其微

应用程序从RS-232 UART迁移到USB对PC软件的影响微乎其微

资料介绍
The RS-232 serial interface is no longer a common port
found on a personal computer (PC). This is a problem
because many embedded applications use the RS-232
interface to communicate with external systems, such as
PCs. A solution is to migrate the application to the
Universal Serial Bus (USB) interface. There are many
different ways to convert an RS-232 interface to USB,
each requiring different levels of expertise. The simplest
method is to emulate RS-232 over the USB bus. An
advantage of this method is the PC application will see
the USB connection as an RS-232 COM connection and
thus, require no changes to the existing software.
Another advantage is this method utilizes a Windows
®
driver included with Microsoft
®
Windows
®
98SE and
later versions, making driver development unnecessary.
AN956
Migrating Applications to USB from RS-232 UART with
Minimal Impact on PC Software
Author: Rawin Rojvanit OVERVIEW
Microchip Technology Inc.
A Windows application sees a physical RS-232
connection as a COM port and communicates with the
INTRODUCTION attached device using the CreateFile, ReadFile, and
WriteFile functions. The UART module on the PICmicro
The RS-232 serial interface is no longer a common p
标签:RS-232UARTUSBUSB转232
应用程序从RS-232 UART迁移到USB对PC软件的影响微乎其微
本地下载

评论