Audio

所属分类:单片机开发
开发工具:Others
文件大小:988KB
下载次数:20
上传日期:2011-07-03 17:10:55
上 传 者akarmy
说明:  keil对Arm单片机编程(stm型号),实现程序中自动烧写音频(wave格式)到SPI Flash中,读取SPI Flash中的音频文件,并在SPEAKER输出
(keil on the Arm chip programming (stm model), to achieve the program is automatically programmed audio (wave format) to the SPI Flash, SPI Flash read the audio file, and output in the SPEAKER)

文件列表:
Audio\inc\DAC_CODEC.h (5854, 2008-12-19)
Audio\inc\project.h (1821, 2008-12-16)
Audio\inc\stm32f10x_conf.h (6194, 2008-10-07)
Audio\inc\stm32f10x_dac.h (9598, 2008-09-07)
Audio\inc\stm32f10x_exti.h (5776, 2008-07-05)
Audio\inc\stm32f10x_tim.h (47203, 2008-07-05)
Audio\inc\wavedata.h (174022, 2008-12-19)
Audio\inc\waveplayer.h (2425, 2008-12-17)
Audio\listing\Audio_test.map (88602, 2009-02-22)
Audio\listing\cortexm3_macro.lst (26691, 2011-07-01)
Audio\listing\stm32f10x_vector.lst (41221, 2011-07-01)
Audio\project\Audio_test.Opt (3904, 2011-07-01)
Audio\project\Audio_test.plg (194, 2008-11-22)
Audio\project\Audio_test.Uv2 (3781, 2008-12-19)
Audio\project\Audio_test_Audio_Test.dep (21323, 2011-07-01)
Audio\project\Audio_test_Opt.Bak (4121, 2009-02-18)
Audio\project\Audio_test_Target 1.dep (77, 2008-11-22)
Audio\project\Audio_test_Uv2.Bak (3819, 2008-12-16)
Audio\Run_In_Flash\Audio_test.plg (2859, 2011-07-01)
Audio\Run_In_Flash\cortexm3_macro.o (2528, 2011-07-01)
Audio\Run_In_Flash\dac_codec.crf (172893, 2011-07-01)
Audio\Run_In_Flash\dac_codec.d (2464, 2011-07-01)
Audio\Run_In_Flash\lcd.crf (160140, 2011-07-01)
Audio\Run_In_Flash\lcd.d (2054, 2011-07-01)
Audio\Run_In_Flash\lcd.o (204296, 2011-07-01)
Audio\Run_In_Flash\main.crf (167671, 2011-07-01)
Audio\Run_In_Flash\main.d (2226, 2011-07-01)
Audio\Run_In_Flash\spi_flash.crf (152026, 2011-07-01)
Audio\Run_In_Flash\spi_flash.d (2102, 2011-07-01)
Audio\Run_In_Flash\spi_flash.o (178528, 2011-07-01)
Audio\Run_In_Flash\stm32f10x_dac.crf (39433, 2011-07-01)
Audio\Run_In_Flash\stm32f10x_dac.d (442, 2011-07-01)
Audio\Run_In_Flash\stm32f10x_dac.o (45828, 2011-07-01)
Audio\Run_In_Flash\stm32f10x_exti.crf (28379, 2011-07-01)
Audio\Run_In_Flash\stm32f10x_exti.d (383, 2011-07-01)
Audio\Run_In_Flash\stm32f10x_exti.o (33172, 2011-07-01)
Audio\Run_In_Flash\stm32f10x_flash.crf (38340, 2011-07-01)
Audio\Run_In_Flash\stm32f10x_flash.d (411, 2011-07-01)
Audio\Run_In_Flash\stm32f10x_flash.o (44656, 2011-07-01)
... ...

/******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Version : V2.0.1 * Date : 06/13/2008 * Description : Description of the Audio example. ******************************************************************************** * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. *******************************************************************************/ Example description =================== This example describes how to use the Audio by DAC SPI Flash is needed in order to run this example, Menu usage: 0-VOLUME + 1-VOLUME - 2-STEP_FORWARD 3-STEP_BACK 4-STOP 5-PLAY/PAUSE Menu are dispalyed on your PC, your PC should be connect to the board through com1 remember to connect jumper6 on your board otherwise you cannot hear the sound. Directory contents ================== platform_config.h Evaluation board specific configuration file stm32f10x_it.c Interrupt handlers main.c Main program dac_codec.c decode wave file waveplayer.c player operation usart1.c usart1 initialazition stm32f10x_dac.c stm32f10x_tim.c stm32f10x_exit.c Hardware environment ==================== This example runs on STMicroelectronics STM3210B-EVAL and STM3210E-EVAL evaluation boards and can be easily tailored to any other hardware. To select the STMicroelectronics evaluation board used to run the example, uncomment the corresponding line in platform_config.h file. How to use it ============= In order to make the program work, you must do the following : - Create a project and setup all your toolchain's start-up files - Compile the directory content files and required Library files : + stm32f10x_lib.c + stm32f10x_flash.c + stm32f10x_gpio.c + stm32f10x_nvic.c + stm32f10x_rcc.c + stm32f10x_systick.c + stm32f10x_usart.c + stm32f10x_spi.c + stm32f10x_fsmc.c + spi_flash.c + lcd.c - Link all compiled files and load your image into target memory - Run the example ******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者