How to make USB Audio Speaker work in STM32F303C-EVAL?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-07-29 7:31 PM
Posted on July 30, 2014 at 04:31
Hi,
Firstly, I tried to browse on the forums but there were only a few concerning STM32 F3-series.I have an STM32303C-EVAL board with STM32F303VCT6 MCU.I wanted it to act as a USB Audio Speaker.Basically:[PC] --USB--> [MCU] --I2S--> [CODEC] --> HEADPHONESI used STM32CubeMX (v4.3) to generate the default IAR firmware using STM32303C-EVAL board configuration (added USB Device library acting as Audio Class Device).I then copied STM32CubeF3's example for STM32303C-EVAL, ''I2S_Audio'', which uses the same base code as STM32CubeMX:http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/LN1897/PF260613I tried to manually add I2C2 and SPI2 (I2S2) config via adding the following files:- Drivers/BSP/Components/cs42l52.c
- Drivers/BSP/STM32303C_EVAL/stm32303c_eval.c
- Drivers/BSP/STM32303C_EVAL/stm32303c_eval_audio.c
Labels:
- Labels:
-
STM32F3 Series
0 REPLIES 0
