The interrupt transfer of High speed on LPC1830.

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

The interrupt transfer of High speed on LPC1830.

562 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by shiggy on Sun Jan 05 01:20:23 MST 2014
Hi everyone!

I am using the USB 2.0 High speed of LPC1830.

I question you about that of the interruption transmission to which a host(libusb) receives data from a device (LPC1830).
-------------------------------------------------------------
The command of  host: usb_interrupt_read()
The command of device: USB_WriteEP()
-------------------------------------------------------------
When there is no send data, is it that which is if the buffer is emptied?
When there is send data, should the send data be cop(ied) to the buffer?

The data transfer interval is 250us and the data size is 256 bytes.

I have made a code of bulk transfer already, but unfortunatey the latency time is not
specified(or guarantied).

So I am considering the interrupt transfer.
If anyone give me any comment, I am very happy.

Shiggy


Labels (1)
0 Kudos
2 Replies

534 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by aastha001 on Sun Apr 05 04:48:35 MST 2015
Hello Shiggy,
I am trying to write a bulk transfer program for LPC 1830. for this, I have taken Mass storage program as a reference. I want to make firmware for USBTMC. can you give  me some guidance regarding this?

Thanks,
Aastha
0 Kudos

534 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sudee on Sun Feb 09 23:16:37 MST 2014
hello shiggy,
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
0 Kudos