USB and Interrupt - can it work together ?


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2006
    Posts
    14

    Default USB and Interrupt - can it work together ?

    Hi all

    I'm using a PICBASIC PRO and pic18f2455 to communicate with a PC by USB.

    Every time I use any Interrupt (Timer, External) The USB communication fail.

    Can they work together?

    Thanks
    Shamir

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Sure they can work together. Just make sure to never interrupt the USBService process and do the USBSERVICE each 1020 mSec.

    Darrel Instant Interrupts comes handy in this case to prevent head banging.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Easy HID Command -Response application
    By ptig185 in forum USB
    Replies: 25
    Last Post: - 22nd September 2010, 19:56
  2. Speed of USB EasyHID and Time problem
    By sjohansson in forum USB
    Replies: 10
    Last Post: - 18th January 2007, 22:21
  3. Replies: 1
    Last Post: - 2nd November 2006, 23:24
  4. interrupt on USB activity
    By Billou in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th March 2006, 01:48
  5. interrupt on USB com
    By Billou in forum USB
    Replies: 0
    Last Post: - 3rd March 2006, 00:45

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