usbhid in lpc1769 requires some delay between the 2 64 bytes interrupt transfers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

usbhid in lpc1769 requires some delay between the 2 64 bytes interrupt transfers

713 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sudee on Mon Jan 20 04:32:44 MST 2014
hello.

i am using the lpc1769 running at 120mhz to use it as an hid device with INTERRUPT end point for IN and OUT POINTS with 1msec and 64bytes transfer

, BUT i am facing one problem there i am unable to send multiple 64bytes frames at a time, i need to give some delay in between every frame

transmission this will affect the purpose of my project as i need to collect adc data with specified samples and frequency but for every time i need to

change the delay values

Do you know any clue about delay as the device should send all the data work without delay

ex:
for(i=0;i<5;i++0)
{
usbwriteEP(0x81,64);
Delay(15000);//why i need this
Delay(16000);
}

regards
Labels (1)
0 Kudos
Reply
0 Replies