| Zakładka z wyszukiwarką danych komponentów |
|
UM1900 Arkusz danych(PDF) 8 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1900 Arkusz danych(HTML) 8 Page - STMicroelectronics |
|
8 / 19 page ![]() Hardware description UM1900 8/19 DocID027905 Rev 3 3.2 USB connector and power source A USB connector available on the board supports audio streaming to the host PC. It can also be used to power the whole system, Nucleo board included. To enable system power sourcing from the X-NUCLEO-CCA02M1 expansion board USB connector: close Jumper J1 on the X-NUCLEO-CCA02M1 expansion board place JP5 in position E5 on the STM32 Nucleo board 3.3 Audio acquisition strategy This section summarizes the digital MEMS microphone acquisition strategies and principles used in the application. It can simplify the comprehension of the firmware structure and utilization. A digital MEMS microphone can be acquired via different peripherals, such as SPI, I²S, GPIO or DFSDM. It requires an input clock and it outputs a PDM stream at the same frequency of the input clock. This PDM stream is further filtered and decimated for conversion into PCM standard for audio transmission. Two different digital MEMS microphones can be connected on the same data line, configuring the first to generate valid data on the rising edge of the clock and the other on the falling edge, by setting the L/R pin of each microphone accordingly. On the X-NUCLEO-CCA02M1 expansion board, two microphones share the same data line and can be managed differently, depending on the MCU capabilities. If a DFSDM (Digital Filter for Sigma Delta Modulators) peripheral is available, the microphones can be routed to DFSDM channels, otherwise use the I²S peripheral (for the first and the second microphone) and SPI peripheral (for the third and the fourth). 3.3.1 DFSDM microphone acquisition The DFSDM peripheral generates the precise clock needed by the microphones and reads the data on the rising and falling edges of each PDM line. Acquired signals are then input to DSFDM filters for hardware filtering and decimation to generate standard PCM streams. An additional software high pass filtering stage performed removes any DC offset in the output stream. DMA is adopted in order to reduce MCU load. 3.3.2 I²S and SPI microphone acquisition In this scenario, a precise clock signal is generated by the I²S peripheral while the SPI is configured in slave mode and is fed by the same timing signal generated by I²S. This clock is then halved by a timer and input to the microphones. The SPI and I²S peripherals operate at twice the microphone frequency to read the data on both the rising and falling edges of the microphone clock, thus reading the bits of two microphones each. A software demuxing step separates the signal from the two microphones and allows further processing like PDM-to-PCM conversion. The simplified block diagram summarizes this acquisition process. For further information regarding MEMS microphone and PDM-to-PCM decimation, please refer to application note AN3998 on www.st.com. |
|
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |