Jump to content

What pins of SR 5,6,7 and 8 are free to use?


Recommended Posts

Posted

Having a bit of trouble. I cant get the leds trigger layer and step view. SR 5 is OK now pin 0, 2, 4, 6, to group select leds. But SR 6, 7, and 8 gives nothing? Anybody know what pins of SR 5,6,7 and 8 are free to use?

Posted

Anything wrong here to free SR 5 and 6 for extra leds? ???

; Max. length of the DIN/DOUT shift register chain (1-16)

#define DEFAULT_NUMBER_SR 16

;

; debounce counter (see the function description of MIOS_SRIO_DebounceSet)

; Use 0 for high-quality buttons, use higher values for low-quality buttons

#define DEFAULT_SRIO_DEBOUNCE_CTR 32

;

; For MIDI activity monitor: define the DOUT pins for the Rx and Tx LED

#define DEFAULT_MIDI_MONITOR_ENABLED 1  ; if 1, the Tx/Rx LEDs are enabled

#define DEFAULT_MIDI_RX_LED 0x0f ; DOUT SR#2, pin D0

#define DEFAULT_MIDI_TX_LED 0xff ; not used

;

; The beat indicator LED has to be assigned to a DOUT pin here:

#define DEFAULT_BEAT_INDICATOR_LED 0x07 ; DOUT SR#1, pin D0

;

; Some menus are provide the possibility to use 16 "general purpose" buttons

; Define the two shift registers which are assigned to this function here:

; (valid numbers: 1-16)

#define DEFAULT_GP_DIN_SR_L 7 ; first GP DIN shift register assigned to SR#7

#define DEFAULT_GP_DIN_SR_R 10 ; second GP DIN shift register assigned to SR#10

;

; above these buttons LEDs should be mounted to visualize the played MIDI events,

; but also the current sequencer position, the selected pattern, the menu, etc.

; Define the two shift registers which are assigned to this function here:

; (valid numbers: 1-16)

#define DEFAULT_GP_DOUT_SR_L 3 ; first GP DOUT shift register assigned to SR#3

#define DEFAULT_GP_DOUT_SR_R 4 ; second GP DOUT shift register assigned to SR#4

;

;

; === Shift Register Matrix ===

;

; set this value to 1 if each track has its own set of 16 LEDs to display unmuted steps and current sequencer position

#define DEFAULT_SRM_ENABLED    0

;

; define the shift registers to which the anodes of these LEDs are connected

; Note: they can be equal to DEFAULT_GP_DOUT_SR_[LH], this saves two shift registers, but doesn't allow a seperate view of UI selections

#define DEFAULT_SRM_DOUT_L1 15

#define DEFAULT_SRM_DOUT_R1 11

;

; define the shift register to which the cathodes of these LEDs are connected

; Note that the whole shift register (8 pins) will be allocated! The 4 select lines are duplicated (4 for LED matrix, 4 for button matrix)

; The second DOUT_CATHODES2 selection is optional if LEDs with high power consumption are used - set this to 0 if not used

#define DEFAULT_SRM_DOUT_CATHODES1 16

#define DEFAULT_SRM_DOUT_CATHODES2 12

;

; set this to 1, if DUO colour LEDs are connected to the LED matrix

#define DEFAULT_SRM_DOUT_DUOCOLOUR 1

;

; define the shift registers to which the anodes of the "second colour" (red) LEDs are connected

#define DEFAULT_SRM_DOUT_L2 9

#define DEFAULT_SRM_DOUT_R2 10

;

; set this to 1 if a button matrix is connected

#define DEFAULT_SRM_BUTTONS_ENABLED 0

; set this to 1 if these buttons should only control the "step triggers" (gate, and other assigned triggers) - and no UI functions

#define DEFAULT_SRM_BUTTONS_NO_UI  1

; define the DIN shift registers to which the button matrix is connected

#define DEFAULT_SRM_DIN_L 11

#define DEFAULT_SRM_DIN_R 12

;

;

; === BPM digits ===

;

; set to 1 or 2 to enable the 3 optional BPM digits

;    0: BPM digits disabled

;    1: digits with common cathode

;    2: digits with common anode

#define DEFAULT_BPM_DIGITS_ENABLED 0

;

; define the shift register to which the segments are connected (0=disabled)

#define DEFAULT_BPM_DIGITS_SEGMENTS 0

; define the shift register to which the common pins (cathodes or anodes) are connected (0=disabled)

#define DEFAULT_BPM_DIGITS_COMMON 0

;

Posted

Looks ok

Did you already check the second DOUTX4 module, e.g. with the MIDIO128 application where you can control each individual LED with Note On/Off events?

Best Regards, Thorsten.

Posted

Sounds like the SC or RC line is not connected properly. Or maybe the output of SR5 is not connected correctly to the input of SR6

The SRIO interconnection test helps to check the SC/RC lines, see also http://www.midibox.org/dokuwiki/din_module

(although the page is named "din_module", it contains some debugging infos for the DOUT module as well)

The connection between the O8 output of SR5 and the SER input of SR6 has to be checked visually

Best Regards, Thorsten.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...