interrupt on USB activity


Closed Thread
Results 1 to 3 of 3
  1. #1
    Billou's Avatar
    Billou Guest

    Default interrupt on USB activity

    I tried to write PBP programm with an interruption on USB bus activity.

    Here is my code ..

    http://www.picbasic.co.uk/forum/showthread.php?t=3434

    Any ideas ?

  2. #2
    Join Date
    Jul 2004
    Location
    CA
    Posts
    78


    Did you find this post helpful? Yes | No

    Default

    CDC is using the Virtual COM Port Similar to a serial COM port. not the USB Port. Make sure you know the difference. CDC uses a serial communication Protocol, while the USB uses it's own protocol, stacks, etc.


    Srig

  3. #3
    Billou's Avatar
    Billou Guest


    Did you find this post helpful? Yes | No

    Default usb com

    for sure, but CDC is th way to be recognise by PC. I use USB WITH CDC protocol.

    USB or USB CDC it doesn't change the way to code a USB com in PBP.

    For example : when you're waiting for a byte from the PC , you will use "USBin" command. The PC will send you a byte thru his virtual com port but for you it will come in PIC as a standart USB communication.


    So logicaly it will be possible to try to detect this activity... but i don't know how

Similar Threads

  1. Easy HID Command -Response application
    By ptig185 in forum USB
    Replies: 25
    Last Post: - 22nd September 2010, 20:56
  2. Can't ID interrupt source with this IntHandler??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd June 2009, 03:35
  3. NEWBIE: Some basic questions using interrupts
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2006, 03:59
  4. interrupt on USB com
    By Billou in forum USB
    Replies: 0
    Last Post: - 3rd March 2006, 01:45
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 02:07

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts