Seems that nobody has an experience of using i.MX6 UARTs as MIDI transceivers. Seems that you have to create your own MIDI application using existing UART driver. Note that MIDI protocol has non-standard transfer speed (31.25 kbit/s) and specific hardware interface, so, some external interface circuit is required.
http://www.midi.org/techspecs/electrispec.php
http://www.midi.org/aboutmidi/glossary.php
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------