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.

How can start up my project with USB port?

Status
Not open for further replies.

benri22

Junior Member level 1
Joined
Apr 8, 2004
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
273
Dear all,

Currently, my projects work at the devices have I/O port such as RS232 with PC. Now, I am thinking my future project will work at USB port. Can anyone give me advices include how write drivers for PC, and how setup the port for device (MCU)?

Basically, how can I start up with USB?

Thanks,

benri22
 

Start from reading "USB complete" + USB specs

ed2k://|file|USB.Complete.PDF|3759564|080C1AB39F451FC6C6D460CE4E43E4DC|/
 

Hi benri22,

First of all you must choose a programming language for the PC software.
VB is not recomanded!!
Recomanded are C/C++/C# for Window$ OS.

Therefore i highly recomend you the book "USB design by example" by John Hide


Second if you have experience with RS232 you can use FTDI devices without knowing the USB device drivers!!
(FTDI devices are in fact peripherials that has theyr own drivers and programming from PCs is verry similar to RS232 programming in Window$)


If you really want to dig deep into USB stuff (read USB drivers, Window$ dll's) you can choose a uC (8/16 bit avaiable from many vendors, example: 8051 like from Cypress) wich has an embedeed USB interface.
 

Hi benri22,
Actually, you need not write usb driver, which is a boring and difficult job. Normally, your board should use bulk transfer type to communicated with usb host. And windows DDK provides a sample named 'bulkusb' which you can use directly. And sample code of user mode application in C is also available.
Chose a mcu with usb interface or a seperate usb chip such as philips' D12 and find the source code. Don't dive into usb develpment if you have no interesting in it, for it will take your much time.
 

Depends on required performance. If something in range 1-2 Mbits/sec is enough for your application, then just get FT232BM from FTDI or CP2101 from SiLabs and forget about all these drivers.
 

use FTDI's chips such as FT232BU.it is very suitable for mcu based applications.
 

have a look at my easy USB solution
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top