| Electronic Components Datasheet Search |
|
AN4227 Datasheet(PDF) 4 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4227 Datasheet(HTML) 4 Page - STMicroelectronics |
|
4 / 13 page ![]() Hardware description AN4227 4/13 DocID024106 Rev 1 In this board the microphones are used in stereo configuration, so the two digital outputs are shorted (Mic_DATA12, refer to schematic) and the two MEMS LR pins must be respectively set one to GND and the other one to VDD. On the board, the resistors R1 and R13 already set the LR pin of the microphones, R1 and R42 give the user the possibility to change the MEMS polarity. Note that the PCB sections hosting the MEMS microphones are detachable. This option has been considered to let the user put the microphones in the desired position (i.e. for a display application in which the microphones are placed at the edges of the display). • The hardware relative to the STM32F107RC microcontroller has been chosen to support both modes of usage listed above (either STSmartvoice interface or USB sound card). The board hosts two clock devices, the first one is a crystal quartz at 12.288 MHz and the other one is an active oscillator at 12.288 MHz as well. The first one, connected to the OSC_IN and OSC_OUT pins, serves to generate the entire internal clock of the microcontroller (STM32 clock tree). Once the clock tree has been set, all the internal peripherals of the microcontroller have their own clocks. If the ST audio hub is used as the STSmartVoice interface, the internal clock tree provides the clock for the USB, for the I2C cell, for the I2S cell and also provides the clock for the daughterboard through the MCO pin (12.288 MHz as well). The microcontroller is used to program the STA321MPL via I2C and also is used to decode the I2S coming from the daughterboard and to stream the audio via the USB. For this reason dedicated STM32 pins are connected to the connector physically interfacing the STSmartVoice board. An additional clock device (active oscillator) has been mounted for debugging purposes only. In the default configuration, the selector composed of R42, R21, and R17 is set to connect the MCLK trace to the MCO pin (refer to the schematic). If the ST Audio hub is used as a USB sound card, the clock tree is used to provide the MIC_CK and SPI_CK thanks to internal timers and a dedicated loop trace on the board (short between pin 21 and pin 27). The STM32 samples the output data of the microphones using the synchronous serial port (SPI1). The microphone signal MIC_DATA12 is a stereophonic signal and the SPI must be able to sample both channels. Since MIC_DATA12 is synchronous with its clock, SPI_CK must be doubled. Summarizing, the timer generates: – MIC_CK = 3.072 MHz – SPI_CK = 6.144 MHz The supported microcontroller USB interface allows streaming the audio on the USB peripheral, rendering this demonstration board compatible with any laptop or desktop. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |