puneetnepsam
New Member
hi,
i am working on a project which uses PIC microcontroller.
i have completed all the modules in the pic and make them working(i2c uart rtc )..all these things..
i am using PIC24F in which we want to receive some data from the computer.
our controller is attached to the computer through the usb bus.
We are using PIC controller as a device and the computer attached to it as a host.
Actually through the computer some data comes and based on that data i have to process the modules.
currently i was doing through polling....but now i want to use interrupt..
i read one reference manual of USB on-the-go , where the process is explained...
its given that we have to create one data buffer of expected size,and when the host will send the OUT TOKEN, data will automatically get transmiited onto that buffer,
how can i intercept the data which is coming from
what registers i have to set...how to interface...
can anyone please guide me..
thanks in advance
Puneet Gupta
i am working on a project which uses PIC microcontroller.
i have completed all the modules in the pic and make them working(i2c uart rtc )..all these things..
i am using PIC24F in which we want to receive some data from the computer.
our controller is attached to the computer through the usb bus.
We are using PIC controller as a device and the computer attached to it as a host.
Actually through the computer some data comes and based on that data i have to process the modules.
currently i was doing through polling....but now i want to use interrupt..
i read one reference manual of USB on-the-go , where the process is explained...
its given that we have to create one data buffer of expected size,and when the host will send the OUT TOKEN, data will automatically get transmiited onto that buffer,
how can i intercept the data which is coming from
what registers i have to set...how to interface...
can anyone please guide me..
thanks in advance
Puneet Gupta