Search found 4 matches
- Mon Jun 03, 2013 4:04 pm
- Forum: V-USB
- Topic: 2 SOF detection in 1ms
- Replies: 4
- Views: 6058
Re: 2 SOF detection in 1ms
I had the same issue as you, and was using the SOF hook to capture the value of a timer and clear it. I skipped the extra run through the hook routine by looking for a low timer value and jumping past the rest of the code in the routine if the value was too low. Hope that helps (maybe not you, but s...
- Mon Jun 03, 2013 12:28 pm
- Forum: V-USB
- Topic: USB_SOF_HOOK macro executed twice per SOF
- Replies: 1
- Views: 3086
Re: USB_SOF_HOOK macro executed twice per SOF
I was able to trace this back to using the pin-change interrupt instead of INT0. The interrupt is executed on any change to the pin, not just on the rising edge of the signal that is normally used, and so two interrupts are generated by the SOF pulse.
- Mon Jun 03, 2013 11:26 am
- Forum: V-USB
- Topic: USB_SOF_HOOK macro executed twice per SOF
- Replies: 1
- Views: 3086
USB_SOF_HOOK macro executed twice per SOF
I'm trying to get the alternate oscialltor calibration routine using the timer working in my application, and was running into some weird issues. I found that the USB_SOF_HOOK was being executed twice per frame, a couple microseconds apart when there is no data, or separated further if there is data...
- Sun May 13, 2012 11:41 pm
- Forum: V-USB
- Topic: ATtiny85 self programming flash.
- Replies: 11
- Views: 14835
Re: ATtiny85 self programming flash.
This thread helped me understand why there wasn't a V-USB based bootloader for the ATtiny85 when I went looking for one. I did figure out how to work around the issues with the ATtiny architecture and updated Christian's USBaspLoader project to have ATtiny85 support. It's still a work in progress, t...