Finally somebody discovered the STM32F4 Discovery adaptions... :wink:
Yes, I used this evaluation board to check if it's worth to spend some more time for a proper MBHP integration.
Please don't expect a public release this year, because in order to do it right many hardware related topics have to be considered; especially some hardware conflicts have to be solved (more about this topic below).
Currently I don't have so much time to continue with this due to various business trips around the world. I will probably continue in September.
On the other hand, hackers with some background knowledge would already be able to use this board for own experiments with MIOS32.
For a kickstart: here the precompiled bootloader
<removed>
New page: http://www.ucapps.de/mbhp_core_stm32f4.html
What is working so far:
- system init, timers, interrupts, FreeRTOS, etc.
- accessing the onboard LEDs
- USB MIDI and UART based MIDI
- code upload via MIOS Studio
- I2S (@Niklasni: yes, even the onboard DAC is running, I tested it with apps/tutorials/024_i2s_synth)
- SD Card access (but with common SPI)
- SRIO
- IIC (accessing the MBHP_IIC_MIDI module)
What is not implemented yet:
- ADC (because I haven't started with the adaption yet)
- LCD (low prio, have to find some free pins which are not used for other purposes)
- SW based SPI for J19 (have to find free pins, or maybe I will use a HW SPI for this..)
and that's all ;-)
Applications which are already running without issues (aside from the missing ADC, LCD and J19 support):
- MIDIbox SEQ V4
- MIDIbox NG V1
- MIDIO128 V3
- MIDIbox CV V2
so - no real show stopper.
But the hardware connectivity will be a challenge, because unfortunately some important pins - especially for UARTs - are allocated by onboard resources.
E.g. although the chip contains 6 UARTs, many of them can't be used bidirectionally due to these conflicts.
I don't understand, why ST doesn't integrate some more internal multiplexers for alternative connections...
In other words: the usage of this board will have some limitations.
The main advantage that I see: not only higher speed, but especially much more RAM!
192k instead of 64k (LPC1769, STM32F1) makes a big difference.
I'm especially happy that MIOS32 applications like MBNG and MBSEQ can be easily upgraded with an inexpensive core module replacement in future!
The onboard DAC and Cortex-M4 based DSP capabilities are also great for synths or Fx units of course, but I'm unsure if I will go into this direction by myself.
Best Regards, Thorsten.