![ST STM32303C-EVAL Скачать руководство пользователя страница 32](http://html1.mh-extra.com/html/st/stm32303c-eval/stm32303c-eval_user-manual_1356057032.webp)
Running the demonstration
UM1590
Doc ID 023892 Rev 1
Figure 31.
STM32 Image Viewer
When Image Viewer is selected, the corresponding image is displayed and then the user
can use RIGHT and LEFT push-buttons to go to the next/previous image stored in the
USER folder on the MicroSD card. If the KEY button is pressed, the Image Viewer is
stopped and the submenu shown in
is displayed.
The supported image size is 240x320. The defined number of images that are read from the
MicroSD card is 4 images, selected in alphabetic order.
2.4.3 Audio
features
Wave player submenu
The STM32303C-EVAL evaluation board supports stereo audio play using the audio Codec
CS42L52 connected to I2S port and controlled by I2C2 interface.
In this demo, an audio wave file stored under the USER folder in the MicroSD card is
opened using the FATFS file system and transferred to the internal SRAM block by block
(512 bytes) using the SPI interface. The voice sampling period is read from the wave file
header. An audio amplifier is connected to the DAC interface to play the stored wave files.
This application reads all wave files from “USER” directory (See
) and only displays WAV files with 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:
may be 8000, 11025, 22050 or 44100 Hz.
●
Bits Per Sample: 16-bit (Audio sample data values in the range [0-65535]).
●
Number of channels: 2(Stereo)
The maximum number of wave files that can be read from the MicroSD card is 25 files
selected in alphabetic order.
After selecting Wave Player, the submenu shown in
is displayed.
APP Main Menu Name