pic18f4550 detect usb host present

Status
Not open for further replies.

devil6600

Full Member level 5
Joined
Nov 15, 2008
Messages
250
Helped
7
Reputation
14
Reaction score
7
Trophy points
1,298
Activity points
2,931
hi

can anyone tell me how to detect usb host connected on pic18f4550? i wanted to setup interrupt so that when usb host sends data then 18f4550 usb interrupt should start and receive/send required data

thanks
 

Hi,

The host send a frame to the PIC18F4550, and the PIC18F4550 received it by interrupt and answer with a correct frame, so that the host see the PIC18F4550 as a full speed device.
If you use the Microchip framework, all the interrupt stuff has been done, you just have to use it.
hope it helps you.
joseMiguel
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…