Hallo zusammen, hat schon mal jemand mit den Cortex M4 z.B. STM32F4 einen Software-mp3 Decoder gebaut oder schon mal Beispiele gesehen? Von ST soll's ja dazu eine (freie?) Audio Engine geben. http://www.st.com/internet/com/press_release/p2476.jsp Leider gehen die Links darin ins leere. Hat da eventuell jemand mehr Informationen bzw. download-Links? Vielen Dank an alle die helfen können!
http://www.stm32circle.com/projects/project.php?id=82 Da ich mir auch gerade das STM32F4DISCOVERY gekauft habe Beitrag "Billiges Cortex-M4-Board STM32F4DISCOVERY jetzt erhältlich" bin ich über den STM32-Artikel hier http://www.mikrocontroller.net/articles/STM32 auf diese Seite gestossen. Ein Buch zu Cortex-M3 habe ich mir auch gekauft: ISBN 9781856179638
vielen Dank für den Link. Das kannte ich noch nicht. Nutzt aber leider nicht die DSP-Möglichkeiten des M4. Aber die helix-Anpassung an thumb2 habe ich da zum ersten mal gesehen.
So wie ich das sehe basiert das Projekt auf dem Primer 2 (STM32F103E) ohne DSP. Aber eine auf den STM32F4 optimierter mp3-decoder würde ich auch gerne sehen. Grüße, Flo
Laut https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https%3a%2f%2fmy.st.com%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fSTM32%20audio%20engine&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=337 muss man da bei STM nachfragen, da es Lizenz-Vereinbarungen zum unterschreiben gibt :(
I have just released some source code for the stm32f4 and a mp3 decoder in software using the mad library. See http://jjmz.free.fr
Great, Super! Can the mad lib decode 192kb 44,1Khz stereo and how many cpu from the stm32f4 is then usage?
Well I had no time yet to go into details, but my test is ok with a 128kbps @ 44.1khz stereo. (Note that I did not make anything extraordinary : that's just the audio application that was using the STM32F4 DMA to I2S codec, plus a rough adaptation of the lidmad to the board.)
Quick answer, although it is not a full test (I don't have the serial debug link with me at the moment, I am just listening at the audio output) : 320kbps looks glitch free (44.1k, stereo, created with 'lame --preset insane').
I tested this morning @ 128kbps and 320kbps : both are ok, and CPU usage is around 20% for both.
Hi jjmz, thanks for providing a complete flash-and-play mp3 demo! BTW, I mesasured ~55mA at the Idd jumper JP1.
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.