Thanks everyone for the excellent advice.
SeanB, A 6850? Now you're taking me back. I threw out boxes of hardware from the 70's, 80's and 90's a few years ago. Bound to be some old UARTs there. But AVR's/Arduinos have good USARTS if I get to that stage.
duskglow, That was my Plan B if the electronics were dead. Perhaps even use a Beaglebone and get USB support as well. But it's already jumped my queue of projects so it'll have to wait.
AndreasF, Thank you for pointing me in the right direction (and for restoring some memories from 30+ years ago
). Now it's starting to make some sense.
Assuming what I'm seeing every 20ms is the Timing Clock - 0xf8, then:-
At 31250bps, 1 bit is 32µS wide.
In this configuration, the MIDI data stream idles at 5V or Logic 1. The Start bit is 0V or Logic 0. It had slipped my memory but the bits are sent from LSB to MSB so we need to reverse the 0xf8 from 11111000 to 00011111 which means the Start bit is followed by 3 Logic 0 bits and then goes back to 5V for the 5 Logic 1 bits and the (Logic 1) Stop bit. The Start bit and 3 Logic 0 bits total 128µS which is exactly what I'm seeing on the scope.
I had already tried to turn off the Time clock with no success. Either I'm not following the instructions correctly or the Roland expects to get an external Time clock as suggested in the manual and sends one anyway if it doesn't see one?
You also mentioned Active Sensing which is a 0xfe byte. Apparently a few earlier MIDI devices implemented this (in particular, Roland). Roland admits that the A-30 sends Active Sensing messages and it can't be turned off. Depending on who you listen to, it is sent every 250 or 300 mS. Perhaps these are the spurious signals I mentioned in my first post. If I can learn how to configure the Rigol to look at them, it should be obvious as they will be 64µS wide. Maybe I should actually read the manual for the scope.
I've been using a program called MIDI-OX on the PC which decodes and displays the MIDI messages. I've just noticed that it filters out System Real Time messages by default. So, if I can get the cheap USB interface to work, I'll turn Timing Clock and Active Sensing back on and see what it comes up with. At 50Hz, it will likely get swamped but it should be fun briefly.
So I think with all your valuable help, I'm getting somewhere. The ugly part will be cleaning the key contacts.
Any assistance from Rigol experts with the procedure for storing a trace would be greatly appreciated. (I know - Read the Manual...)
Many Thanks again.