Go to advanced search

by quietone
Wed Mar 30, 2016 6:20 pm
Forum: General discussion
Topic: Midi Baud Rate (31250)
Replies: 37
Views: 26295

Re: Midi Baud Rate (31250)

The register settings for baud rate can be calculated with IBRD = UART_CLK / (16 * baud) temp = (((UART_CLK % (16 * baud)) * 8) / baud) FBRD = (temp >> 1) + (temp & 1) On the Pi, UART_CLK = 3000000, so for 125000 baud IBRD = 1 FBRD = 32 If you put these values in the C code I posted you should get w...
by quietone
Mon Mar 28, 2016 9:56 am
Forum: General discussion
Topic: Midi Baud Rate (31250)
Replies: 37
Views: 26295

Re: Midi Baud Rate (31250)

Hi folks. I've been trying to get my Pi Zero to talk MIDI over serial over the last couple of days and have managed to get it working, so for anyone else who has been trying, here's how I did it: My first help came from this page http://www.samplerbox.org/article/midiinwithrpi with reference to gett...

Go to advanced search