Search found 15 matches

by nxtv2
Mon Sep 24, 2018 8:01 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

Horo,
Can you please post how did you measure the real pol in your post from 2009?

Thanks.
by nxtv2
Mon Sep 24, 2018 7:50 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

I am using ubuntu 16.04 LTS
And by all my measurments
it IS going at 1ms.
by nxtv2
Fri Sep 21, 2018 9:53 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

To further explain my point.

When i set

Code: Select all

USB_CFG_INTR_POLL_INTERVAL
to 1, i get 8 times faster transmission than settings it to 8.
by nxtv2
Fri Sep 21, 2018 9:51 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

Ok Maybe i am getting it wrong.

I meassure data rate.

With interrupt 1 , setting it to 1ms yeilds: 8KB/s.
That is measured and know to be correct.

So is that true 1ms or it is just the normal for 8ms?


I am not talking about control endpoints.
This is the endpoint 0x81
by nxtv2
Fri Sep 21, 2018 2:47 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

But it is going at 1ms :D

It reports in my python script at 8KB/s
which means it is going at 1ms.

If i set it to 8ms it reports 1KB/s as expected.

So i guess your the one arguing.
by nxtv2
Thu Sep 20, 2018 3:51 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

I got it by setting

Code: Select all

USB_CFG_INTR_POLL_INTERVAL
to 1.

Can i get faster?
I have tried setting it to 0 , but it just defaults to 8.
by nxtv2
Thu Sep 20, 2018 1:45 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

I saw sites that refere to the poll rate as refresh rate so i thought they are same.
I stand corrected.

The fastest poll rate i got was 1ms, can i go faster?.
by nxtv2
Wed Sep 19, 2018 9:47 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

I mean the refresh rate.

Can i use more than 2 interrupt-IN endpoints?
If not then why?
As up to 7 InT-OUT are usable.

Regards
by nxtv2
Wed Sep 19, 2018 6:57 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

i need to send around 20KB/s.
I was able to get 1ms poll with interrupts by simply setting the refresh rate to 1.
how many endpoints can i use?
Also , how much time does it take tk send the interrupt endpoint data ( is it 70us like a normal frame?)

Thanks
by nxtv2
Wed Sep 19, 2018 3:17 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

Ok so i was getting it wrong. What is the fastest poll rate for interrupts. The fastest i got is 1ms. Can i go faster? Also what is the max number of endpoints IN (Host in device out) 2 are doucmented.Can i get more? And if i set multible endpoints, will the host poll them in order? and with known p...
by nxtv2
Wed Sep 19, 2018 5:06 am
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

Why is control requests no fast.From my testing they are faster than interupts.I was able to reach 32KB/s with control.i canmot use padding as that would be very slow..

I dont wanr to send partial frames.i want execute code every 10 bits sent.then continue sending normally.
by nxtv2
Tue Sep 18, 2018 6:25 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

i Guess my request wasnt clear enough. What i am trying to understand is the timing of Vusb. I want to transmit ADC readings to the PC. I need to start the ADC every around 100us max. Than the cpu can continue with Vusb. What i though was that UsbPoll doesnt retuen untill all data is written. Then i...
by nxtv2
Tue Sep 18, 2018 4:46 pm
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

If it was only that easy.

I need to configure the usn every 2 bytes
and not send the rest till the data is read.
putting it in usbFunctionread
i would miss 3 out of 4 readings
by nxtv2
Tue Sep 18, 2018 5:30 am
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

Re: modify usbFunctionRead

The request size if bigger than 2,
however i want to configure the adc every 2 Bytes.
so i want usbFunctionRead to be called every 2 bytes.
by nxtv2
Mon Sep 17, 2018 7:04 am
Forum: V-USB
Topic: modify usbFunctionRead
Replies: 27
Views: 8218

modify usbFunctionRead

Hi,
I need usbFunctionRead to be called every 2 bytes instead of 8.
How do i modify source code to do that.

Thanks.