cancel
Showing results for 
Search instead for 
Did you mean: 

Redesign a schematic (MP3)

aabba.1
Associate III

Hi,

I need to modify this schematic, I want to use one USB connection connected to an STM32.

- When the STM32 is on Bootloader mode, A virtual com port will be open and I should have an option to save a mp3 file inside the external flash (GD25P32)
- When the STM32 is on App mode, I should be able to play some audio.

Is this possible? (Right now on this schematic the USB is connected to the WT2003 chip)

aabba1_0-1714883836450.png

https://cdn.sparkfun.com/assets/7/c/0/c/6/WT2003S-16S_Chip_V1.03.pdf 

7 REPLIES 7

You can do whatever you code for. You can make it appear as a CDC or MSC, or both..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
AScha.3
Chief II

Hi,

why not use the "standard mp3 module" , that can play mp3 ... ?

AScha3_0-1714899012894.png

 

If you feel a post has answered your question, please click "Accept as Solution".

I don't want to use a uSD to store my file.... I prefer to use a external flash

Do I need to configure the STM32 with 2xUSB or just 1xUSB (Can I use the same pin) or for every application (CDC, MSC) I need different pin?

1xUSB Composite Device

Like the ST-LINK/V2-1 which provides 3x device

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Just to make sure I should configure the stm32 as 1x host MSC and 1x device CDC

So take a module with flash... 🙂

AScha3_0-1714920448510.png

 

If you feel a post has answered your question, please click "Accept as Solution".