Audio signal processing psoc5lp 059kit

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

cross mob
Anonymous
Not applicable

I am working on a team project for school, and we are using the PSoC to take in an audio signal from an electret microphone/preamp circuit, put this signal through a band pass filter, and output it to an amp/headphones circuit. All of the circuitry is worked out and we are having a custom PCB made for that. What we are having trouble with looking at is how to do the signal processing.

To do this, we will be using a DelSig converter, the Filter component, and a DAC (still have to do research to figure out which is used for audio). To interface these blocks, do we have to use a DMA or multiple DMAs? Is there a way to pass the readings from the mic to the ADC, band pass filter, DAC, and output in the code alone or do we need the DMA?

gdfgh.jpg

0 Likes
1 Solution
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

ferhatbesni,

you may look into similar project examples (Audio input - DelSig_ADC - Filter - PWM/DAC8 using DMA only) here:

Class D adcDelSig>Filter>Pwm using DMA only

Your analog front end for electret microphone using an instrumentation amplifier is an overkill. Using DelSig_ADC you can probably sample microphone AC output directly (through a capacitor) or have single opamp for amplification. Many ebay microphone circuits already come with opamp installed.

View solution in original post

0 Likes
5 Replies
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

ferhatbesni,

you may look into similar project examples (Audio input - DelSig_ADC - Filter - PWM/DAC8 using DMA only) here:

Class D adcDelSig>Filter>Pwm using DMA only

Your analog front end for electret microphone using an instrumentation amplifier is an overkill. Using DelSig_ADC you can probably sample microphone AC output directly (through a capacitor) or have single opamp for amplification. Many ebay microphone circuits already come with opamp installed.

0 Likes
Anonymous
Not applicable

i dont use pwm.

0 Likes

ferhatbesni,

If you look closer on the projects provided, you will find both DAC and PWM examples.

/odissey1

0 Likes
Anonymous
Not applicable

It gives a filter error.what would be the reason?

0 Likes
Anonymous
Not applicable

I tried to Todd dust's analog filter application with 059kit.But the filter does not cut at 6k.Is there a code difference between 059kit and 5lp development card or  pin difference?

0 Likes