Using Raspberry Pi Codec Zero HAT

Thread Starter

Khisraw

Joined Nov 14, 2020
56
Hello,
I have recently bought a Raspberry Pi Codec Zero to do audio processing. I have gone through all the documentation and set up all the necessary settings.
When I run my codes, I get no input. So my questions are;

How can you get access directly to the ADC? Maybe the ADC may have a way to get the switch on.
Is there a library or by using PCM module below, you can just get audio input?

Audio_Input = alsaaudio.PCM(XXXXXXXXX)

- Is there a library to read ADC? I could't find anything so I assume Alsaaudio.pcm module will reach the input.
- Do I need to mask a gpio20(I2S DIN) pin or using alsaaudio.PCM will automatically mask these pins?


Sorry for these questions but I have been working on this for the last few days without any success. My codes(In python) runs without any issue but no signal comes through so I thought I might be missing something.
 
Top