check state of pins on d- d+ of atemga32u2

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

If I have not initialized the USB function of the 32u2, can I get the pin status of the external D- D+ states? If so how would that be done?

 

UPOE  bits 0 and 1 maybe?

Last Edited: Sun. Jun 14, 2020 - 10:02 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

From the datasheet it indeed looks like you need bit 1 and 0 .

It does not state if the bits only work when USb is enabled or not, so I think they are active always, but when you have a demo board that should be easy to check.