- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Everybody ,
I want toKnow the possible means to transfer continuous Digital output data of the DelSig ADC through the USB simultanuously. and if the answer is using DMA i cant find the Adresses for their TD and channel so i can use it as Periferal to Periferal transfer ADC->USB.
Thanks in advance
Maxdamage
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On Creator's start page you can search for examples. There is one named USBFS_AUDIO which uses DMA to transfer the data. This will probably help answering your questions.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
and take a look at Project#102 – USB Audio using the PSoC
But I think USBFS_AUDIO - not a good idea - ADC data distorted Windows (volume control and built-in filter).
maybe Is it realistic to use a high speed USBFS example project DMA Auto Mode, but in emulation UART mode ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This discusses addresses, where to find them, for ADC (and other considerations) -
http://www.cypress.com/?rID=44335 AN61102
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello PSoC masters, thanks for reply.
I have another problem most of the projects i download it from here won't work i think they are not compatible with my version of the creator what do you propose?(screen shot for it is attached).
Another thing AN61102 doesn't contain the distination address of the USB periferal . I've read that it isn't possible to transfer ADC output directly throuth the USB it must go through the SRAM first is that true?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you are using Creator 2.0 while the latest version is Creator 3.0. You can download latest from Cypress's website and install, it will be co-existent with the older 2.0. Download from here secure.cypress.com/psoccreator/
Bob
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello people,
For the first time in my life i think when i read more i became more confused !!
i've read the application notes suggesed by Dana which is AN56377. its very comprehensive and complex but it isn't that informative. i think the most similar project to what i wan't to do is Project 3: Increasing USB Throughput with DMA Automatic Memory Mgmt. I am trying to compile this project which will facilitate understanding what they are trying to do help me solve the error.
I want to know how can i fill the SRAM part in the cut through mode of the USB with ADC output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A picture does not help much, best is always to upload the complete project since it contains all your settings. Use Creator -> File -> Create Workspace Bundle and upload the resulting archive (do NOT use chrome, will not work)
Bob
- 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
Yes, boot code changed, libraries moved to nano libraries, look at
release notes in Creator Documentation and google "psoc creator
3.0 problems" and you will see where these issues were handled.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello guys,
I am trying to perceive one of the example projects that is pointed out by Bob (USBFS_AUDIO) and Iam wondering if it has app note associated with it ?
#define NUM_BUF (10u)
#define TRANS_SIZE (32u)
Why to use 10 TD and 32 Transaction bits?
Why to use unsigned numbers ? we normally use the number naked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you ever seen a negative buffer count? This IS an unsigned number, and so it is expressed as such.
That is done according to the MISRA-C standard en.wikipedia.org/wiki/MISRA_C
Bob