cancel
Showing results for 
Search instead for 
Did you mean: 

SPH0641LU4H microphone and that is i connected to stm32 nucleo-L476RG board and in my pc's putty

sachi189
Associate

i want clapping and outside sound provide to the SPH0641LU4H microphone and that is i connected to stm32 nucleo-L476RG board and in my pc's putty.

i can tried heat and trials methods in that using DFSDM1 to configure the microphone and USART2 for conveyed to the PC, but it's got wrong and i just confused to how to do that. Let me explain details about mainly what configuration i was doing,

in DFSDM1, i was configure channel1 parameters with SPI with rising edge and spi clock is internal SPI clock, offset is 0, right bit shift is 0*00, in analog watchdog parameter i was using filter order is sinc 3 filter type and oversampling is 32. now in filter0, regular channel selection is chennel1, continuous mode, software trigger, with fast mode and dma mode enabled, now in injected channel section all i was used to disable, now in filter parameter sinc order is 'sinc 3 filter type' and fosr is 16 and lors is 1. i configure gpio pins of PB12 is the data_IN and PC2 is the clock_out, i was not enable the NVIC parameters. In DMA settings i was used circular mode, data width is WORD, direction is peripheral to memory, and priority is very high.

in USART2 configuration mode is Asynchronous, in parameter settings baud rate is 115200 bits/sec, word length 8 bits, pirity is none and stop bits is 1. in advanced parameters - data direction is receive and transmit, over sampling is 16 samples with single sample is disable. In advanced features all are disable with overrun and DMA on RX error was enable.

now, i can not understand how to achieve my goal and whether i was going right or wrong. Can anyone give me a proper solution to achieve my goal.

0 REPLIES 0