전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN3997 데이터시트(PDF) 9 Page - STMicroelectronics

부품명 AN3997
상세설명  Audio playback and recording using the STM32F4DISCOVERY
PDF  15 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3997 데이터시트(HTML) 9 Page - STMicroelectronics

Back Button AN3997 Datasheet HTML 5Page - STMicroelectronics AN3997 Datasheet HTML 6Page - STMicroelectronics AN3997 Datasheet HTML 7Page - STMicroelectronics AN3997 Datasheet HTML 8Page - STMicroelectronics AN3997 Datasheet HTML 9Page - STMicroelectronics AN3997 Datasheet HTML 10Page - STMicroelectronics AN3997 Datasheet HTML 11Page - STMicroelectronics AN3997 Datasheet HTML 12Page - STMicroelectronics AN3997 Datasheet HTML 13Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 15 page
background image
AN3997
Application overview
Doc ID 022390 Rev 1
9/15
This application reads all wave files from the USB Key and displays only the .WAV files that
have the following format:
●
Audio format: PCM (an uncompressed wave data format in which each value
represents the amplitude of the signal at the time of sampling)
●
Sample rate: such 8000, 11025, 16000, 22050, 44100 Hz or 48000 Hz.
●
Bits per sample: 16 bits (audio sample data values are in the range [0-1024])
●
Number of channels: 2 (stereo)
The wave from the USB Key is parsed to detect the sample rate in order to configure the
I2S accordingly. When the play back begins the blue LED starts toggling.
The playback is managed with double buffering. A first buffer is used to store the wave data
retrieved from the USB Key, using the FatFs file system.
Once this buffer is filled:
●
The DMA sends its content to the I2S peripheral which transfers it to the external audio
codec DAC
●
The data from the USB key is stored in a second buffer
Then these two buffers are swapped indefinitely, till end of the playback process.
At any time, if the USB Key is disconnected from the DISCOVERY board, the blue LED is
off, the audio DAC is stopped and red LED goes on.
When the USB Key is reconnected again to the DISCOVERY board, the red LED goes off
and the last running application starts again.
2.3.2
Playback from internal Flash
In this demonstration, the wave file is stored in the internal Flash as a const array declared
in the audio_sample.c file.
After a reset, the playback application starts playing the wave stored in the internal Flash
after initializing the Audio DAC.
2.4
Audio record application
The flowchart in Figure 5 describes the recording application. It is based on a MEMS
microphone. Audio record is available only when USB key is selected as mass storage
media.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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