[sdiy] STM32 (or other) audio DSP learning recommendations
Scott Gravenhorst
music.maker at gte.net
Thu Jun 28 22:32:38 CEST 2018
Dan Snazelle <subjectivity at hotmail.com> wrote:
>I must admit that trying to get my stm32f7 discovery board
>working on OS X with eclipse has been a nightmare !
>
>we have tried two different Osx machines , never knowing what the
>issue is . I've followed instructions on a few different online
>resources for stm32 but alas no luck so far
>
>I have been half wondering if migrating to another ARm vendor
>(like avr or nxp or ti who provide their own ide and better
>support ) might help ?
>
>Coming from the easy world of teensy , I keep wondering if I'll
>ever be able to get OS X, eclipse And the disco board all
>communicating !! Ahhhh
Eclipse ... is ... the ... nightmare.
At least that's my opinion, and judging from a few fora I'm on, I'm not the only one. I've been
a C programmer since the DOS days, so I'd already been accustomed to developing in a non-IDE
world. I have a text editor and I have gcc. With those and the free software from ST, I've
written several synths for the STM32F746 Discovery board.
I know zip about OSx, I use Fedora 25 with a text editor and gcc. No IDE required. Get ahold
of a decent makefile. In fact, if you use STM32CubeMX (free from ST), it can generate the
project for you including a makefile. It is not perfect, but it has saved me a lot of time with
device initialization and drivers. Not sure if that runs on OSx. I run it under Win7 (I have a
Fedora 25 VM on the same machine). Once the project skeleton is generated, it's just editor and
gcc and your favorite way to send the bin file to the board (for me it's STM32CubeProgrammer
under Win7).
Unfortunately, I can't point to a good (or any) tutorial about development using just those two
tools though I would hope they exist.
>
>
>
>> On Jun 26, 30 Heisei, at 5:33 PM, Scott Gravenhorst <music.maker at gte.net> wrote:
>>
>>
>> sleepy_dog at gmx.de wrote:
>>>
>>> Scott Gravenhorst wrote:
>>>
>>>> were smatterings of demonstrations for most of the peripherals available on the
>>>> board. I didn't find much synth making help there to be honest - however, this
>>>> Things like filters, vocoders, and effects like echo/flange I found on random
>>>> DSP sites, not on ST's site.
>>>
>>> Well, there is CMSIS DSP / math, i.e. ARM's low level lib as part of the
>>> whole CMSIS, a low level lib / register definitions etc, which is a
>>> layer below stuff like the ST "cube" library.
>>> It has code optimized for the different ARM cores like cortex M4, for
>>> common DSP functions like performing filter operations.
>>> Haven't really tried them or compared to anything else, as I have only
>>> made some baby steps in DSP land so far.
>>> Maybe someone else can comment of how useful that really is.
>>>
>>> - Steve
>>>
>>
>> Yes, there is CMSIS, but the filter functions I found were not
>useful to me. After looking > through it all, I coded the SVF and
>single pole low pass IIR filters myself. I did find > something
>that made me chuckle - the STM32F7 has a square root
>_instruction_ and inside one of > the header files I found a
>#define statement that defines sqrt() as a single inline ASM >
>instruction - clever that. CMSIS is good for a lot of other
>things too, but I found the > filter functions to be too
>specialized for my use. > > > -- ScottG >
>________________________________________________________________________
>> -- Scott Gravenhorst > -- http://scott.joviansynth.com/ > --
>When the going gets tough, the tough use the command line. > --
>Matt 21:22 > > _______________________________________________ >
>Synth-diy mailing list > Synth-diy at synth-diy.org >
>http://synth-diy.org/mailman/listinfo/synth-diy
>
-- ScottG
________________________________________________________________________
-- Scott Gravenhorst
-- http://scott.joviansynth.com/
-- When the going gets tough, the tough use the command line.
-- Matt 21:22
More information about the Synth-diy
mailing list