suspend action in at90usb162!!!

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Dear all!!!
I have using at90usb162 for pc to controller usb communication. It is working, but in my software program for usb162, somewhere I have to use wait statement often for 500 mili seconds...after wait statement usb162 goes to suspend mode...what should I have to write so it never goes in suspend or idle mode??

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Can't you space your actions using a timer interrupt rather than a soft delay and let the rest of the USB code run "normally" with just very minor interruptions?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't know it would be managed by timer because I have to use multiple times, though its not impossible but easier way would be if I am able switch off that suspend mode..