cancel
Showing results for 
Search instead for 
Did you mean: 

MIDI by UART - Library for STM32

Alessio Caligiuri
Associate II
Posted on March 11, 2018 at 22:22

Hi all!

I'm looking for a C library for MIDI communication over UART, in order to use standard DIN connectors.

I found many topics about MIDI-USB midibut I can't find any library for MIDI using UARTs.

Could you please suggest me a good MIDI library for STM32?

Many thanks!

Alessio

#midi #uart #midi-uart
1 REPLY 1
Andrew Neil
Chief II
Posted on March 12, 2018 at 11:32

http://lmgtfy.com?q=STM32+MIDI

The only thing that's (potentially) different about MIDI from any other U(S)ART usage is that it uses an 'odd' baud rate.

Other than that, the U(S)ART usage is perfectly standard.

Note that STM32 is now supported for Arduino: 

https://community.st.com/community/stm32-community/blog/2017/07/13/stm32-cores-enabled-in-arduino-ide

 

There are certainly Arduino MIDI examples around.

EDIT

The full MIDI specifications are available for free download: 

https://www.midi.org/specifications