From 891f8eee12e6bdb2fad0fe0b28976362eb965236 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 17 Feb 2024 20:44:52 -0500 Subject: Massive blog regeneration. RBUS-related posts. --- blog/post/2024-02-02.html | 610 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 610 insertions(+) create mode 100644 blog/post/2024-02-02.html (limited to 'blog/post/2024-02-02.html') diff --git a/blog/post/2024-02-02.html b/blog/post/2024-02-02.html new file mode 100644 index 0000000..db66d21 --- /dev/null +++ b/blog/post/2024-02-02.html @@ -0,0 +1,610 @@ + + + + +Chrisoft::Blog + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

R-BUS Technical Information

+
2024-02-02
#music #electronics
+
+
+

Background

+

R-BUS (also called RMDB2 / RMDB II on older products) is an obsolete +proprietary interconnect format that carries bidirectional MIDI and +digital audio data created by Roland. It was used on Roland products +released from the late 90s to early 2000s.

+

There was a physically incompatible and much rarer predecessor of +R-BUS called RMDB (Roland Multipurpose Digital Bus). RMDB is not the +subject of this article.

+

Much of the information here is gathered from schematics inside +service manuals for various Roland products, mainly the XV-5080 and +VS-2400. These can be easily found with a search through the +interwebz.

+

This article assumes minimal electronics knowledge from the reader. +As a matter of fact, the author is also a layperson in this space. +Report of any issues in the article would be appreciated.

+

For other R-BUS related stuff on this website, please visit this page.

+

Devices with R-BUS support

+

Here is a not necessarily complete list of Roland products that comes +with at least one R-BUS connector:

+
    +
  • Mixing Console +
      +
    • VM-3100Pro
    • +
    • VM-7100 / VM-7200 (3 ports on optional VM-24E I/O expansion)
    • +
  • +
  • Studio Workstation +
      +
    • VS-2400
    • +
    • VS-2480 (2 ports)
    • +
    • VSR-880
    • +
  • +
  • Production Studio +
      +
    • MV-8000 / MV-8800 (available through the MV8-OP1 audio I/O +expansion)
    • +
  • +
  • Synthesizer +
      +
    • XV-5080 (output only)
    • +
  • +
  • Interface Modules +
      +
    • RPC-1 (Conventional PCI R-BUS interface)
    • +
    • ADA-7000 (A/D converter)
    • +
    • AE-7000 (R-BUS <=> AES/EBU converter)
    • +
    • DIF-AT (R-BUS <=> TDIF & ADAT converter)
    • +
    • DIF-AT24 (R-BUS to ADAT and MIDI interface, 24-bit)
    • +
  • +
+

Pin definition

+

Connection for VS-2400 and XV-5080 is extracted from their respective +service manuals. Pin usage inferred from these connections.

+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PINVS-2400XV-5080Usage
1+5V+5VPower output
2RBOUT11SDO4Channel 1/2 output (SDOUT1[1])
3RBOUT12SDO5Channel 3/4 output (SDOUT2)
4RBOUT13SDO6Channel 5/6 output (SDOUT3)
5GNDGNDGround
6RBOUT14SDO7Channel 7/8 output (SDOUT4)
7NC [2]NCUnused?
8RBIN14NCChannel 7/8 input (SDIN4)
9GNDGNDGround
10RBIN13NCChannel 5/6 input (SDIN3)
11RBIN12NCChannel 3/4 input (SDIN2)
12RBIN11SDI2Channel 1/2 input (SDIN1)
13NCNCPower reception for bus-powered devices +[3]
14PC_TXD1RBUS_TXMIDI transmit [4]
15GNDGNDGround
16GNDGNDGround
17GNDGNDGround
181FSLRCK4Frame sync (word clock) output
19GNDGNDGround
20GNDGNDGround
21RBFS1RBUS-WDCLKFrame sync (word clock) input
22GNDGNDGround
23GNDGNDGround
24GNDGNDGround
25PC_RXD1RBUS_RXMIDI receive [5]
+

Official cable wiring

+

Roland has only disclosed partial information on the wiring scheme +used by the official R-BUS cables. [6] +However, it’s rather easy to infer the full wiring scheme from that +information. This has been confirmed by other third-party sources. +[7] [8]

+ +++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Usage 🖙Pin on one sideis connected toPin on the other side🖘 Usage
+5V113+5V In
SDOUT1212SDIN1
SDOUT2311SDIN2
SDOUT3410SDIN3
GND59GND
SDOUT468SDIN4
NC77NC
SDIN486SDOUT4
GND95GND
SDIN3104SDOUT3
SDIN2113SDOUT2
SDIN1122SDIN1
+5V In131+5V
MIDI TX1425MIDI RX
GND1524GND
GND1623GND
GND1722GND
FS Out1821FS In
GND1920GND
GND2019GND
FS In2118FS Out
GND2217GND
GND2316GND
GND2415GND
MIDI RX2514MIDI TX
+

