2024-05-04 09:39 PM - last edited on 2024-06-11 07:59 AM by Amel NASRI
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)
https://cdn.sparkfun.com/assets/7/c/0/c/6/WT2003S-16S_Chip_V1.03.pdf
2024-05-05 12:08 AM - edited 2024-05-05 03:36 AM
You can do whatever you code for. You can make it appear as a CDC or MSC, or both..
2024-05-05 01:50 AM
Hi,
why not use the "standard mp3 module" , that can play mp3 ... ?
2024-05-05 06:26 AM
I don't want to use a uSD to store my file.... I prefer to use a external flash
2024-05-05 06:27 AM
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?
2024-05-05 07:17 AM
1xUSB Composite Device
Like the ST-LINK/V2-1 which provides 3x device
2024-05-05 07:43 AM
Just to make sure I should configure the stm32 as 1x host MSC and 1x device CDC
2024-05-05 07:47 AM
So take a module with flash... :)