Search found 4 matches

by bbarny
Sat Jul 06, 2013 5:30 pm
Forum: V-USB
Topic: 2 SOF detection in 1ms
Replies: 4
Views: 6055

Re: 2 SOF detection in 1ms (SOLVED!!!)

I have received from OBDEV expert a correct answer for my original problem as follows: ( ) >> >>This behavior does not surprise me, since the SOF detection does not actually >> trigger on SOF but rather on malformed sync patterns. >> If we see an edge, but can't detect a valid sync pattern, we assum...
by bbarny
Tue Jun 04, 2013 7:42 am
Forum: V-USB
Topic: "USB_SOF_HOOK" where examples or shared projects using this?
Replies: 2
Views: 3817

Re: "USB_SOF_HOOK" where examples or shared projects using t

http://vusb.wikidot.com/project:lc-meter-usb
See the macro myUSB_SOF_HOOK in the usbconfig.h file in the "LC_meter_USB_Atmel" folder.
by bbarny
Sun Jul 24, 2011 11:18 pm
Forum: V-USB
Topic: 2 SOF detection in 1ms
Replies: 4
Views: 6055

Re: 2 SOF detection in 1ms

I summarize the problem again: - Since the USB host sends Start-Of_Frame (SOF) packet to the device in every 1ms, I want to detect the arriving of SOF packets to the device. I thought, there is only one SOF packet in each 1ms time interval, but using the SOF detection capability of the V_USB softwar...
by bbarny
Thu Jun 30, 2011 5:50 pm
Forum: V-USB
Topic: 2 SOF detection in 1ms
Replies: 4
Views: 6055

2 SOF detection in 1ms

Using an USB_SOF_HOOK macro (only one instruction: sbi PINB,1 ) in order to toggle PB1 for testing SOF detection, instead of getting a square wave signal on output pin 1, a narrow pulse appears in every 1 ms. The pulse width is less then 100us. Actually it is around 5us. Can the USB driver of the de...