Real time Streamining of information

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello People,

   

I've used 16 bit ADC,DMA,USBFS,& Amux for converting an analog  signal from sensors continuously send the through USBFS to the PC.I've enabled the DRQ hardware request of the DMA and connect it to the ADC EOC so after receiving the request from ADC, DMA channel reads 2 bytes of data from ADC output register & write them to the destination RAM buffer and increment the destination address by 2. and then do this again and again for every conversion of the ADC so the next TD will be the Same TD[0].Q1:The maximum transfer count for a single TD is 4096 bytes Does using using the foregoing configuration can affect continuously sending or after 4096 my conversion stops?

   

 

   

For streaming this data the type of transfer used is Isochronous which are intended for streaming data to a host through a constant and real time stream of prenegotiated bandwidth on the bus.Q2:How to do the sychronization between the source and the sink to maintain a constant and uninterrupted flow of data from device the buffer to the PC?

0 Likes
10 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

You may use two TDs in a loop, so that when the terminal count is reached the second td jumps in. Allows for double-buffering, too.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

These might be of assitance -

   

 

   

http://www.cypress.com/?rID=44335     AN61102

   

    

   

         

   

http://www.cypress.com/?rID=37793     AN52705

   

http://www.cypress.com/?rID=82680     AN84810

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Two problems with the design :-

   

1-The file .inf is mising. isn't it  suppose to be generated automatically after building the project.

   

2-I am using an analog multiplexer to take the input from both the sensers hoe am i going to do this with the design.can i connect it to the EOC ofthe ADC some how.

0 Likes
Anonymous
Not applicable

Project is attached

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

... or not?

0 Likes
Anonymous
Not applicable
0 Likes
Anonymous
Not applicable

I tried to upload the project for 3 times and it doesn't workout with me souse the following link to download the project.

   

http://www.2shared.com/file/jTSilbls/DMA-ADCcywrkArchive01.html

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

When you post chrome is a problem for uploading, use IE or Firefox.

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

  Hi,

   

Last problem is updating my driver since I've installed creater 3.0 the usb driver for sending the data is not working.

   

when I locate the inf file in the generated folder the usb doesn't recognize the usb I tried diferent inf files and different project and different computers.also I tried to rename the file also nothing channged.

   

Please help

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

This might help -

   

 

   

    

   

          http://www.cypress.com/?app=forum&id=2232&rID=89607

   

 

   

Regards, Dana.

0 Likes