The TP40 has 88 keys. I have found that you can download the circuit from the Doepfer Website. Go to the Products, Spare Parts and you will see the 88 note keybed in the first section. Click on Matrix_88.gif
As I understand it the idea is that the signals T0 to T7 are “strobes” which sequentially transfer the switch status from the keys in pairs. There are 176 switches for the 88 keys. The 1st and 2nd switches are mechanically arranged so that the 1st contact closes first and the 2nd contact closes later. The time difference will indicate how strongly the key is pressed. The shorter the time the louder the note, hence velocity sensing!
If an 8 bit Dout is used to generate the “strobes” then you will need to store in a Din Module the following BR0, MK0 :BR10,MK10 ie 22 data bits (for each strobe). Alternatively you could strobe with T0 to T15 and use only 11 data bits (for 16 strobes).
After each strobe the 22 bits must be transmitted serially to the Core Module.
At this stage I would suggest that it would be a good idea to utilise either the 3rd Din unused bits 24 - 22 = 2 bits X 8 =16 switch states for other uses or even use the total Dout capability of 32 bits to provide an extra capability of 32-22 =10 X 8 = 80 switch states.
I would welcome any comments from more experienced forum members on whether there is any advantage in using an 8 or a 16 bit strobe, bearing in mind that the following processing by the core will involve bit manipulation.
Polarity of Diodes.
You will see that the anodes of the diodes are connected to T0 -T7. When T0 is active the first two diodes in each 16 switch group should enable note info from the 1st Key,9th key,17th key etc etc to be passed to the Din module.
The rest state of the Din shift register has a pull up resistor ie a “1”. Connecting the strobe to a “0” via a switch and diode to the shift register input will not change the input state. The diode(s) are reverse biased. The diodes (I think) need reversing. I am reluctant to do this on a new keybed. There are 176 diodes and I will need to take the keybed apart.
I think that the best way will be to arrange for pull-down resistors from the SR input to ground. This will allow the diode polarity to remain unchanged. The strobe will change to a “1”.
This may need track cutting but the resistors are in parallel. I must admit that I have not checked this out carefully on the PCB.
From various Forum references it would seem that Qbas has succeeded in producing a midi interface for the Fatar 88 keybed.
The other solution is to swap T0-T7 with the BRx/MKx, using the latter as a strobe. Perhaps that is how Qbas managed the solution.
If Qbas or others can help me I will appreciate it.
Regards Robin