Real time Streamining of information | Cypress Semiconductor
Real time Streamining of information
Summary: 10 Replies, Latest post by danaaknight on 12 Jun 2014 12:04 PM PDT
Verified Answers: 0
07 Jun 2014 03:38 AM PDT#1
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.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?