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.

USB latency issue for real time applications

Status
Not open for further replies.

Rohith_elec

Full Member level 4
Joined
Dec 16, 2011
Messages
198
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,470
Is there any way to minimize latency in USB communication, to be useful for real time applications like cnc
How can we compare USB2 to USB3 in terms of latency
 

I use USB2.0 for CNC using a PIC18F4550 as the CNC controller and have not experienced any issues with it. The host PC transfers G-Code instructions to a buffer on the PIC, such that the PIC has a complete movement instruction on chip. The host is always waiting on the PIC (i.e. waiting on the CNC system) so no latency.
 

I wrote the software myself. The PIC translates G-Code into stepper motion (acceleration, deceleration etc).
I do have Mach 3 but that does not use USB so I rarely use it as it relies on a parallel port which are rare nowadays.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top