- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I wonder if I can stream 2 diffrent audio via 2 diffrent output?
Thanks
Yoni
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum!
"Streaming Audio" consists of several different processes that depend on the wanted / required environment
Where does the audio come from, what is the desired sample rate, are you planning any manipulation of the stream(s)
What interface is the audio going out the PSoC.
And lastly: What (which) development kit have you got or which do you plan to get?
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Bob
I am enthusisatic using the psoc -5, and happy to your fast reply to my first post on forum.
I try to stream audio from microphone, the sample rate -10ks/second , I want to seperate to 2 speaker, one for bass (low frequencies) and one for (high frequencies)
What interface is the audio going out the PSoC: Microphone
The kit is cy8ckit-001
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This you can solve straightforward:
Condition the micro-input to a range of 0V..Vdd as a maximum or to Vref as an optimum. No negative voltages!!!
Use the ADC to convert to digital. First approach: transfer values to a memory area with DMA.
Use the Filter component as a high-pass and a low-pass. Feed ADC to Filter with two DMAs
First approach again: Data into memory, then one channel into DAC with DMA, the 2 channels...
Output of DAC goes into OpAmp configured as follower (Gain = 1) to output pin.
Happy coding
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To handle ground referenced signals (eg. offset them so they
meet input CM range of PSOC) see attached approaches.
The VDAC output Z is 16 K ohms nominal at 4 V range. If your load is hi Z
to the VDAC, you will not need output buffer OpAmp, But if you have significant
loading do as Bob suggested, add the OpAmp configed as a buffer.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Don't forget because you have OpAmps in PSOC you can consider
using Sallen Key approach for HP and LP filtering. Has the advantage
over DFB / VDAC8 lesser distortion, noise. If you needed DFB for
something else.
Use the filter designer at TI for either filter.
http://www.ti.com/lsds/ti/analog/webench/webench-filters.page
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A good discussion of DAC distortion and measurment here -
And attached (though DDS has discussion of DAC resolution vs distortion).
Regards, Dana.