LPC4370 HSADC data stream through USB

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

LPC4370 HSADC data stream through USB

1,087 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jcunha on Tue Jan 26 14:07:19 MST 2016
Hello everyone.

I need to develop an application for LPC4370. I'm using LPCXpresso v8.0 and LPCOpen.
For now I'm using 2 LPC link 2 to test my code.

Is it possible to stream data from the HSADC running @ 40 MSPS through USB?

If possible can someone steer me in the right direction, I would appreciate.


Thanks.
Labels (1)
0 Kudos
Reply
3 Replies

979 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jcunha on Wed Jan 27 08:39:34 MST 2016
Thanks for your input.

I want to stream data to a PC. Processing will be done at PC side.

I can tolerate some latency because I only need to acquire 10 ms at 40 MSPS. Because I can't store all those samples locally I need to stream it while acquiring.

I was trying to use the libusb examples from LPCOpen.

0 Kudos
Reply

979 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by g40 on Wed Jan 27 05:55:52 MST 2016
Stream to what? A PC or something more 'real-time' oriented? Are you proposing to use isochronous transfers? If you can tolerate some latency at the host end, and get your samples into the endpoint fast enough, I suspect you might be able manage this rate. Absolutely no guarantees though.
0 Kudos
Reply

979 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rocketdawg on Tue Jan 26 15:02:28 MST 2016
Given that USB 2.0 theoretical bandwidth limit is 60 MBytes/second but real world speeds for modern PCs are only ~35 MBytes/second,
how many bytes in a sample and how many samples per second?
What do you think?
0 Kudos
Reply