So I am pretty new to the world of microcontrollers and programming them. I am using Keil uVision software simulating STM32. So the first part of my project is to record a sound and store it to memory. I downloaded the std peripheral library and found an example about how to use ADC and DMA to transfer data to memory. So I have understood some pretty basic stuff reading the code but I am somewhat confused about some things:
I can't find in the code where I am gonna define that I want the microphone line in as an input to the ADC. Also, I cannot find how I am going to adress the microphone input, I mean there are all these peripherals (I2C, ADC, SPI etc) with a basic memory mapping on the manual but I can't find the audio line in and out nowhere!
Maybe I am looking in the wrong places and surely I don't have a good understanding of the concepts.
Thank you.
I can't find in the code where I am gonna define that I want the microphone line in as an input to the ADC. Also, I cannot find how I am going to adress the microphone input, I mean there are all these peripherals (I2C, ADC, SPI etc) with a basic memory mapping on the manual but I can't find the audio line in and out nowhere!
Maybe I am looking in the wrong places and surely I don't have a good understanding of the concepts.
Thank you.