Hi,
I'm trying to get VUSB working on an attiny44, where INT0 is on portB, and portB has no other usable ports when an external oscillator is attached.
Would it be possible to doctor the code to support D+ and D- being on different ports? - at the moment the setting "USB_CFG_IOPORTNAME" only accepts one value.
I feel like this would not be a huge change if I knew where to look!? - any pointers would be appreciated ....
D+ and D- on different ports
Re: D+ and D- on different ports
Hi SamFozz,
I don't know if you can use different ports, but it is possible to use the pin change int instead of INT0:
viewtopic.php?f=8&t=11057
Ciao, Martin
I don't know if you can use different ports, but it is possible to use the pin change int instead of INT0:
viewtopic.php?f=8&t=11057
Ciao, Martin
Re: D+ and D- on different ports
This should be relatively easy by adding a
USB_CFG_IOPORTNAME1
and
USB_CFG_IOPORTNAME2
and just doing a rename in the correct files and pay attention to the changes where minus and plus pins are used.
USB_CFG_IOPORTNAME1
and
USB_CFG_IOPORTNAME2
and just doing a rename in the correct files and pay attention to the changes where minus and plus pins are used.