I have just finished building another DIN with 128 inputs. I tested this using a connector to fire four inputs simultaneously. Then I noticed the following firing pins 85, 86, 87, 88.
MIOS_v1_7
MIDIO128_v2_1
00198322  9  –   90   24   40   1  C  2 Note On   Pin 85
00198323  9  –   90   25   40   1  C# 2 Note On   Pin 86
00198323  9  –   90   26   40   1  D  2 Note On   Pin 87
00198324  9  –   90   27   40   1  Eb 2 Note On   Pin 88
Â
0019847A Â 9 Â – Â Â 80 Â Â 24 Â Â 40 Â Â 1 Â C Â 2 Note Off Â
0019847A Â 9 Â – Â Â 80 Â Â 10 Â Â 5B Â Â 1 Â E Â 0 Note Off <----Pin 86 NOTE!! Â
0019847B Â 9 Â – Â Â 80 Â Â 26 Â Â 40 Â Â 1 Â D Â 2 Note Off Â
0019847C Â 9 Â – Â Â 80 Â Â 27 Â Â 40 Â Â 1 Â Eb 2 Note Off Â
First idea was that the ini file is wrong, but it isn’t, looks like this:
86 = Â 90 25 40 Â 80 25 40 Â @OnOff
Is there something wrong with the hardware I just built? Tested with another known working DIN which I have used for years. Same problem! On second thought the DIN module only informs whether a pin has changed, there is no MIDI information.
I have been using the old MIDO128 with 16F in my project. Took my old core and hooked up the new DIN module. It works. Similar ini file is used.
 86 =  90 25 40  80 25 40  Â
(Interestingly the 16F version puts out the MIDI information in a different sequence)
MIDIO128_V1004 (16F)
00249EC3  9  –   90   27   40   1  Eb 2 Note On  Pin 88
00249EC4  9  –   90   26   40   1  D  2 Note On  Pin 87
00249EC5  9  –   90   25   40   1  C# 2 Note On  Pin 86
00249EC6  9  –   90   24   40   1  C  2 Note On  Pin 85
00249FC7 Â 9 Â – Â Â 80 Â Â 27 Â Â 40 Â Â 1 Â Eb 2 Note Off Â
00249FC7 Â 9 Â – Â Â 80 Â Â 26 Â Â 40 Â Â 1 Â D Â 2 Note Off Â
00249FC8  9  –   80   25   40   1  C# 2 Note Off  Pin 86 No problem Â
00249FC9 Â 9 Â – Â Â 80 Â Â 24 Â Â 40 Â Â 1 Â C Â 2 Note Off Â
It seem the only pin 86 has a problem when using a core with 18F. Could there be a problem in the PIC itself.
Per S
Additional information, another ini file:
0036A4DB 9 – B4 24 7F 5 — Control Change Pin 85
0036A4DC 9 – B4 25 7F 5 — Control Change Pin 86
0036A4DD 9 – B4 26 7F 5 — CC: Data Entry LSB Pin 87
0036A4DE 9 – B4 27 7F 5 — Control Change Pin 88
0036A575 9 – B4 24 00 5 — Control Change
0036A576 9 – 80 10 5B 1 E 0 Note Off Pin 86 <---- Note!!!
0036A577 9 – B4 26 00 5 — CC: Data Entry LSB
0036A578 9 – B4 27 00 5 — Control Change
Core with 18F and MIOS
It seems that the “off” response is always “80 10 5B”. In this case the ini file looked
as follows for Pin 86:
86 = B4 25 7F B4 25 00 @OnOff