Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

VCP program for Silabs C8051F380

Status
Not open for further replies.

bonjelo

Newbie level 4
Joined
Jan 29, 2006
Messages
6
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,320
We are using a microcontroller to provide IO (ADC and GPIO) to control and measure external devices. I have successfully programmed UART functions of microcontroller device (Silabs C8051F380) to communicated with host programs on PC over RS232 (COM1) interface. For this project the host sends a command to the device in which the device returns a response (such as ADC level or level of GPIO port etc).

I would prefer to use USB interface between host and device but have found USB examples too complex. I was wondering if there is any example code for the Silabs C8051F380 that would make it appear as a virtual com port device such that there would be minimal modifications to the host application.

In short I want to transparently (just change com port number to that of VCP) send commands from the host to device over USB using the virtual com port (minimal modification to existing host programs) and have device interpret commands as was performed with UART functionality.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top