2019-02-11 01:23 AM
I am using STM32F407 board with cortex-m4 and Wolfson pi audio extension card. I am using Keil micro vision 5. I Want to generate white Gaussian noise signal using the code(which I have to write) and I want to pass that output to the speaker. I went through some examples like audio passthrough and some others which were given in DSP Lab modules. I observed that we can give DMIC IN and LINE IN as inputs to the system so that we can hear out using headphones. But in my case, I want to generate that input signal within the code. Is this possible? I tried passing rand function as input which generates random numbers within the range 0 to 32767 in the stm32_loop_intr function, but I couldn't hear anything on headphones. So, is there a way to generate a white Gaussian noise signal? If this is possible, can I hear that sound through headphones?
2019-02-11 04:17 AM
The input/output lines of the F407 discovery lines are associated with the external DAC on the discovery board, the CS43L22 audio DAC chip.
Check the SPL-based firmware package for the discovery board, that used to contain example code.
Once the feeding of the DAC is running, sending auto-generated (noise) signals should be easy.
I'm unaware of the regarding Cube support.
2019-02-11 06:42 AM
I am sorry, i couldn't understand. Can you explain in detail a bit?