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.

Questions about USB Pipes and End Point

Status
Not open for further replies.

Leopoldo Silva

Newbie level 2
Newbie level 2
Joined
Apr 15, 2013
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,291
Hello guys, I hope that someone can answer some question about USB communications, I´m new at this forum and My questions are:

What is a USB Pipe?
What is End Point, How it works in PIC Microcontroller....

Because The datasheet and Internet USB in a Nutshell, they explain and explain but I cannot understand what they want to say....

Waiting an answer

Thanks!!
 

Look to USB stack source code and things will be much more clear. I also spent time reading about USB (and nutshell version, btw it is good one), but it was not clear until I printed complete source for MSP4305xx USB stack, and figure out line by line, what is going on, executing code with full logs. After, everything become complete clear, and I made my own stack with transfer rate 1 MB/s (https://forum.43oh.com/topic/2775-msp430-usb-benchmark/).

Data are going by pipes, and endpoints have in/out buffers, where are stored received data, or prepared data for sending. Easiest way is CDC, because on PC side programing is done like with serial port (using "usbser.sys" with ReadFile/WriteFile Win32 API functions). Generic bulk is faster, but job on PC side is more complicated than CDC (using "winusb.sys" with WinUsb_ReadPipe/WinUsb_WritePipe Win32 API function).
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top