Electrical +characteristics of the interface

+

Power

+

The +5V supply is derived straight from the +5V rail that goes into +the main board, with polarity protection (both in the XV-5080 and +VS-2400) provided with a Schottky diode, and sometimes a current +protected with a thermistor (not present in the XV-5080).

+

The +5V pin measured 5.28V to ground on my XV-5080.

+

Digital Audio

+

The format of digital audio portion of R-BUS resembles I²S, but with a few +key differences:

+
    +
  • There’s no bit clock.
  • +
  • Sample data are transmitted as if they are 32-bit, despite only the +first 24-bit is being used.
  • +
  • Logic level on the data line is inverted.
  • +
+

To give a standalone description of the R-BUS digital audio +protocol:

+
    +
  • The frame sync (word clock) signal runs at the same frequency as the +sampling rate.
  • +
  • When frame sync is low, left channel of each channel pair is being +transmitted, otherwise right channel is being transmitted.
  • +
  • Each half cycle of the frame sync clock is divided into 32 periods, +during each of which a bit of sample data is sent on every serial data +line.
  • +
  • Sample data are sent most significant bit (MSB) first. Each sample +is 24-bit long, leaving 8 bits unused at the end of each half cycle of +frame sync.
  • +
  • Logic low on the data line means the bit being sent is 1, and high +means it’s a 0.
  • +
+

If you’d like a timing diagram of all this, please look up the +datasheet of TC9271 made by Toshiba (used in the XV-5080 as its S/PDIF +encoder chip). Figure 1b is a good representation of the relationship +between frame sync (LRCK in the datasheet) and audio data. The LRS=H +case in figure 3a shows how the frame sync signal sent over R-BUS should +be interpreted.

+

There are 4 serial data lines in each direction, giving the 8 +channels in total for each direction. Each direction has its own frame +sync signal, which is shared among all data lines in that direction.

+

MIDI

+

What is sent over the MIDI wires in the R-BUS cable has not been +confirmed by me.

+

The MIDI interface is used differently on different Roland +products:

+
    +
  • XV-5080 seem to ignore everything on the R-BUS MIDI interface, +despite having all the facilities to handle it. Roland disclosed this in +RPC-1’s user manual (see the section on XV-5080). I have not tested this +claim.
  • +
  • MV-8000 series with MV8-OP1 installed can use the R-BUS MIDI output +as a separate MIDI port. Data going into the R-BUS MIDI port will be +mixed with the built-in MIDI input.
  • +
  • VM-3100Pro can pass through the MIDI data to its built-in MIDI +ports, and can control the host sequencer if connected to a +computer.
  • +
  • V-Studio products can receive MIDI clock over R-BUS.
  • +
  • Any aspects / products not mentioned here are unknown to me.
  • +
+

Roland calls the signals that go in to / out of these pins “IPC” or +“PC”. [9]

+

Inside both the VS-2400 and the XV-5080, the signal is generated / +goes into a dedicated microcontroller (a M3888 1M2), specifically, a +pair of its UART ports. An inverter is between the R-BUS connector and +the MCU in each direction of the signal.

+

Roland claims in VS-2480’s manual that R-BUS carries 8 channels of +bidirectional digital audio (which are already fully accounted for in +the previous section), plus MIDI, MMC (MIDI Machine Control) and MTC +(MIDI Timecode).

+

The factual portion of this section ends here. Everything below is my +guesswork. Since MMC commands and MTC are both usually just sent as +normal MIDI messages, it’s a reasonable assumption that, the only thing +that is transmitted over these wires is MIDI, which is also why I named +them MIDI TX/RX in my pin usage chart.

+

Since MIDI is pretty much just UART with a bit of isolation, I would +venture a guess that the signal sent / expected on these two pins is +just inverted MIDI UART signal.

+

It would be pretty trivial to build some experimental circuitry to +test my theory. Maybe I’ll do it one day. However this may end up with +nothing – as the XV-5080 will probably just ignore the MIDI data going +through R-BUS.

+
+


+
[1]: Serial data +output (input). Overline indicates that 1-bit is represented with low +logic level and 0-bit with high logic level. Same +below.
[2]: Not connected. Same +below.
[3]: Inferred from wiring scheme
[4]: Often abbreviated +as TX.
[5]: Often abbreviated +as RX.
[6]: R-BUS, +RBUS, RBC, RBC-5: Where Can I Find an R-BUS Cable?
[7]: Roll +your own: R-Bus Cable Pin Out.
[8]: DIY +R-BUS cable for 20€
[9]: I have no idea what these could mean. My +software-dominated brain tells me they stand for “Inter-Process +Communication” and “Program Counter” but they clearly stand for +something else here.
+
+ +
+
+
+ \ No newline at end of file -- cgit v1.2.3