Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

pic 16f877 + usb help

Status
Not open for further replies.

sami123qa

Newbie level 4
Joined
Aug 21, 2005
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,313
16f877 and usb

can we connect usb to the pic16f877 and if there is any example plz post it to me
 

tkbits

Full Member level 5
Joined
Dec 4, 2004
Messages
242
Helped
39
Reputation
78
Reaction score
2
Trophy points
1,298
Activity points
2,209
There's a problem with receiving data.

At max rated 20MHz, you only get 5 Mips. As it takes 2 instructions (3 instruction cycles because of unconditional branch) for a busy wait, you don't really have time to do software USB. Even with interrupts, you have latency.

You'll need an external USB peripheral. Pick one and someone may be able to help you. Search the board for USB.
 

alexz

Full Member level 5
Joined
Nov 19, 2004
Messages
283
Helped
6
Reputation
12
Reaction score
3
Trophy points
1,298
Location
UK
Activity points
2,246
You would have to have an external USB tranceiver.
But there is a PIC now which contains a USB tranceiveron chip.
that is PIC18F4550 for example
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top