UART as a MIDI port

I need to setup the uart3 port of my beagleboard to work as a MIDI
port. A 31250bps baud rate is needed to accomplish that, but such baud
is not included in the baud rates list shown in the "OMAP35X Technical
Reference Manual" (chapter 17, Table 17-1).
Is there any way to set a custom baud rate for beagle's uarts?

Thank you in advance


Yes, all the baud rates are achieved by dividing down the 48MHz functional clock by an integer divider. There is a figure somewhere in that chapter about all that.

Divider 118 when oversampling by 13 brings the rate to withing 0.13% or so. Should be adequate.

  • Juha