- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Project is attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
... or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you post chrome is a problem for uploading, use IE or Firefox.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content