I2C Bus (deutsch)

Aus KeyboardPartner Wiki
Version vom 3. Januar 2025, 12:48 Uhr von Bovist (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Vorwort == Die meisten digitalen Ein-/Ausgänge im HX3-System sind über I2C-Port-Schaltungen realisiert, entweder teilweise onboard (Versionen bis HX3.6) oder nur auf externen Interface-Boards (HX3.7). HX3 bietet insgesamt 96 logische Schaltfunktionen oder „Tabs“ (z.B. „Tube Amp Bypass“ oder „H100 Keying Mode“) sowie einige Sonderfunktionen (ab Firmware 5.7, z.B. Transpose Up/Down). Das HX3.6-Mainboard bietet '''16 interne digitale Eingä…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springenZur Suche springen

Vorwort

Die meisten digitalen Ein-/Ausgänge im HX3-System sind über I2C-Port-Schaltungen realisiert, entweder teilweise onboard (Versionen bis HX3.6) oder nur auf externen Interface-Boards (HX3.7). HX3 bietet insgesamt 96 logische Schaltfunktionen oder „Tabs“ (z.B. „Tube Amp Bypass“ oder „H100 Keying Mode“) sowie einige Sonderfunktionen (ab Firmware 5.7, z.B. Transpose Up/Down). Das HX3.6-Mainboard bietet 16 interne digitale Eingänge auf PL35/36 (erweiterbar durch 5 externe Karten Preset16 oder Extend16 auf bis zu 96 Tab- und Preset-Funktionen) sowie einen Drehschaltereingang. Die Schalter sind als Tabstopps, Wippen oder Kippschalter definiert, die Taster sind Momentan-Schaltkontakte, normalerweise offen. Alle Eingänge sind „active low“, d.h. sie sind mit Masse verbunden, wenn der Schalter/Taster betätigt wird. Sie können die Schalteranschlüsse offen lassen, wenn Sie nur über MIDI steuern wollen. Das HX3.7-Mainboard bietet keine digitalen Eingänge; verwenden Sie stattdessen externe I2C-Bus-Boards.


Zur Erweiterung der Taster-/Schaltereingänge stehen die Karten Preset16, Extend16 und auch die ältere Preset12-2 zur Verfügung. Sie werden an die PANEL I2C Buchsenleiste auf dem Mainboard angeschlossen und über den I2C-Bus in Reihe oder parallel geschaltet. Jedes Board bildet eine Gruppe von 16 Eingängen (2 x 12 für Preset 12-2). Das MenuPanel ist ebenfalls an diesen Bus angeschlossen; praktischerweise befindet es sich am Ende der Kette, da es nur einen Busanschluss hat. Es ist auch möglich, mehrere 10-polige Stecker auf das Flachbandkabel bei PANEL I2C zu stecken.

Jeder Karte muss über ihre Jumper eine eindeutige Busadresse zugewiesen werden ($60 bis $65, siehe Impressum und Tabelle unten). Bei älteren Preset16 und Preset12-2 sind die Adressen fest verdrahtet ($60 oder $61 für Preset16 alt, Preset12-2 belegt zwei Adressen $60 und $61). Jede Adresse darf nur einmal im Netzwerk vergeben werden, da es sonst zu Buskonflikten kommt.

Die 16 Eingänge einer Prest16- oder Extend16-Karte bilden eine Gruppe, bei 5 Boards sind dies die Gruppen 0 bis 5 entsprechend den eingestellten Adressen $60 bis $65. Der Addresraum muss nicht durchgehend belegt sein, es dürfen „Lücken“ entstehen. HX3 fragt nicht belegte Adressen auch nicht ab.

Alle Taster/Schalter können über die HX3-Editor-Parameter Switch Remap einer beliebigen HX3-Funktion („Tab“) zugewiesen werden; die Parameter in der Gruppe Input Mode bestimmen, ob am entsprechenden Eingang ein Schalter (ON, 255) oder ein Taster mit LED (OFF, 0, default) angeschlossen ist.

Input Monitor

Eine sehr hilfreiche Funktion der Anwendung HX3 Manager/Editor ist der Input Monitor. Mit ihm können Sie die Funktion aller Tasten und Schalter überprüfen. Aktive (gedrückte) Tasten sind mit „ON“ gekennzeichnet. Wenn Sie in die Eingabetabelle klicken, erfahren Sie auch, welcher HX3.6-Registerkarte der Eingang oder der Schalter zugeordnet ist. Umgekehrt springt das aktive Feld in den Eingangsmonitor-Tabellen auf den zugeordneten Eingang, wenn Sie in Switch Remap auf eine Zuordnung klicken.

Jeder Digitaleingang kann im Abschnitt Switch Remap des HX3-Editors mit den Parametern 5100 bis 5195 aktiviert/deaktiviert oder umgeschaltet werden. Auch Preset- und Voice-Tasten können beliebig auf die 96 Eingänge verteilt werden. Einzige Einschränkung: Buttons einer bestimmten Preset-Funktion (Upper, Lower oder Common) müssen sich auf durchgehenden Buttons innerhalb einer Gruppe oder eines Boards befinden, es ist nicht möglich, z.B. Upper Voices auf 2 Boards/Gruppen zu verteilen.

Interface-Board-Adressierung

Digitale Eingabekarten wie Preset16 oder Extend16 verfügen über einen speziellen I2C-LED-Treiberport-Schaltkreis, der über Jumper (in diesem Fall Lötpunkte) konfiguriert werden muss, um individuelle Adressbereiche für jede 16-Tasten-Gruppe bereitzustellen. Beachten Sie, dass jede Board-Adresse nur einmal verwendet werden darf.

Board Addresses for Digital Inputs
Input group 0 1 2 3 4 5
Bus address $60 $61 $62 $63 $64 $65
Jumper on Preset16, Extend16 JP1, JP2,
JP3 closed
JP2, JP3 closed JP1, JP3 closed JP3 closed JP1, JP2 closed JP2 closed
Note Fixed addresses for
old Preset16 (Upper 0, Lower 1)
or Preset12-2 (both)
Used by LegacyBoard
and HX3.5/3.6 onboard I2C
Button-Funktion Button #0..#15 Button #16..#31 Button #32..#47
("onboard")
Button #48..#63 Button #64..#79 Button #80..#95
Button top left
or first input
#0 #16 #32 (PL25 Pin 1 on HX3.6) #48 #64 #80
HX3 Editor
Assign Parameter
#5100..#5115 #5116..#5131 #5132..#5147 #5148..#5163 #5164..#5179 #5180..#5195


The number of a specific pushbutton/switch results from the group base number (16 * group/board number) plus the specified offset. So for the board with address $63 the first input would be 16 * 3 = 48.

Please note: HX3.7 does not provide any digital button inputs. Instead, additional Extend16 or Preset16 boards may be used for tabs, buttons and switches. For default tab functions, use Preset16 or new Panel16-I2C jumpered to group #2 address $62. Input group #2 ($62) was assigned for the 16 button/switch inputs on the HX3.5/HX3.6 mainboards in the past. This address may be assigned to any Preset16/Extend16 board with HX3.7 as long as no LegacyBoard is used. However, HX3.7 LegacyBoard (see below) occupies input group #2 on fixed address $62. Do not assign a board address twice.

Digital Input Boards

Preset16 and Panel16 I2C

Two daisy-chained Preset16 boards connected to PL26 PANEL. MenuPanel may be connected to last Preset16 board.
Connectors and jumper locations of Preset16-2 board (new version)

Preset16 and Panel16 I2C are a stand-alone panels with 2 rows of 8 LED buttons each. It is connected to HX3 PANEL I2C box header via a 10-pin ribbon cable. Additional Preset16 can be connected to the second 10-pin header each (daisy chain). Both 10-pin headers on Preset16 can be used (are wired in parallel). While Preset16 button layout is ideal for preset and voice selection, Panel16 I2C has just a different button color layout for standard organ tabs.

A plugged jumper on older Preset16 boards selects the upper manual, if available. If the jumper is missing, preset16 operates on lower manual. Newer preset16 boards have three jumpers (solder bridges) to set preset16 to upper or lower manual voice presets (address $60 and $61) (see table Board Addresses for Digital Inputs). Set solder pads to get one of the board addresses given in the table.

If you use two drawbars per manual, using DBX or older DB9-MPX (obsolete) drawbar cards, set System Inits parameter #1505 "2nd Drawbar Select Voice Number" to 1. This will activate the first drawbar set on preset 0, and the second drawbar set on preset 1. You can use any voice from 1 to 15 to activate the second drawbar set. Higher numbers will disable the switchover.

The board address may be arbitrary (except $62 for group 2 on HX3.5/HX3.6), because the preset buttons are assigned via Switch Remap. However, $60 and $61 are pre-configured in the firmware to remain compatible with existing installations. To achieve compatibility with previous installations, set bits 0 and 1 in *System Inits* "Various Configurations #1501, which swaps upper and lower button row of Preset16. Alternatively, move the gray button caps to the upper button row; they can be pulled off with some force. Set the Input Modes for groups 0 and 1 to pushbuttons or switches. The Switch setting can also be used with pushbuttons; in contrast to the Button setting, a voice preset is then called up as soon as the button is pressed and not when it is released, but saving is only possible with the help of the Cancel button (press > 2sec.). If necessary, define the Cancel key of the upper and lower manual in Switch Remaps and the voice preset for the second drawbar set in System Inits #1505.

Preset16 Default Button Assigment
Buttons
upper row
Live setting Voice 1
(or 2nd DB set)
Voice 2 Voice 3 Voice 4 Voice 5 Voice 6 Voice 7
Offset
Input number
# +0 # +1 # +2 # +3 # +4 # +5 # +6 # +7
Buttons
lower row
Voice 8 Voice 9 Voice 10 Voice 11 Voice 12 Voice 13 Voice 14 Voice 15
Offset
Input number
# +8 # +9 # +10 # +11 # +12 # +13 # +14 # +15
Assignable via Switch Remap, can be on any board and in any group, but continuous buttons


Extend16

Extend16 switch extension
Connection of keys with LED indicators to Extend16, PL17 and PL18.

Extend16 boards are basically Preset16 without buttons; the connection of switches or buttons (possibly with LED) is done as described above for the on-board inputs of the HX3.6. The pinout of PL17/PL16 on the Extend16 board is compatible with PL35/PL36 of the mainboard. In addition, all pushbutton inputs are routed to 3-pin connectors. Extend16 can also be used to select presets if configured accordingly and then replace the older Preset12-2.

The number of the pushbutton/switch results from the group base number (16 * group/board number) plus the specified offset. For the board with address $63 (group 3) the first input would be 16 * 3 = 48.

Extend16 Pinout PL18
PL18 Pins Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10
Offset Input number # +0 # +1 # +2 # +3 # +4 # +5 # +6 # +7
Single inputs PL1 PL2 PL3 PL4 PL5 PL6 PL7 PL8 +5V Gnd
Extend16 Pinout PL17
PL17 Pins Pin 1 Pin 2 Pin 3 Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10
Offset Input number # +8 # +9 # +10 # +11 # +12 # +13 # +14 # +15
Single inputs PL9 PL10 PL11 PL11 PL13 PL14 PL15 PL16 +5V Gnd


For more convenient wiring, the LED pushbutton inputs are also routed to 16 three-pin connectors, to each of which an LED pushbutton is connected. If you use switches or pushbuttons without LEDs, leave the L+ connector open. Series resistors for the LEDs are already included here, you can connect red, yellow and green LEDs directly to PL1..PL16. For blue and white LEDs an additional series resistor of 1kOhm should be inserted into the L+ line, otherwise the LEDs are too bright and dazzle. Pin assignment PL1..PL16:

Extend16 Single Inputs
Pin Function
BG Button Ground
BL Button and LED connection
L+ LED+ (Anode)


The board address may be arbitrary (except $62 for group 2), because the preset buttons are assigned via Switch Remap. However, $60 and $61 are preset in the firmware to remain compatible with existing installations. Set the Input Modes for groups 0 and 1 to push buttons or switches. The Switch setting can also be used with pushbuttons; unlike the Button setting, a voice preset is then called up when the button is pressed and not when it is released, but saving is only possible using the Cancel button (press > 2sec.). If necessary, define the Cancel key of the upper and lower manual in Switch Remaps and the voice preset for the second drawbar set in System Inits #1504.

Preset12-2 (obsolete)

The Preset12-2 is connected to HX3.6 PL26. The ribbon cable can be extended with an additional connector to connect the menu panel.

Preset12-2 is an interface board for up to 2 x 12 "inverted" preset keys (with optional LED indicators) as found on Hammond console organs. The Preset12-2 board is basically equivalent to two Panel16s or Extend16s, with the last 4 inputs missing. It is connected to the HX3.6 PL26 via a 10-wire ribbon cable. Pin 1 of the two 14-pin headers is preset 0 = Live (right drawbar set) = B button, pin 2 is preset 1 = Live (left drawbar set) and so on down to pin 12 = CANCEL button.

The standard organ firmware supports momentary contacts. To save a preset, press and hold the preset button/pushbutton for 2 seconds.

When using 2 Drawbar Sets per Manual by DB9-MPX Drawbar/Multiplexer and Preset12-2 board, set HX3 Editor "System Inits" parameter 1505 "2nd Drawbar Select Voice Number" to 1. Switching Drawbar Sets A#/B is only active when no Common Preset is on ("Live" mode #0). If a Common Preset (#1..#99) is selected, the right drawbar set is always active.

Pinout PL1 (LEDs)
Pin - Funktion
1: LED 1 cathode (Preset 0, "B" key drawbar set)
2: LED 2 cathode (Preset 1, "A#" key drawbar set)
3: LED 3 cathode (Preset 2)
...
12: LED 12 cathode (Preset 11, CANCEL key)
13,14: Common LED Anode (+)

The LED outputs have integrated 220 ohm resistors, resulting in an LED current of 15 mA. The long leg of the LEDs is the anode (+), the short leg is the cathode (-).

Pinout PL2 (Buttons/Switches)
Pin - Function (active low – switch to Gnd)
1: Switch 1 (Preset 0, "B" key drawbar set)
2: Switch 2 (Preset 1, "A#" key drawbar set)
3: Switch 3 (Preset 2)
...
12: Switch 12 (Preset 11, CANCEL key)
13,14: Common Gnd (0V)

To achieve compatibility with existing installations, set bits 0 and 1 in *System Inits* "Various Configurations #1501. This will restore the correct voice preset order. Set the Input Modes for groups 0 and 1 to pushbutton or switch. The Switch setting can also be used with pushbuttons; in contrast to the Button setting, a voice preset is then recalled as soon as the button is pressed and not when it is released, but saving is only possible using the Cancel button (press > 2sec.). If necessary, define the Cancel key of the upper and lower manual in Switch Remaps and the voice preset for the second drawbar set in System Inits #1505.

Preset12-MPX (obsolete)

The old Preset12-MPX boards for HX3 mk2/mk3 can also be used for HX3.6 together with two sets of non-MPX drawbar boards. However, they do not provide a variable preset number for the second drawbar set. Instead, the second drawbar set is hardwired to Voice Preset 15. So you must change the second drawbar set number in parameter #1505 to 15, not 1 if you are using Preset12-MPX.

To achieve compatibility with existing installations, set bits 0 and 1 in System Inits "Various Configurations #1501. This will restore the correct voice preset order. Set Input Modes for groups 0 and 1 to pushbutton or switch. The Switch setting can also be used with pushbuttons; in contrast to the Button setting, a voice preset is then recalled as soon as the button is pressed and not when it is released, but saving is only possible using the Cancel button (press > 2sec.). If necessary, define the Cancel key of the upper and lower manual in Switch Remaps and the voice preset for the second drawbar set in System Inits #1505.