1 of 1 people found this helpful
You should consider system architecture first. Technically, all can be done inside the PSoC6 w/o using Pi, which will simplify project. On the other side, the DAC output capabilities of PSoC6 are limited, you will get better quality from the Pi sound board directly. I would start with one microphone. I believe that Cypress has PSoC6 example project with digital MEMS microphone.
On your sketchup there are 3 24-bit ADCs, but
PSoC62 has only one 12-bit ADC.
It also shows three DACs (bit resolution is not shown, but sound devices usually use 24-bit DACs). Unfortunately, PSoC62 has only one 12-bit DAC.
So, as shown, PSoC resources seem to be inadequate.
PSOC62 has PDM and I2S interfaces to connect digital microphone to external computer through USB. I would check it first.
that's okay for now. if i get one mic, through a 12 bit ADC, through the pi and back to the psoc to a 12bit DAC that would be fine for now.
alright so i slimmed down the project to a simple electret microphone in to a i2s data output.
i made a electret circuit (using a transistor as an amp) with a single channel output. its noisy but that's fine for now.
i managed to get that signal into the psoc and display the voltage values via uart and reading them in putty via serial connection. it seems to work, i have a range between 0.6v and 3v
i went from circuit to the Scan_ADC (set it to single ended with averaging, which doesn't seem to do much). Then output it to uart and i can read the voltages in my terminal. so far so good. now i'm trying to hook it up to a i2s so i can connect it to a raspberry pi so i can read the digital output in python there.
unfortunately i'm completely overwhelmed by the i2s, i tried dragging one into the schematic and connect the sdone output from the adc to my i2s, but that doesn't work so i'm guessing i'm missing an important part here.
could someone kindly direct me to a possible solution?
12 bit is fine for now. i dont really care about bitrates or anything, that comes later. for now i'd be really happy if i just get a digital signal out to the raspberry pi. no matter the format.