yes, you have to use two core modules for this setup, but it will work
I would use one single core, 4xDINX4, 4xDOUTX4 as “MIDIbox Link Forwarding Point” (at the begining of the MIDI chain) only for the encoders and LED rings, and a second core as “MIDIbox Link Endpoint” for the rest.
An AIN module is not required, since MIOS supports also unmuxed (non-multiplexed) access to the ADC. The appr. configuration has to be made in the initialization routine:
;; initialize the AIN driver
;; use 8 faders
movlw 8
call MIOS_AIN_NumberSet
;; don't use the AIN 4051 multiplexers
call MIOS_AIN_UnMuxed
I will provide a test application for 64 encoders and LED rings in the next days.
every encoder allocates 2 digital inputs, with 56 rotary encoders you could only add 16 additional buttons
Ok, alternatively you could plug some buttons to the analog pins, but this would require a AIN module (since more than 8 analog inputs are needed for this solution)